The situation is the following.
The server configuration is:
4x 2.0GHz/2M iL3,
2 ultra scsi 3 36GB Raid 1 (Drive C, D)
3 ultra scsi 3 72GB Raid 5 (Drive E)
1.5 GB Ram.
Windows 2000 Server, SQL 2000 Enterprise
The database size is 10GB and is located on Drive E.
The logfile is 5GB and is located on drive C.
The IndexFile is 5GB and is located on drive D.
Tempdb is 2GB and tempdblog =1GB
We have a table(fvalues) with 15 million records.
the structure of the table is:
Field1 Integer,Field2 Integer,Field3 Integer,Field4 Integer,Field5 Float
The 15 million records are divided into 3 periods (5 million records each). Field1 holds the period number.
Field2 is the primary key. (numbers from 1 to 15 million)
We have indexes on Field1(period) , Field2(primary key). Field1 is a clustered index. Cluster index is located on drive E.
Then we run a select statement in the query analyser:
select * from Fvalues where period=2
(It must retrieve 5 million records)
It takes around 1:20-1:50 to execute.
Do you have any sugestions why is so slow? Any sugestions to improve performance?
Thanks,
Spyros Christodoulou
The server configuration is:
4x 2.0GHz/2M iL3,
2 ultra scsi 3 36GB Raid 1 (Drive C, D)
3 ultra scsi 3 72GB Raid 5 (Drive E)
1.5 GB Ram.
Windows 2000 Server, SQL 2000 Enterprise
The database size is 10GB and is located on Drive E.
The logfile is 5GB and is located on drive C.
The IndexFile is 5GB and is located on drive D.
Tempdb is 2GB and tempdblog =1GB
We have a table(fvalues) with 15 million records.
the structure of the table is:
Field1 Integer,Field2 Integer,Field3 Integer,Field4 Integer,Field5 Float
The 15 million records are divided into 3 periods (5 million records each). Field1 holds the period number.
Field2 is the primary key. (numbers from 1 to 15 million)
We have indexes on Field1(period) , Field2(primary key). Field1 is a clustered index. Cluster index is located on drive E.
Then we run a select statement in the query analyser:
select * from Fvalues where period=2
(It must retrieve 5 million records)
It takes around 1:20-1:50 to execute.
Do you have any sugestions why is so slow? Any sugestions to improve performance?
Thanks,
Spyros Christodoulou