Prev | Current Page 206 | Next

Rick Greenwald, Robert Stackowiak, Jonathan Stern

"Oracle Essentials: Oracle Database 11g"


The Oracle database server automatically modifies the values in the index when the
values in the corresponding columns are modified. Because the index contains less
data than the complete row in the table and because indexes are stored in a special
structure that makes them faster to read, it takes fewer I/O operations to retrieve the
data in them. Selecting rows based on an index value can be faster than selecting
rows based on values in the table rows. In addition, most indexes are stored in sorted
order (either ascending or descending, depending on the declaration made when you
created the index). Because of this storage scheme, selecting rows based on a range of
values or returning rows in sorted order is much faster when the range or sort order
is contained in the presorted indexes.
In addition to the data for an index, an index entry stores the ROWID for its associated
row. The ROWID is the fastest way to retrieve any row in a database, so the
subsequent retrieval of a database row is performed in the most optimal way.


Pages:
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
Dyskusja Nr1 teksty piosenek bukmacher regaƂy Ustawy Nr7