The access method can store the function descriptor in user-data memory for use in multiple executions of the same UDR. For example, the access method stores the function descriptor so that it can repeat a WHERE-clause function on each index entry.
If the access method uses FastPath to execute support functions, the am_open purpose function can store the function descriptor in PER_STATEMENT memory. For example, a CREATE INDEX statement causes the database server to call the am_insert purpose function iteratively. To execute the support function or functions that build an index, each iteration of am_insert can retrieve the support-function descriptor from the table descriptor.
For information about user data, refer to Storing Data in Shared Memory.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]