P
PeteCresswell
Two tables:
- tblSecurity
- tblPaymentAccrualDaily
11,000 and 3 million records respectively.
Joining them on SecurityID (PK of tblSecurity) returns 3 million
records in about 10 seconds.
Removing SecurityID as PK and removing SecurityID index in both tables
(and compacting/repairing just for good measure) does not seem to
affect the speed of said query: it's still about 10 seconds.
I find this tb counter-intuitive.
Or is my idea of "humongous" way short of what's really humongous?
- tblSecurity
- tblPaymentAccrualDaily
11,000 and 3 million records respectively.
Joining them on SecurityID (PK of tblSecurity) returns 3 million
records in about 10 seconds.
Removing SecurityID as PK and removing SecurityID index in both tables
(and compacting/repairing just for good measure) does not seem to
affect the speed of said query: it's still about 10 seconds.
I find this tb counter-intuitive.
Or is my idea of "humongous" way short of what's really humongous?