Asger Blond
ab-mi at post3.tele.dk
Mon Apr 14 07:49:34 CDT 2008
An audit log table with lots of inserts handled by triggers for insert/update/delete on other tables could be an example. This kind of table is not often read and maintaining an index on the log table would slow down operations on the triggering tables. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] På vegne af John Clark Sendt: 14. april 2008 13:56 Til: Access Developers discussion and problem solving Emne: [AccessD] OT...sort of...general db question Hi all...long time since I've asked for any help, but something came up today, which makes me curious... We have a program, which uses SQL as its db host. There are a bazillion tables...an estimate of course...in this thing, and all but one is indexed. The table that is not indexed is the 3rd most populated table, and it is several tens of thousands of records. My question is this: what would be a programmer's reason to omit an index, for a table? I understand that one cannot speak for this specific program, but I am just looking for a general answer. It has always been drilled into my head, "index, index, INDEX!" So, I'm wondering if there are times that I may NOT want to include an index. Thank you all for your time. John W Clark John W. Clark Computer Programmer Niagara County Central Data Processing -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com