|
|
| · | Unique index - Ensures that the values entered in the indexed column are unique
|
| · | Full or partial text index - For columns with NOTE or TEXT data types. R:BASE preserves each character in the indexed column (a full text index). Or, you can specify the number of characters to preserve, and R:BASE hashes (converts characters to a 4-byte integer) the remaining characters (a partial index).
|
| To keep the .RB3 file from becoming too large, use a partial index--specify enough characters to guarantee the values are unique. If the preserved values are not unique, R:BASE must unhash the values before it can identify the rows, which slows performance. If you do not specify the number of characters to preserve, R:BASE preserves all of them, unless there are more than 200 characters defined; then, R:BASE preserves the first 32 and hashes the rest.
|
| · | Multi-column index - A combination of up to 8 columns in one index. For example, if you consistently search three columns when working with a certain database, you can define a separate index for each column. Or, you can define one index for all three columns--R:BASE searches a multi-column index faster than three separate indexes.
|
|
|
| · | Columns that are neither primary nor foreign keys, but are frequently referred to in queries and sorts.
|
| · | Columns that have rules applied to them--in most cases, R:BASE can use indexing to check rules faster.
|
| · | Linking columns in views.
|
| · | Letters (A-Z)
|
| · | Numbers (0-9)
|
| · | # (pound sign)
|
| · | _ (underscore)
|
| · | $ (dollar sign)
|
| · | % (percent sign)
|
| CREATE INDEX Command
|
| DROP command
|
|
|