Home All Groups Group Topic Archive Search About

Upgraded to 2005, but its slow??

Author
18 Aug 2006 7:55 PM
mavrick_101
Hi,

For some reasons, our new SQL 2005 is running slower than our old MS Sql
server.

Is there a tool where I can analyze if there are some differences on indexes
on different tables across the two SQL servers?

Thnx

Author
18 Aug 2006 10:14 PM
Gail Erickson [MS]
One of the post-upgrade recommendations in Books Online is to update
statistics.  You might want to start with that and see if things improve.

From the topic How to: Upgrade to SQL Server 2005 (Setup)

a.. Update statistics - To help optimize query performance, we recommend
that you update statistics on all databases following upgrade. Use the
sp_updatestats stored procedure to update statistics in user-defined tables
in SQL Server 2005 databases.

--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx

Show quote
"mavrick_101" <mavrick***@discussions.microsoft.com> wrote in message
news:61EE5A97-B67F-44B7-978A-D3E7A43C7965@microsoft.com...
> Hi,
>
> For some reasons, our new SQL 2005 is running slower than our old MS Sql
> server.
>
> Is there a tool where I can analyze if there are some differences on
> indexes
> on different tables across the two SQL servers?
>
> Thnx
Author
21 Aug 2006 2:34 PM
Rob Roberts
"mavrick_101" <mavrick***@discussions.microsoft.com> wrote in message
news:61EE5A97-B67F-44B7-978A-D3E7A43C7965@microsoft.com...
> Hi,
>
> For some reasons, our new SQL 2005 is running slower than our old MS Sql
> server.

We just upgraded from SQL Server 2000 to 2005, and we've also found that
select performance is slower.  Insert performance seems to be slightly
faster (by around 5% or so), but queries that return medium-to-large result
sets are running anywhere from 50% to 100% slower.  Updating statistics and
rebuilding indexes made no difference.  We're very disappointed with the
performance of SQL Server 2005.

--Rob Roberts
Author
22 Aug 2006 10:57 AM
KL
I'm not sure if this makes a difference in performance but are your
databases set to compatibility mode 8.0 or 9.0 ? If you just restore them
from the old database they will be set to compatibility mode 8.0 (SQL 2000).

You might also want to run the profiler and see what it suggests, there are
some news in indexes for SQL Server 2005.

KL.


Show quote
"Rob Roberts" <robrRemoveT***@AndThisToo.pcisys.net> skrev i meddelandet
news:ui4Ab7SxGHA.1808@TK2MSFTNGP06.phx.gbl...
> "mavrick_101" <mavrick***@discussions.microsoft.com> wrote in message
> news:61EE5A97-B67F-44B7-978A-D3E7A43C7965@microsoft.com...
>> Hi,
>>
>> For some reasons, our new SQL 2005 is running slower than our old MS Sql
>> server.
>
> We just upgraded from SQL Server 2000 to 2005, and we've also found that
> select performance is slower.  Insert performance seems to be slightly
> faster (by around 5% or so), but queries that return medium-to-large
> result sets are running anywhere from 50% to 100% slower.  Updating
> statistics and rebuilding indexes made no difference.  We're very
> disappointed with the performance of SQL Server 2005.
>
> --Rob Roberts
>
>
Author
22 Aug 2006 2:49 PM
Rob Roberts
KL,

> I'm not sure if this makes a difference in performance but are your
> databases set to compatibility mode 8.0 or 9.0 ? If you just restore them
> from the old database they will be set to compatibility mode 8.0 (SQL
> 2000).

I changed the compatibility mode from 8.0 to 9.0 immediately after upgrading
from SQL Server 2000 to 2005.  I updated the statistics and rebuilt the
indexes after changing the compatibility mode to 9.0.

--Rob Roberts
Author
22 Aug 2006 3:45 PM
mavrick_101
Hi,

Thanks for your response.

I am not very familiar with profiler. Do you suggest to keep it running for
all possible queries and it would prompt some recommendations, if any as
required?

Thnx.

Show quote
"KL" wrote:

>
> I'm not sure if this makes a difference in performance but are your
> databases set to compatibility mode 8.0 or 9.0 ? If you just restore them
> from the old database they will be set to compatibility mode 8.0 (SQL 2000).
>
> You might also want to run the profiler and see what it suggests, there are
> some news in indexes for SQL Server 2005.
>
> KL.
>
>
> "Rob Roberts" <robrRemoveT***@AndThisToo.pcisys.net> skrev i meddelandet
> news:ui4Ab7SxGHA.1808@TK2MSFTNGP06.phx.gbl...
> > "mavrick_101" <mavrick***@discussions.microsoft.com> wrote in message
> > news:61EE5A97-B67F-44B7-978A-D3E7A43C7965@microsoft.com...
> >> Hi,
> >>
> >> For some reasons, our new SQL 2005 is running slower than our old MS Sql
> >> server.
> >
> > We just upgraded from SQL Server 2000 to 2005, and we've also found that
> > select performance is slower.  Insert performance seems to be slightly
> > faster (by around 5% or so), but queries that return medium-to-large
> > result sets are running anywhere from 50% to 100% slower.  Updating
> > statistics and rebuilding indexes made no difference.  We're very
> > disappointed with the performance of SQL Server 2005.
> >
> > --Rob Roberts
> >
> >
>
>
>
Author
24 Aug 2006 1:13 AM
Audrey Ng
Hi everyone,

I'm running a simple select statement on one table that contains less
than 1M records and it's running and running and running very slooowwly.
I have change the compatibility mode and I ran Update Statistics on the
table and it is still the same. Any other ideas that I can try?

Audrey



*** Sent via Developersdex http://www.developersdex.com ***

AddThis Social Bookmark Button