why should required for Indexed by table in pl/sql

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user in sql?

568


What is the benefit of foreign key?

522


How delete all records from table in sql?

548


What is sql exception?

513


what are string data types? : Sql dba

501






how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

539


Is it important to partition hard disk?

526


What is int identity in sql?

568


what are properties of a transaction? : Sql dba

552


What is execution plan in sql?

542


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1711


How do I save a sql query?

538


What is mdf ldf and ndf?

550


What does plv msg allows you to do?

664


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

659