Hi,
I have imported a text file into SQL Server 2000 Enterprise that contains 5,000,000 records. During the import I create a new table. The table contains 3 fields
Fieldname Datatype Length
Docid integer 10
SeqNo integer 3
Fname varchar 125
I have created a clustered index that contains all 3 fields. All 3 fields are set as unique. When I try to perform a query on any of the fields using an exact value I get an ODBC timeout error in Enterprise Manger. If I link the tables through Microsoft Access I can perform the query but it is terribly slow. I have run query analyzer, but it does not recommend any changes to be made. I have also looked in the online help and can't seem to find any other methods for optimizing. Is this too many records for SQL Server 2000 to handle? Can anyone help. Thanks
I have imported a text file into SQL Server 2000 Enterprise that contains 5,000,000 records. During the import I create a new table. The table contains 3 fields
Fieldname Datatype Length
Docid integer 10
SeqNo integer 3
Fname varchar 125
I have created a clustered index that contains all 3 fields. All 3 fields are set as unique. When I try to perform a query on any of the fields using an exact value I get an ODBC timeout error in Enterprise Manger. If I link the tables through Microsoft Access I can perform the query but it is terribly slow. I have run query analyzer, but it does not recommend any changes to be made. I have also looked in the online help and can't seem to find any other methods for optimizing. Is this too many records for SQL Server 2000 to handle? Can anyone help. Thanks