About 10,800,000 results
Open links in new tab
  1. How to choose and optimize oracle indexes? - Stack Overflow

    Mar 26, 2016 · From the 10g Oracle Database Application Developers Guide - Fundamentals, Chapter 5: In general, you should create an index on a column in any of the following situations: The column …

  2. Oracle use a hint index to a view and force it to base table

    Feb 12, 2020 · How to use a hint on a query against a view to force Oracle to use an index on the base table? E.g View select emp_id from v_employees base table select emp_id /*+ INDEX(employees …

  3. How To Rebuild Index of a specific table in Oracle?

    Jun 24, 2021 · 2 If index (or its partition) is in unusable state and rebuild doesn't help, I'd suggest you to drop the index, insert data (will be faster as Oracle won't have to maintain the index during insert) …

  4. how to find all indexes and their columns for tables, views and ...

    Apr 19, 2017 · I jotted down the following query which will list the index name and its columns for a particular table: select b.uniqueness, a.index_name, a.table_name, a.column_name from …

  5. sql - INDEX Enable Disable in ORACLE table - Stack Overflow

    Apr 3, 2024 · If it's a UK/PK created using an existing index, Oracle won't allow the load at all with the index in an unusable state. You'd have to manually drop the index and recreate it. All things …

  6. Use an index in a SELECT statement in Oracle - Stack Overflow

    Mar 22, 2021 · I created an index called Z7 and I want to use it in a SELECT statement like this: SELECT * FROM Employees WITH (INDEX(Z7)) WHERE First_Name NOT LIKE ('J%'); But it shows …

  7. Oracle - How to obtain information on index fields etc

    May 17, 2018 · How can I list indexes columns readily defined in Oracle? And how do I use those indexes in a select statement? Something like: SELECT x, y, z FROM a WITH INDEX(x)...

  8. indexing - oracle drop index if exists - Stack Overflow

    Jun 2, 2014 · In Oracle, you can't mix both DDL and DML. In order to do so, you need to work it around with the EXECUTE IMMEDIATE statement. So, first check for the existence of the index. Second, …

  9. Rebuilding all normal indexes for a specific Oracle table

    We have a migration script that converts a LONG column to a LOB, and as mentioned in the Oracle migration guide, the index for the table now needs rebuilding. Assuming the table name is …

  10. sql - Force index use in Oracle - Stack Overflow

    Dec 3, 2009 · There is an appropriate index on column_having_index, and its use actually increase performance, but Oracle didn't use it... You should gather statistics on your table to let optimizer see …