Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Add new columns in dataframe Python/PySpark
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • refre.sql Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Another Tuning Article for subheap of shared pool Oracle
  • cif crons Linux/Unix
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • purge_trc.sh Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • standard Monitoring – 1 Oracle
  • Oracle Release Explaination Oracle
  • This is from Temi Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • configUOCIOTTO.ora 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

  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • SYSOPER Mystery Oracle
  • Formatter Explain plan Output 1 Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • plan10g.sql good1 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • eplan9i.sql Oracle
  • Reading parameter file and printing Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • Jai Shree Ram Oracle
  • Caching sequence in Memory Oracle
  • SQL Server: How to see current transactions or requests SQL Server

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme