Thursday September 9, 2004

Slow SQL Queries

Software

If your database table has 11 million records, adding a proper index will speed it up significantly, especially when you edit the query so that it can actually use the index. Accomplished performance gain at work: query times dropped from 30s to less than 0.1s, so that'd be a 30,000% gain. Wiee. Monitoring the database should include less uh-oh thoughts tomorrow morning.


© Copyright 1995-2007 Robert John Kaper. All rights reserved.

Powered by the delicious Kiki CMS! (#8/9)