dbTalk Databases Forums  

SQL2005 queries are slower than 2000

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss SQL2005 queries are slower than 2000 in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DPM
 
Posts: n/a

Default SQL2005 queries are slower than 2000 - 04-30-2008 , 08:53 AM






Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')




Reply With Quote
  #2  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM






You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #3  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #4  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #5  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #6  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #7  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #8  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #9  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
  #10  
Old   
Tom Moreau
 
Posts: n/a

Default Re: SQL2005 queries are slower than 2000 - 04-30-2008 , 09:22 AM



You may have an issue with the disk. Have you tried doing a disk defrag?

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"DPM" <aa (AT) bb (DOT) cc> wrote

Hi,

Using a P4 computer, 2.8GHz, 958 RAM the performance are as follows,
Please could someone advise what can be done to improve the performance in
SQL2005.

SELECT Int_Key FROM fDocHst
Records 20422
SQL2000 - Uses an Index scan, reads 30, avg. dur 14
SQL2005 - Uses an Index scan, reads 30, avg. dur 78

SELECT Int_Key, DocumentNo, Sts, Rev, Title, Int_Change, CheckedOut,
Category, Int_Apprvd, AvlDwgFmts, Int_Adr, Type
FROM fDocHst
SQL2000 - Uses a Clustered Index scan, reads 2345, avg. dur 447
SQL2005 - Uses a Clustered Index scan, reads 2345, avg. dur 901


Tried the following but there wasn't a improvement in SQL2005

- Updated the Statistics by UPDATE STATISTICS fDocHst WITH FULLSCAN for all
the tables in the DB
- ReIndexed the table from using Maintanance plan wizard.
- Also tried DBCC DBReIndex('fDocHst')
- DBCC IndexDefrag('Tb159Demo', 'fDocHst', 'fDocHst_Int_Key')





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.