Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • proper cpu stats Linux/Unix
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • scripts to take listener.log backup Linux/Unix
  • Oracle Internal Good Websites 1 Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • Very clear article about oracle dataguard Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Sequence Resetting Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • Find All internal Parameters Oracle
  • Good notes for shared pool 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
  • Optimizer SORT Operations Oracle
  • USER_TABLES.Freelists Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Removing Blank lines from file using grep Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Jai Shree Ram Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • PLSQL Table Syntax 2 Oracle
  • Convert multiple rows to single column Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme