Bart McFarling wrote: > I have a table that will recieve about 2000 inserts per day, > Although it will technically never be dead data, about 99.999% of > it will be uninteresing after 30-40 days, My problem is that I > dont know if I should create a new table that is a history table > or add a indexed field and ignore the data in queries unless > someone asks for it. The latter is my prefered way of dealing with > it, Is there something Im missing? Is there another way to do > this? Any Suggestions are appreciated.
I guess if 99% of your queries would only ever use the "interesting" data, you should go for the "history" version, which would speed your those queries a lot. As you have distinct id's on both tables (having fetched from the same sequence initially), u can always do a union select on both tables in the rare cases this is needed. HTH, just my 2c Erwin Brandstetter ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly