why should required for Indexed by table in pl/sql
Answers were Sorted based on User's Feedback
Answer / sa123
For good performance Index is required.
Consider the case of a very large table (20,000,000 rows)
to which new records are added daily (usually about 1,000
of them). Every night, you need to report these additions
on an audit trail. Rather than scan the whole table looking
for changes, you will want to use an index over the
TRANSACTION_DATE column. But the index would need to be
huge. This is a case in which your index is over the entire
table, although you are actually interested only in the
1,000 or so records that were added today. The actual index
is physically many times larger than it needs to be, and it
uses many more disk I/Os to traverse the binary tree to the
leaf data.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / samar singh
Index by tables are composed of two components
1)primary key of binary_interger
2)column of scalar or record type
and used for increasing the size dynamically.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we store rows in PL/SQL using array?
What is difference between primary and secondary key?
What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?
How to find 3rd highest salary of an employee from the employee table in sql?
How can we implement rollback or commit statement in a trigger?
Explain the difference between rename and alias?
How can we find duplicate records in a table?
Write a query to get last 10 records from the table.
What's the procedure?
What is procedure function?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
How to combine two stored procedures in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)