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: SI Bob who wrote (3)12/12/2004 8:18:36 PM
From: InternetPlay  Read Replies (2) of 81
 
Bob,

make sure the index is built on subjectid first, and then the message field, I bet you'll see a big performance gain when you run the query in your earlier post, provided that the number of records for the given subjectid is relatively small. :)

By the way, while you are re-populating the new table(after you change subjectid from number to text, you might want to physically load the data together based on the subjectid (if subjectid is likely to be included in the where clause), then you will see some more improvement in performance gain while running query with "subjectid = ..." or "subjectid between (in)..." in your where clause.

Good luck, Sir.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext