Sets the maximum default index hash size in bytes. UltraLite only uses as many bytes as required for the data type(s) of the column(s), up to this maximum.
UltraLite employs different methods for setting this property:
Context | Implemented by |
---|---|
From the command line Use any utility that creates a database. |
Use the following property syntax: -o max_hash_size=value |
From Sybase Central Use any wizard that creates a database. |
On the New Database Storage Settings page, select the Maximum Hash Size for Indexes option . |
From a client application Use the create database method. |
Set this property as one of the creation parameters for an API's create database method on the database manager class. |
0 to 32 bytes
4 bytes
The default hash size is only used if you do not set a size when you create the index.
If you set the default hash size to 0, the does not hash row values.
You cannot change the hash size for an index after the index has been created. You can, however, override the default when you create a new index with the UltraLite Create Index wizard in Sybase Central, or with the WITH MAX SIZE clause in a CREATE INDEX or a CREATE TABLE statement.
If you declare your columns as DOUBLE, FLOAT, or REAL data types, no hashing is used. The hash size is always ignored.