I have a 3rd party package that we have been using for about a year. I have one table that has 70,000 records. This table has 28 fields of various types.
Select * from this_table takes about 4 minutes. selecting only 1 field takes less than 10 seconds. We have done various combinations of fields, some will complete in 10-30 seconds, and others 4 minutes. I have not found the pattern. You can find one field that's slow, combine it some others and it's fast. Take something away and it's slow again. I'm confused. The 3rd party people are blaming it on SQL. The SQL server is not stressing at all. I tend to think it's something with their design or the data contained in the table.
One 'weird' thing, if it matters, they have several text fields that appear (in the program) as unlimited length. We have some that contain several paragraghs of information. However, the table design shows the field with a size of 16.
Any ideas as to why SQL would run a select * query slow?
SQL 2000 SP3a
Windows 2000 SP4
Dual processor
2 gig RAM
Thanks in advance,
Debi
Select * from this_table takes about 4 minutes. selecting only 1 field takes less than 10 seconds. We have done various combinations of fields, some will complete in 10-30 seconds, and others 4 minutes. I have not found the pattern. You can find one field that's slow, combine it some others and it's fast. Take something away and it's slow again. I'm confused. The 3rd party people are blaming it on SQL. The SQL server is not stressing at all. I tend to think it's something with their design or the data contained in the table.
One 'weird' thing, if it matters, they have several text fields that appear (in the program) as unlimited length. We have some that contain several paragraghs of information. However, the table design shows the field with a size of 16.
Any ideas as to why SQL would run a select * query slow?
SQL 2000 SP3a
Windows 2000 SP4
Dual processor
2 gig RAM
Thanks in advance,
Debi