MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
innodb_engine Struct Reference

#include <innodb_engine.h>

Collaboration diagram for innodb_engine:

Public Attributes

ENGINE_HANDLE_V1 engine
SERVER_HANDLE_V1 server
GET_SERVER_API get_server_api
ENGINE_HANDLEdefault_engine
struct {
   size_t   nthreads
   bool   cas_enabled
server_options
union {
   engine_info   info
   char   buffer [sizeof(engine_info)*(LAST_REGISTERED_ENGINE_FEATURE+1)]
info
bool initialized
bool connected
bool clean_stale_conn
bool enable_binlog
bool enable_mdl
ib_trx_level_t trx_level
ib_ulint_t bk_commit_interval
int cfg_status
meta_cfg_info_tmeta_info
conn_list_t conn_data
pthread_mutex_t conn_mutex
pthread_mutex_t cas_mutex
pthread_t bk_thd_for_commit
ib_cb_tinnodb_cb
uint64_t read_batch_size
uint64_t write_batch_size
hash_table_tmeta_hash

Detailed Description

The InnoDB engine global data. Some layout are common to NDB memcached

engine and InnoDB memcached engine

Definition at line 84 of file innodb_engine.h.

Member Data Documentation

ib_ulint_t innodb_engine::bk_commit_interval

background commit interval in seconds

Definition at line 123 of file innodb_engine.h.

pthread_t innodb_engine::bk_thd_for_commit

background thread for committing long running transactions

Definition at line 134 of file innodb_engine.h.

char innodb_engine::buffer[sizeof(engine_info)*(LAST_REGISTERED_ENGINE_FEATURE+1)]

buffer to store customized engine info

Definition at line 103 of file innodb_engine.h.

bool innodb_engine::cas_enabled

whether cas is enabled

Definition at line 96 of file innodb_engine.h.

pthread_mutex_t innodb_engine::cas_mutex

mutex synchronizes CAS

Definition at line 132 of file innodb_engine.h.

int innodb_engine::cfg_status

configure status

Definition at line 125 of file innodb_engine.h.

bool innodb_engine::clean_stale_conn

whether bk thread is cleaning stale connections.

Definition at line 112 of file innodb_engine.h.

conn_list_t innodb_engine::conn_data

list of data specific for connections

Definition at line 128 of file innodb_engine.h.

pthread_mutex_t innodb_engine::conn_mutex

mutex synchronizes connection specific data

Definition at line 130 of file innodb_engine.h.

bool innodb_engine::connected

whether connection established

Definition at line 109 of file innodb_engine.h.

ENGINE_HANDLE* innodb_engine::default_engine

default memcached engine

Definition at line 91 of file innodb_engine.h.

bool innodb_engine::enable_binlog

whether binlog is enabled for InnoDB Memcached

Definition at line 116 of file innodb_engine.h.

bool innodb_engine::enable_mdl

whether MDL is enabled for InnoDB Memcached

Definition at line 118 of file innodb_engine.h.

ENGINE_HANDLE_V1 innodb_engine::engine

this InnoDB Memcached engine

Definition at line 86 of file innodb_engine.h.

GET_SERVER_API innodb_engine::get_server_api

call back to get Memcached server common functions

Definition at line 89 of file innodb_engine.h.

engine_info innodb_engine::info

engine specific info

Definition at line 100 of file innodb_engine.h.

bool innodb_engine::initialized

whether engine data initialized

Definition at line 107 of file innodb_engine.h.

ib_cb_t* innodb_engine::innodb_cb

pointer to callback functions

Definition at line 137 of file innodb_engine.h.

hash_table_t* innodb_engine::meta_hash

hash table for metadata

Definition at line 143 of file innodb_engine.h.

meta_cfg_info_t* innodb_engine::meta_info

default metadata info from configuration

Definition at line 126 of file innodb_engine.h.

size_t innodb_engine::nthreads

number of threads handling connections

Definition at line 94 of file innodb_engine.h.

uint64_t innodb_engine::read_batch_size

configured read batch size

Definition at line 139 of file innodb_engine.h.

SERVER_HANDLE_V1 innodb_engine::server

Memcached server

Definition at line 88 of file innodb_engine.h.

ib_trx_level_t innodb_engine::trx_level

transaction isolation level

Definition at line 120 of file innodb_engine.h.

uint64_t innodb_engine::write_batch_size

configured write batch size

Definition at line 141 of file innodb_engine.h.


The documentation for this struct was generated from the following file: