Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing Instance Name ( No DB_NAME) Oracle
  • 10g oem configuration Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Resolving RMAN Hung Jobs Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • find_longsql.sql Oracle
  • v$backup.status information Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Facts about SCN and Rollback Segment Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Single character replacement in Unix 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 Material from OTN Oracle
  • JSON/XML Types in Oracle Oracle
  • My Minimum Tuning Programs Oracle
  • Rename Oracle Instance Name Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • import-export with multiple files Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • lck.sql Oracle
  • Index Range Scan Oracle
  • This is from Temi Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Oracle Identifiers Oracle
  • TNSNAMES entries details Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Changing the Global Database Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme