sql - indexing queries in oracle -


i wrote query find number of purchases there @ least 1000 other purchases, if servicetype, gst , paymenttype same.

i thinking of adding index make query faster, thought bitmap index way go , create on servicetype, paymenttype , gst columns.

what best index speed query above?

thanks,

jim

b-tree indexes (default)

bitmap indexes : used when number of distinct values less used on tables less updated or not updated @ all.

reverse key indexes : used in rac prevent hotspots.

partitioned indexes (local / global). (local partitioned indexes use same partitioning scheme table using , global partitioned indexes can have different indexing scheme parent tables)

cluster indexes : created on clustered tables.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -