Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • RAC with RHEL4 and 11g Oracle
  • v$backup.status information Oracle
  • Important Solaris Commands Linux/Unix
  • Oracle Standby Database Library Index from Metalink Oracle
  • Library cahe Latches and internal explaination Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • shutdown linux Linux/Unix
  • Find_planinfo.sql Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • setting prompt display with .profile Linux/Unix
  • Find nth max and min. Oracle
  • Goldengate Tutorial Oracle
  • To see only files and/or folders using LS command Linux/Unix

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

  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Set Role explaination. Oracle
  • switchover for primary database Oracle
  • Create type and Grant on it. Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Set Role explaination. Oracle
  • DBMS_JOB all example Oracle
  • Physical Standby switchover with session active Oracle
  • get_vmstat_linux Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Removing Blank lines from file using grep Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme