File xasl_cache.h¶
FileList > cubrid > src > query > xasl_cache.h
Go to the source code of this file
#include "xasl.h"
Classes¶
| Type | Name |
|---|---|
| struct | execution_info |
| struct | xasl_cache_ent |
| struct | xasl_clone |
| struct | xcache_related_object |
Public Types¶
| Type | Name |
|---|---|
| typedef struct execution_info | EXECUTION_INFO |
| typedef struct xasl_cache_ent | XASL_CACHE_ENTRY |
| typedef enum xasl_cache_search_mode | XASL_CACHE_SEARCH_MODE |
| typedef struct xasl_clone | XASL_CLONE |
| typedef enum xcache_cleanup_reason | XCACHE_CLEANUP_REASON |
| typedef struct xcache_related_object | XCACHE_RELATED_OBJECT |
| enum | xasl_cache_rt_check_result |
| enum | xasl_cache_search_mode |
| enum | xcache_cleanup_reason |
Public Functions¶
Macros¶
| Type | Name |
|---|---|
| define | EXEINFO_AS_ARGS (einfo) [**EXEINFO\_USER\_TEXT\_STRING**](xasl__cache_8h.md#define-exeinfo_user_text_string)([**einfo**](broker__monitor_8c.md#function-timeout)), [**EXEINFO\_PLAN\_TEXT\_STRING**](xasl__cache_8h.md#define-exeinfo_plan_text_string)([**einfo**](broker__monitor_8c.md#function-timeout)), [**EXEINFO\_HASH\_TEXT\_STRING**](xasl__cache_8h.md#define-exeinfo_hash_text_string)([**einfo**](broker__monitor_8c.md#function-timeout)) |
| define | EXEINFO_HASH_TEXT_STRING (einfo) (([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_hash\_text ? ([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_hash\_text : "UNKNOWN [**HASH**](broker__monitor_8c.md#function-timeout) [**TEXT"**](broker__monitor_8c.md#function-timeout)) |
| define | EXEINFO_PLAN_TEXT_STRING (einfo) (([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_plan\_text ? ([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_plan\_text : "UNKNOWN [**PLAN**](broker__monitor_8c.md#function-timeout) [**TEXT"**](broker__monitor_8c.md#function-timeout)) |
| define | EXEINFO_USER_TEXT_STRING (einfo) (([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_user\_text ? ([**einfo**](broker__monitor_8c.md#function-timeout))->sql\_user\_text : "UNKNOWN [**USER**](broker__monitor_8c.md#function-timeout) [**TEXT"**](broker__monitor_8c.md#function-timeout)) |
| define | XASL_CLONE_AS_ARGS (clone) ([**clone**](broker__monitor_8c.md#function-timeout))->xasl, ([**clone**](broker__monitor_8c.md#function-timeout))->xasl\_buf |
| define | XASL_CLONE_INITIALIZER { [**NULL**](freelistheap_8h.md#define-null), [**NULL**](freelistheap_8h.md#define-null) } |
Public Types Documentation¶
typedef EXECUTION_INFO¶
typedef XASL_CACHE_ENTRY¶
typedef XASL_CACHE_SEARCH_MODE¶
typedef XASL_CLONE¶
typedef XCACHE_CLEANUP_REASON¶
typedef XCACHE_RELATED_OBJECT¶
enum xasl_cache_rt_check_result¶
enum xasl_cache_rt_check_result {
XASL_CACHE_RECOMPILE_NOT_NEEDED = 0,
XASL_CACHE_RECOMPILE_EXECUTE = 1,
XASL_CACHE_RECOMPILE_PREPARE = 2
};
enum xasl_cache_search_mode¶
enum xasl_cache_search_mode {
XASL_CACHE_SEARCH_FOR_EXECUTE = 0,
XASL_CACHE_SEARCH_FOR_PREPARE = 1,
XASL_CACHE_SEARCH_GENERIC = XASL_CACHE_SEARCH_FOR_EXECUTE
};
enum xcache_cleanup_reason¶
enum xcache_cleanup_reason {
XCACHE_CLEANUP_NONE,
XCACHE_CLEANUP_FULL,
XCACHE_CLEANUP_FULL_MEMORY,
XCACHE_CLEANUP_TIMEOUT
};
Public Functions Documentation¶
function xcache_can_entry_cache_list¶
function xcache_drop_all¶
function xcache_dump¶
function xcache_finalize¶
function xcache_find_sha1¶
int xcache_find_sha1 (
THREAD_ENTRY * thread_p,
const SHA1Hash * sha1,
const XASL_CACHE_SEARCH_MODE search_mode,
XASL_CACHE_ENTRY ** xcache_entry,
xasl_cache_rt_check_result * rt_check
)
function xcache_find_xasl_id_for_execute¶
int xcache_find_xasl_id_for_execute (
THREAD_ENTRY * thread_p,
const XASL_ID * xid,
XASL_CACHE_ENTRY ** xcache_entry,
XASL_CLONE * xclone
)
function xcache_get_entry_count¶
function xcache_initialize¶
function xcache_insert¶
int xcache_insert (
THREAD_ENTRY * thread_p,
const compile_context * context,
XASL_STREAM * stream,
int n_oid,
const OID * class_oids,
const int * class_locks,
const int * tcards,
XASL_CACHE_ENTRY ** xcache_entry
)
function xcache_invalidate_qcaches¶
function xcache_remove_by_oid¶
function xcache_remove_by_sha1¶
function xcache_retire_clone¶
void xcache_retire_clone (
THREAD_ENTRY * thread_p,
XASL_CACHE_ENTRY * xcache_entry,
XASL_CLONE * xclone
)
function xcache_unfix¶
function xcache_uses_clones¶
Macro Definition Documentation¶
define EXEINFO_AS_ARGS¶
#define EXEINFO_AS_ARGS (
einfo
) `EXEINFO_USER_TEXT_STRING ( einfo ), EXEINFO_PLAN_TEXT_STRING ( einfo ), EXEINFO_HASH_TEXT_STRING ( einfo )`
define EXEINFO_HASH_TEXT_STRING¶
#define EXEINFO_HASH_TEXT_STRING (
einfo
) `(( einfo )->sql_hash_text ? ( einfo )->sql_hash_text : "UNKNOWN HASH TEXT" )`
define EXEINFO_PLAN_TEXT_STRING¶
#define EXEINFO_PLAN_TEXT_STRING (
einfo
) `(( einfo )->sql_plan_text ? ( einfo )->sql_plan_text : "UNKNOWN PLAN TEXT" )`
define EXEINFO_USER_TEXT_STRING¶
#define EXEINFO_USER_TEXT_STRING (
einfo
) `(( einfo )->sql_user_text ? ( einfo )->sql_user_text : "UNKNOWN USER TEXT" )`
define XASL_CLONE_AS_ARGS¶
define XASL_CLONE_INITIALIZER¶
The documentation for this class was generated from the following file cubrid/src/query/xasl_cache.h