Re: Large database
select count(event_id) as c, field, field2,f ield3 from xyz group by count limit 10;
Index on count might help, or maybe it won't.
select count(event_id) as c, field, field2,f ield3 from xyz where field='value' group by count limit 10;
If you have a where like this, then index on (field,count) will be very helpful.
Subject
Views
Written By
Posted
3417
January 12, 2007 07:45AM
2163
February 09, 2007 01:42AM
2011
February 14, 2007 06:55AM
Re: Large database
2178
February 14, 2007 06:47PM
2071
February 15, 2007 05:35AM
2199
February 15, 2007 05:13PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.