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
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".