Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

production server slower than development server Expand / Collapse
Posted Tuesday, February 24, 2009 11:54 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, August 12, 2014 7:30 AM
Points: 37, Visits: 119

I have a select query from a table which has a column with huge data. The select query takes 14 secs in the development server but the same query takes 70 secs in the production server.

To simulate the issue, I created the following script and tested in both the environments

create table Testperf
(col1 varchar(5000) )

declare @i int
select @i = 1
while @i <= 1000
insert into Testperf
select replicate('Bravo',600)
set @i = @i + 1

select * from Testperf

Normally any company will have production server highly configured than the development server. So in that case how this could happen?
"Production server slower than development server".
Post #664034
Posted Wednesday, February 25, 2009 12:17 AM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
Duplicate post. No replies to this thread please. Direct replies to:

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #664042
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse