Choosing Storage Structures and Secondary Indexes

This chapter describes storage structures, secondary indexes, and keys. It will help you decide on the best structure and corresponding options to suit your needs.

Previous Topic

Next Topic

Storage Structure Terminology

A storage structure is a file arrangement providing a way to access data in a database table.

Keyed storage structures provide fast access to a particular row or set of rows in a database table.

A key is the field or fields that the table is indexed on. Specifying this key gives you quick access to the rows you are looking for.

The index contains the contents of the key fields.

A secondary index allows you to specify an additional key.

Previous Topic

Next Topic

Storage Structure and Performance

Ingres provides multiple types of storage structures. Each storage structure provides optimal performance for particular types of queries and applications. Choosing the best storage structure is essential to maintaining good performance.

When you create or modify a table, you can choose the appropriate storage structure and specify options to fine-tune the structure.

Previous Topic

Next Topic

Types of Storage Structures

The types of storage structures are summarized here:

For more information on the compressed structure for each of the above types, see the chapter "Maintaining Storage Structures."

Another storage structure, R-tree, can be used only on secondary indexes, as described in R-tree Secondary Index.


© 2007 Ingres Corporation. All rights reserved.