Click here to Skip to main content
16,004,653 members
Home / Discussions / Database
   

Database

 
GeneralRe: Perfomance on the Following Query Pin
Ashfield4-Jun-09 1:31
Ashfield4-Jun-09 1:31 
GeneralRe: Perfomance on the Following Query Pin
smcnulty20004-Jun-09 1:58
smcnulty20004-Jun-09 1:58 
AnswerRe: Perfomance on the Following Query Pin
smcnulty20003-Jun-09 22:36
smcnulty20003-Jun-09 22:36 
GeneralRe: Perfomance on the Following Query Pin
Vimalsoft(Pty) Ltd4-Jun-09 0:00
professionalVimalsoft(Pty) Ltd4-Jun-09 0:00 
GeneralRe: Perfomance on the Following Query Pin
Ashfield4-Jun-09 1:24
Ashfield4-Jun-09 1:24 
GeneralRe: Perfomance on the Following Query Pin
smcnulty20004-Jun-09 1:37
smcnulty20004-Jun-09 1:37 
QuestionFind feature in report viewer not working in Reporting services Pin
catmom3-Jun-09 10:51
catmom3-Jun-09 10:51 
QuestionRestore Database Parallel in sqlserver 2005 Pin
s_rajakrishna3-Jun-09 2:45
s_rajakrishna3-Jun-09 2:45 
hi everyone,

iam just doing a sample task , of restoring 4 databases Parallely as well as sequentially, through C# code. (all together size of DB's are 2GB)

sequentially restoring database one by one.
Sequetial Total Time: 1 minute 20 Seconds (approx)
1st DB: 5 second
2nd DB: 30 Second
3rd DB: 25 Second
4th DB: 20 Second ( Total 1 munute 20 Second)

Parallel restoring database all atonce. The UI of sqlserver shows Restoring for all the databases simultaneously using C# threading code.

Parallel Total Time: 1 minute 45 Seconds (approx)
1st DB: 50 th second
2nd DB: 1 minute 20 th second
3rd DB: 1 minute 45th second
4th DB: 1 minute 45th second



the total parallel time should have been 30second because that was the max time taken by large database (2nd DB - 620MB approx), but it is not so in above case.

after several iteration the total Parallel time always takes more time than total Sequential time.

the same C# code other than restoring databases in SQL SERVER like (Copying files in code, Deploying IIS through code or any other processes) saves more than half of the time.

When it comes to sql server it takes more time(the same threading code). i need to give more specific reason to my team.

i could understand answer like stress will more on sqlserver ( server resources used more) which is not good.

can Someone tell me like specific reason does sqlserver can have only one active connection at a time ( Is this true or anything like this).

IS parallel restoring possible in Sqlserver, to put it simple.

looking for an urgent reply.

Thanks
Raja
Questionsql view Pin
jainiraj2-Jun-09 21:34
jainiraj2-Jun-09 21:34 
AnswerRe: sql view Pin
smcnulty20003-Jun-09 15:34
smcnulty20003-Jun-09 15:34 
AnswerRe: sql view Pin
_Damian S_3-Jun-09 16:04
professional_Damian S_3-Jun-09 16:04 
AnswerRe: sql view Pin
A k ch4-Jun-09 22:09
A k ch4-Jun-09 22:09 
Questioncreate proc from assembly Pin
Abdul Rahman Hamidy2-Jun-09 21:22
Abdul Rahman Hamidy2-Jun-09 21:22 
AnswerRe: create proc from assembly Pin
Abdul Rahman Hamidy2-Jun-09 22:01
Abdul Rahman Hamidy2-Jun-09 22:01 
GeneralRe: create proc from assembly Pin
Abdul Rahman Hamidy2-Jun-09 22:10
Abdul Rahman Hamidy2-Jun-09 22:10 
QuestionFind working hours between two dates Pin
Rajesh VR2-Jun-09 20:31
Rajesh VR2-Jun-09 20:31 
AnswerRe: Find working hours between two dates Pin
Blue_Boy2-Jun-09 20:54
Blue_Boy2-Jun-09 20:54 
AnswerSQL function GetBusinessDays Pin
David Mujica3-Jun-09 2:58
David Mujica3-Jun-09 2:58 
QuestionProblem with Bulk insert and insert trigger Pin
www.Developerof.NET2-Jun-09 18:45
www.Developerof.NET2-Jun-09 18:45 
QuestionAll Sql Command Pin
Satish Pai2-Jun-09 18:19
Satish Pai2-Jun-09 18:19 
AnswerRe: All Sql Command Pin
Ashfield2-Jun-09 21:01
Ashfield2-Jun-09 21:01 
AnswerRe: All Sql Command Pin
RussellT5-Jun-09 10:36
professionalRussellT5-Jun-09 10:36 
AnswerRe: All Sql Command Pin
Niladri_Biswas25-Jun-09 5:54
Niladri_Biswas25-Jun-09 5:54 
QuestionSQL Injection Pin
AlexeiXX32-Jun-09 16:23
AlexeiXX32-Jun-09 16:23 
AnswerRe: SQL Injection Pin
_Damian S_2-Jun-09 18:08
professional_Damian S_2-Jun-09 18:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.