SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Silicon Investor, under the hood

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: mas_ who wrote (9)12/12/2004 9:29:09 PM
From: SI Bob  Read Replies (2) of 81
 
Actually, date_created is one of those fields that would only be helpful to index if I were trying to build a covered query. Messageid runs in the same order as date_created. I might have it as part of an index somewhere, though. I love covered queries. If I only need a few fields, I make sure I've got an index covering all of them so everthing I need can be retrieved right from the index, rather than having to go to the table itself for anything. Like I said before, I don't sweat over-indexing because inserts are rare and insert speed isn't a big deal.

The primary key is messageid, and there are separate indexes for author, subject, and even recipient, since recipient is a selectable field in Advanced Search.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext