Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • To see how much time or progress of long transaction Oracle
  • Space padding in korn shell Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • currwait.sql Oracle
  • Formatter Explain plan Output 1 Oracle
  • SQL_PROFILE – I explaination Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • logminer and my_lbu Oracle
  • Nice notes on wait events Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • When to rebuld B-tree index Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • sess_server.sql Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle

Composite Index creation tip from Vivek

Posted on 06-Feb-2007 By Admin No Comments on Composite Index creation tip from Vivek

When you create a composite B-tree index, you should consider the following.

The most restrctive condition: The condition that returns the least number of rows. The column that is involved in this condition, should be the leading column of B-tree index.

So for finding the candidate of composite index columns, column order should be..

( Column involved in the most restrictive condition, …….. , column involved in the least restrictive condition).

Also, consider the data distribution while checking restrictive columns. Above analysis will work better for uniformly distributed column values.

Oracle, SQL scripts

Post navigation

Previous Post: Histogram information
Next Post: Another export with Query

Related Posts

  • tblwopk.sql tablewopk.sql Oracle
  • refre.sql Oracle
  • currwait.sql Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • FGA Part-I Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Locktree.sql Oracle
  • The most important Tuning Notes Oracle
  • Error Handling in Proc Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • CPU speed on solaris Linux/Unix
  • get_vmstat_solaris Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme