How to Find Indexes on a Table in Oracle

I will explain How to Find Indexes on a Table in Oracle in this post.

 

How to Find Indexes on a Table in Oracle

Indexes are very important for table and Oracle databases. If you want to learn more details about Indexes and Type of Indexes, read the following post.

 

Index Types and Index Create in Oracle Database

 

 

 

 

 

Mostly we need to find out the index of any table, you can list the indexes of any table as follows.

select * from dba_indexes where table_name='TABLE_NAME' and table_owner='TABLE_OWNER';



select    table_name, index_name, column_name from all_ind_columns
where    table_name=upper('TABLE_NAME');

 

 

 

 

If you don’t find the related index of table, then check and make sure the table name is in uppercase.

 

You can find out the column_name and column_position of related index as follows.

 

select table_name, index_name,column_name,column_position from
dba_ind_columns
where table_name='TABLE_NAME' and table_owner='TABLE_OWNER';

 

 

You can use the following Oracle views which gives you details about Indexes.

select * from all_ind_columns;
select * from dba_ind_columns;
select * from user_ind_column;
select * from dba_ind_partitions;
select * from dba_ind_subpartitions;


 

 

 

 

Read the following post if you want to learn what is the Index and Why Index ?

What is Index and Why Should We Use Index?

 

 

 

Do you want to learn Oracle Database Performance Tuning detailed, then Click this link.

Performance Tuning and SQL Tuning Tutorial in the Oracle Database

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

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