Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • First Entry in RAC Oracle
  • how to find OS block size Oracle
  • switchover for primary database Oracle
  • Database logon trigger issue Oracle
  • Find total file sizes Linux/Unix
  • Check SQL Server edition SQL Server
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • Jai Shree Ram Oracle
  • Linux CPU info. Linux/Unix
  • Free conference number from http://www.freeconference.com Oracle
  • scripts to take listener.log backup Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • newupload.html PHP/MYSQL/Wordpress

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

  • Good notes on Oracle Events Oracle
  • Goldengate document from Porus Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Find nth max and min. Oracle
  • PLSQL Table Syntax 1 Oracle
  • Optimizer_Index init.ora parameter explaination. 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ipcs -l Linux/Unix
  • To check whether standby is recovering properly or not?? Oracle
  • plan10g.sql Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • .profile Linux/Unix
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Find All internal Parameters Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme