drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
srv0srv.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (C) 1995, 2011, Innobase Oy. All Rights Reserved.
4Copyright (C) 2008, 2009, Google Inc.
5Copyright (C) 2009, Percona Inc.
6
7Portions of this file contain modifications contributed and copyrighted by
8Google, Inc. Those modifications are gratefully acknowledged and are described
9briefly in the InnoDB documentation. The contributions by Google are
10incorporated with their permission, and subject to the conditions contained in
11the file COPYING.Google.
12
13Portions of this file contain modifications contributed and copyrighted
14by Percona Inc.. Those modifications are
15gratefully acknowledged and are described briefly in the InnoDB
16documentation. The contributions by Percona Inc. are incorporated with
17their permission, and subject to the conditions contained in the file
18COPYING.Percona.
19
20This program is free software; you can redistribute it and/or modify it under
21the terms of the GNU General Public License as published by the Free Software
22Foundation; version 2 of the License.
23
24This program is distributed in the hope that it will be useful, but WITHOUT
25ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
26FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
27
28You should have received a copy of the GNU General Public License along with
29this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
30St, Fifth Floor, Boston, MA 02110-1301 USA
31
32*****************************************************************************/
33
34/**************************************************/
40
41#pragma once
42#ifndef srv0srv_h
43#define srv0srv_h
44
45#include "univ.i"
46#ifndef UNIV_HOTBACKUP
47#include "sync0sync.h"
48#include "os0sync.h"
49#include "que0types.h"
50#include "trx0types.h"
51
52#include <string>
53
54extern const char* srv_main_thread_op_info;
55
60static const std::string srv_mysql50_table_name_prefix("#mysql50#");
61
62/* When this event is set the lock timeout and InnoDB monitor
63thread starts running */
64extern os_event_t srv_lock_timeout_thread_event;
65
66/* The monitor thread waits on this event. */
67extern os_event_t srv_monitor_event;
68
69/* The lock timeout thread waits on this event. */
70extern os_event_t srv_timeout_event;
71
72/* The error monitor thread waits on this event. */
73extern os_event_t srv_error_event;
74
75/* If the last data file is auto-extended, we add this many pages to it
76at a time */
77#define SRV_AUTO_EXTEND_INCREMENT \
78 (srv_auto_extend_increment * ((1024 * 1024) / UNIV_PAGE_SIZE))
79
80/* This is set to the MySQL server value for this variable. */
81extern uint srv_lower_case_table_names;
82
83/* Mutex for locking srv_monitor_file */
84extern mutex_t srv_monitor_file_mutex;
85/* Temporary file for innodb monitor output */
86extern FILE* srv_monitor_file;
87/* Mutex for locking srv_dict_tmpfile.
88This mutex has a very high rank; threads reserving it should not
89be holding any InnoDB latches. */
90extern mutex_t srv_dict_tmpfile_mutex;
91/* Temporary file for output from the data dictionary */
92extern FILE* srv_dict_tmpfile;
93/* Mutex for locking srv_misc_tmpfile.
94This mutex has a very low rank; threads reserving it should not
95acquire any further latches or sleep before releasing this one. */
96extern mutex_t srv_misc_tmpfile_mutex;
97/* Temporary file for miscellanous diagnostic output */
98extern FILE* srv_misc_tmpfile;
99
100/* Server parameters which are read from the initfile */
101
102extern char* srv_data_home;
103#ifdef UNIV_LOG_ARCHIVE
104extern char* srv_arch_dir;
105#endif /* UNIV_LOG_ARCHIVE */
106
109#ifndef UNIV_HOTBACKUP
110extern my_bool srv_file_per_table;
111#else
112extern ibool srv_file_per_table;
113#endif /* UNIV_HOTBACKUP */
115extern ulint srv_file_format;
122extern ibool srv_locks_unsafe_for_binlog;
123#endif /* !UNIV_HOTBACKUP */
124
125/* If this flag is TRUE, then we will use the native aio of the
126OS (provided we compiled Innobase with it in), otherwise we will
127use simulated aio we build below with threads.
128Currently we support native aio on windows and linux */
129extern my_bool srv_use_native_aio;
130#ifdef __WIN__
131extern ibool srv_use_native_conditions;
132#endif
133extern ulint srv_n_data_files;
134extern char** srv_data_file_names;
135extern ulint* srv_data_file_sizes;
136extern ulint* srv_data_file_is_raw_partition;
137
138extern ibool srv_auto_extend_last_data_file;
139extern ulint srv_last_file_size_max;
140extern char** srv_log_group_home_dirs;
141#ifndef UNIV_HOTBACKUP
142extern unsigned int srv_auto_extend_increment;
143
144extern ibool srv_created_new_raw;
145
146extern ulint srv_n_log_groups;
147extern ulint srv_n_log_files;
148extern ulint srv_log_file_size;
149extern ulint srv_log_buffer_size;
150extern ulong srv_flush_log_at_trx_commit;
151extern bool srv_adaptive_flushing;
152
153
154/* The sort order table of the MySQL latin1_swedish_ci character set
155collation */
156#if defined(BUILD_DRIZZLE)
157extern const byte srv_latin1_ordering[256];
158extern bool srv_use_sys_malloc;
159#else
160extern const byte* srv_latin1_ordering;
161# ifndef UNIV_HOTBACKUP
162extern my_bool srv_use_sys_malloc;
163# else
164extern ibool srv_use_sys_malloc;
165# endif /* UNIV_HOTBACKUP */
166#endif /* BUILD_DRIZZLE */
167extern ulint srv_buf_pool_size;
168extern ulint srv_buf_pool_instances;
169extern ulint srv_buf_pool_old_size;
170extern ulint srv_buf_pool_curr_size;
171extern ulint srv_mem_pool_size;
172extern ulint srv_lock_table_size;
173
174extern ulint srv_n_file_io_threads;
175extern ulong srv_read_ahead_threshold;
176extern ulint srv_n_read_io_threads;
177extern ulint srv_n_write_io_threads;
178
179/* Number of IO operations per second the server can do */
180extern ulong srv_io_capacity;
181/* Returns the number of IO operations that is X percent of the
182capacity. PCT_IO(5) -> returns the number of IO operations that
183is 5% of the max where max is srv_io_capacity. */
184#define PCT_IO(p) ((ulong) (srv_io_capacity * ((double) p / 100.0)))
185
186/* The "innodb_stats_method" setting, decides how InnoDB is going
187to treat NULL value when collecting statistics. It is not defined
188as enum type because the configure option takes unsigned integer type. */
189extern ulong srv_innodb_stats_method;
190
191#ifdef UNIV_LOG_ARCHIVE
192extern ibool srv_log_archive_on;
193extern ibool srv_archive_recovery;
194extern ib_uint64_t srv_archive_recovery_limit_lsn;
195#endif /* UNIV_LOG_ARCHIVE */
196
197extern char* srv_file_flush_method_str;
198extern ulint srv_unix_file_flush_method;
199extern ulint srv_win_file_flush_method;
200
201extern ulint srv_max_n_open_files;
202
203extern ulint srv_max_dirty_pages_pct;
204
205extern ulint srv_force_recovery;
206extern ulong srv_thread_concurrency;
207
208extern ulint srv_max_n_threads;
209
210extern lint srv_conc_n_threads;
211
212extern ulint srv_fast_shutdown; /* If this is 1, do not do a
213 purge and index buffer merge.
214 If this 2, do not even flush the
215 buffer pool to data files at the
216 shutdown: we effectively 'crash'
217 InnoDB (but lose no committed
218 transactions). */
219extern ibool srv_innodb_status;
220
221extern ib_uint64_t srv_stats_sample_pages;
222
223extern ibool srv_use_doublewrite_buf;
224extern ibool srv_use_checksums;
225
226extern ulong srv_max_buf_pool_modified_pct;
227extern ulong srv_max_purge_lag;
228
229extern ulong srv_replication_delay;
230
231extern uint64_t srv_ibuf_max_size;
232extern uint32_t srv_ibuf_active_contract;
233extern uint32_t srv_ibuf_accel_rate;
234extern uint32_t srv_checkpoint_age_target;
235extern uint32_t srv_flush_neighbor_pages;
236extern uint32_t srv_read_ahead;
237extern uint32_t srv_adaptive_flushing_method;
238
239extern ibool srv_read_only;
240extern ibool srv_fake_write;
241extern ibool srv_apply_log_only;
242
243/*-------------------------------------------*/
244
245extern ulint srv_n_rows_inserted;
246extern ulint srv_n_rows_updated;
247extern ulint srv_n_rows_deleted;
248extern ulint srv_n_rows_read;
249
250extern ibool srv_print_innodb_monitor;
251extern ibool srv_print_innodb_lock_monitor;
252extern ibool srv_print_innodb_tablespace_monitor;
253extern ibool srv_print_verbose_log;
254extern ibool srv_print_innodb_table_monitor;
255
256extern ibool srv_lock_timeout_active;
257extern ibool srv_monitor_active;
258extern ibool srv_error_monitor_active;
259
260extern ulong srv_n_spin_wait_rounds;
261extern ulong srv_n_free_tickets_to_enter;
262extern ulong srv_thread_sleep_delay;
263extern ulong srv_spin_wait_delay;
264extern ibool srv_priority_boost;
265
266extern ulint srv_truncated_status_writes;
267
268#ifdef UNIV_DEBUG
269extern ibool srv_print_thread_releases;
270extern ibool srv_print_lock_waits;
271extern ibool srv_print_buf_io;
272extern ibool srv_print_log_io;
273extern ibool srv_print_latch_waits;
274#else /* UNIV_DEBUG */
275# define srv_print_thread_releases FALSE
276# define srv_print_lock_waits FALSE
277# define srv_print_buf_io FALSE
278# define srv_print_log_io FALSE
279# define srv_print_latch_waits FALSE
280#endif /* UNIV_DEBUG */
281
282extern ulint srv_activity_count;
283extern ulint srv_fatal_semaphore_wait_threshold;
284extern ulint srv_dml_needed_delay;
285
286extern mutex_t* kernel_mutex_temp;/* mutex protecting the server, trx structs,
287 query threads, and lock table: we allocate
288 it from dynamic memory to get it to the
289 same DRAM page as other hotspot semaphores */
290extern mutex_t* commit_id_mutex_temp;
291
292#define kernel_mutex (*kernel_mutex_temp)
293#define commit_id_mutex (*commit_id_mutex_temp)
294
295#define SRV_MAX_N_IO_THREADS 130
296
297/* Array of English strings describing the current state of an
298i/o handler thread */
299extern const char* srv_io_thread_op_info[];
300extern const char* srv_io_thread_function[];
301
302/* the number of the log write requests done */
303extern ulint srv_log_write_requests;
304
305/* the number of physical writes to the log performed */
306extern ulint srv_log_writes;
307
308/* amount of data written to the log files in bytes */
309extern ulint srv_os_log_written;
310
311/* amount of writes being done to the log files */
312extern ulint srv_os_log_pending_writes;
313
314/* we increase this counter, when there we don't have enough space in the
315log buffer and have to flush it */
316extern ulint srv_log_waits;
317
318/* the number of purge threads to use from the worker pool (currently 0 or 1) */
319extern ulong srv_n_purge_threads;
320
321/* the number of pages to purge in one batch */
322extern ulong srv_purge_batch_size;
323
324/* the number of rollback segments to use */
325extern ulong srv_rollback_segments;
326
327/* variable that counts amount of data read in total (in bytes) */
328extern ulint srv_data_read;
329
330/* here we count the amount of data written in total (in bytes) */
331extern ulint srv_data_written;
332
333/* this variable counts the amount of times, when the doublewrite buffer
334was flushed */
335extern ulint srv_dblwr_writes;
336
337/* here we store the number of pages that have been flushed to the
338doublewrite buffer */
339extern ulint srv_dblwr_pages_written;
340
341/* in this variable we store the number of write requests issued */
342extern ulint srv_buf_pool_write_requests;
343
344/* here we store the number of times when we had to wait for a free page
345in the buffer pool. It happens when the buffer pool is full and we need
346to make a flush, in order to be able to read or create a page. */
347extern ulint srv_buf_pool_wait_free;
348
349/* variable to count the number of pages that were written from the
350buffer pool to disk */
351extern ulint srv_buf_pool_flushed;
352
355extern ulint srv_buf_pool_reads;
356
358extern uint32_t srv_auto_lru_dump;
359
362
365
368
370extern srv_sys_t* srv_sys;
371
372# ifdef UNIV_PFS_THREAD
373/* Keys to register InnoDB threads with performance schema */
374extern mysql_pfs_key_t trx_rollback_clean_thread_key;
375extern mysql_pfs_key_t io_handler_thread_key;
376extern mysql_pfs_key_t srv_lock_timeout_thread_key;
377extern mysql_pfs_key_t srv_error_monitor_thread_key;
378extern mysql_pfs_key_t srv_monitor_thread_key;
379extern mysql_pfs_key_t srv_master_thread_key;
380
381/* This macro register the current thread and its key with performance
382schema */
383# define pfs_register_thread(key) \
384do { \
385 if (PSI_server) { \
386 struct PSI_thread* psi = PSI_server->new_thread(key, NULL, 0);\
387 if (psi) { \
388 PSI_server->set_thread(psi); \
389 } \
390 } \
391} while (0)
392
393/* This macro delist the current thread from performance schema */
394# define pfs_delete_thread() \
395do { \
396 if (PSI_server) { \
397 PSI_server->delete_current_thread(); \
398 } \
399} while (0)
400# endif /* UNIV_PFS_THREAD */
401
402#endif /* !UNIV_HOTBACKUP */
403
405enum {
410};
411
414enum {
424};
425
427enum {
430};
431
437enum {
454};
455
456/* Alternatives for srv_innodb_stats_method, which could be changed by
457setting innodb_stats_method */
458enum srv_stats_method_name_enum {
459 SRV_STATS_NULLS_EQUAL, /* All NULL values are treated as
460 equal. This is the default setting
461 for innodb_stats_method */
462 SRV_STATS_NULLS_UNEQUAL, /* All NULL values are treated as
463 NOT equal. */
464 SRV_STATS_NULLS_IGNORED /* NULL values are ignored */
465};
466
467typedef enum srv_stats_method_name_enum srv_stats_method_name_t;
468
469#ifndef UNIV_HOTBACKUP
477
478/*********************************************************************/
481UNIV_INTERN
482ulint
483srv_boot(void);
484/*==========*/
485/*********************************************************************/
487UNIV_INTERN
488void
489srv_init(void);
490/*==========*/
491/*********************************************************************/
493UNIV_INTERN
494void
495srv_free(void);
496/*==========*/
497/*********************************************************************/
500UNIV_INTERN
501void
502srv_general_init(void);
503/*==================*/
504/*********************************************************************/
507UNIV_INTERN
508ulint
510/*===================*/
511/*********************************************************************/
514UNIV_INTERN
515ulint
517/*=========================*/
518 enum srv_thread_type type);
519/*********************************************************************/
521UNIV_INTERN
522void
524/*======================*/
525 ulint i,
526 const char* str);
528/*********************************************************************/
533UNIV_INTERN
534ulint
536/*================*/
537 enum srv_thread_type type,
538 ulint n);
539/*********************************************************************/
542UNIV_INTERN
543os_thread_ret_t
545/*==============*/
546 void* arg);
548/*******************************************************************/
550UNIV_INTERN
551void
553/*=======================*/
554/*******************************************************************/
560UNIV_INTERN
561void
563/*===============================*/
564/*******************************************************************/
566UNIV_INTERN
567void
569/*========================*/
570/*******************************************************************/
576UNIV_INTERN
577void
579/*=====================================*/
580/*********************************************************************/
583UNIV_INTERN
584void
586/*==================*/
587 trx_t* trx);
589/*********************************************************************/
592UNIV_INTERN
593void
595/*========================*/
596 trx_t* trx);
598/*********************************************************************/
601UNIV_INTERN
602void
604/*=======================*/
605 trx_t* trx);
607/*********************************************************************/
609UNIV_INTERN
610void
612/*=================*/
613 trx_t* trx);
615/***************************************************************/
621UNIV_INTERN
622void
624/*=====================*/
625 que_thr_t* thr);
627/********************************************************************/
630UNIV_INTERN
631void
633/*==================================*/
634 que_thr_t* thr);
636/*********************************************************************/
639UNIV_INTERN
640os_thread_ret_t
642/*====================*/
643 void* arg);
645/*********************************************************************/
648UNIV_INTERN
649os_thread_ret_t
651/*===============*/
652 void* arg);
654/*************************************************************************
655A thread which prints warnings about semaphore waits which have lasted
656too long. These can be used to track bugs which cause hangs.
657@return a dummy parameter */
658UNIV_INTERN
659os_thread_ret_t
661/*=====================*/
662 void* arg);
664/*********************************************************************/
668UNIV_INTERN
669os_thread_ret_t
671/*====================*/
672 void* arg);
674/******************************************************************/
678UNIV_INTERN
679ibool
681/*======================*/
682 FILE* file,
683 ibool nowait,
684 ulint* trx_start,
686 ulint* trx_end);
688
689/******************************************************************/
691UNIV_INTERN
692void
694/*==========================*/
695
696/******************************************************************/
698UNIV_INTERN
699void
701/*=========================*/
702
703/*********************************************************************/
706UNIV_INTERN
707os_thread_ret_t
709/*=============*/
710 void* /*arg __attribute__((unused))*/);
712
713/**********************************************************************/
716UNIV_INTERN
717void
719/*=====================*/
720 que_thr_t* thr);
721
722/**********************************************************************/
725UNIV_INTERN
726ibool
728/*======================================*/
729
745#ifdef UNIV_DEBUG
746 ulint innodb_buffer_pool_pages_latched;
747#endif /* UNIV_DEBUG */
783};
784
787
790
797
798extern ulint srv_n_threads_active[];
799#else /* !UNIV_HOTBACKUP */
800# define srv_use_adaptive_hash_indexes FALSE
801# define srv_use_checksums TRUE
802# define srv_use_native_aio FALSE
803# define srv_force_recovery 0UL
804# define srv_set_io_thread_op_info(t,info) ((void) 0)
805# define srv_is_being_started 0
806# define srv_win_file_flush_method SRV_WIN_IO_UNBUFFERED
807# define srv_unix_file_flush_method SRV_UNIX_O_DSYNC
808# define srv_start_raw_disk_in_use 0
809# define srv_file_per_table 1
810#endif /* !UNIV_HOTBACKUP */
811
812
813#endif
os_event_struct_t * os_event_t
Definition os0sync.h:58
ulint srv_buf_pool_size
Definition srv0srv.cc:253
srv_thread_type
Definition srv0srv.h:471
@ SRV_WORKER
Definition srv0srv.h:472
@ SRV_MASTER
Definition srv0srv.h:474
UNIV_INTERN void srv_free(void)
Definition srv0srv.cc:1165
UNIV_INTERN os_thread_ret_t srv_LRU_dump_restore_thread(void *arg)
Definition srv0srv.cc:2540
UNIV_INTERN os_thread_ret_t srv_monitor_thread(void *arg)
Definition srv0srv.cc:2151
UNIV_INTERN void srv_general_init(void)
Definition srv0srv.cc:1192
UNIV_INTERN void srv_active_wake_master_thread(void)
Definition srv0srv.cc:2617
ibool srv_locks_unsafe_for_binlog
Definition srv0srv.cc:138
@ SRV_FORCE_NO_BACKGROUND
Definition srv0srv.h:440
@ SRV_FORCE_NO_IBUF_MERGE
Definition srv0srv.h:445
@ SRV_FORCE_NO_LOG_REDO
Definition srv0srv.h:452
@ SRV_FORCE_IGNORE_CORRUPT
Definition srv0srv.h:438
@ SRV_FORCE_NO_TRX_UNDO
Definition srv0srv.h:443
@ SRV_FORCE_NO_UNDO_LOG_SCAN
Definition srv0srv.h:448
UNIV_INTERN os_thread_ret_t srv_master_thread(void *arg)
Definition srv0srv.cc:2744
UNIV_INTERN os_thread_ret_t srv_error_monitor_thread(void *arg)
Definition srv0srv.cc:2424
const byte * srv_latin1_ordering
Definition srv0srv.cc:246
UNIV_INTERN ulint srv_release_threads(enum srv_thread_type type, ulint n)
Definition srv0srv.cc:1001
@ SRV_UNIX_ALL_O_DIRECT
Definition srv0srv.h:423
@ SRV_UNIX_O_DSYNC
Definition srv0srv.h:416
@ SRV_UNIX_FSYNC
Definition srv0srv.h:415
@ SRV_UNIX_NOSYNC
Definition srv0srv.h:420
@ SRV_UNIX_LITTLESYNC
Definition srv0srv.h:417
@ SRV_UNIX_O_DIRECT
Definition srv0srv.h:421
static const std::string srv_mysql50_table_name_prefix("#mysql50#")
UNIV_INTERN void srv_conc_force_enter_innodb(trx_t *trx)
Definition srv0srv.cc:1373
UNIV_INTERN void srv_inc_activity_count(void)
ulint srv_buf_pool_instances
Definition srv0srv.cc:255
struct srv_sys_struct srv_sys_t
Definition srv0srv.h:367
@ SRV_WIN_IO_UNBUFFERED
Definition srv0srv.h:429
@ SRV_WIN_IO_NORMAL
Definition srv0srv.h:428
ulint srv_buf_pool_reads
Definition srv0srv.cc:372
srv_slot_t srv_table_t
Definition srv0srv.h:789
srv_sys_t * srv_sys
Definition srv0srv.cc:785
UNIV_INTERN os_thread_ret_t srv_lock_timeout_thread(void *arg)
Definition srv0srv.cc:2316
UNIV_INTERN void srv_release_mysql_thread_if_suspended(que_thr_t *thr)
Definition srv0srv.cc:1809
my_bool srv_file_per_table
Definition srv0srv.cc:125
UNIV_INTERN void srv_conc_exit_innodb(trx_t *trx)
Definition srv0srv.cc:1455
UNIV_INTERN void srv_set_io_thread_op_info(ulint i, const char *str)
Definition srv0srv.cc:841
UNIV_INTERN void srv_que_task_enqueue_low(que_thr_t *thr)
Definition srv0srv.cc:3577
UNIV_INTERN os_thread_ret_t srv_purge_thread(void *)
Definition srv0srv.cc:3462
UNIV_INTERN ulint srv_thread_has_reserved_slot(enum srv_thread_type type)
Definition srv0srv.cc:1052
uint32_t srv_auto_lru_dump
Definition srv0srv.cc:375
UNIV_INTERN ulint srv_get_n_threads(void)
Definition srv0srv.cc:873
UNIV_INTERN void srv_export_innodb_status(void)
Definition srv0srv.cc:2061
UNIV_INTERN ibool srv_is_any_background_thread_active(void)
Definition srv0srv.cc:2589
ulint srv_buf_pool_old_size
Definition srv0srv.cc:257
UNIV_INTERN ulint srv_boot(void)
Definition srv0srv.cc:1511
ulint srv_file_format
Definition srv0srv.cc:127
UNIV_INTERN void srv_conc_force_exit_innodb(trx_t *trx)
Definition srv0srv.cc:1399
UNIV_INTERN void srv_conc_enter_innodb(trx_t *trx)
Definition srv0srv.cc:1213
ulint srv_max_file_format_at_startup
Definition srv0srv.cc:131
UNIV_INTERN void srv_wake_purge_thread_if_not_active(void)
Definition srv0srv.cc:2640
UNIV_INTERN void srv_wake_master_thread(void)
Definition srv0srv.cc:2660
UNIV_INTERN ibool srv_printf_innodb_monitor(FILE *file, ibool nowait, ulint *trx_start, ulint *trx_end)
Definition srv0srv.cc:1869
export_struc export_vars
Definition srv0srv.cc:378
UNIV_INTERN void srv_wake_purge_thread(void)
Definition srv0srv.cc:2676
ulint srv_buf_pool_curr_size
Definition srv0srv.cc:259
struct export_var_struct export_struc
Definition srv0srv.h:361
UNIV_INTERN void srv_suspend_mysql_thread(que_thr_t *thr)
Definition srv0srv.cc:1610
UNIV_INTERN void srv_init(void)
Definition srv0srv.cc:1082
@ SRV_NOT_RAW
Definition srv0srv.h:406
@ SRV_NEW_RAW
Definition srv0srv.h:407
@ SRV_OLD_RAW
Definition srv0srv.h:409
struct srv_slot_struct srv_slot_t
Definition srv0srv.h:786
ulint innodb_buffer_pool_wait_free
Definition srv0srv.h:750
ulint innodb_log_write_requests
Definition srv0srv.h:759
ulint innodb_data_read
Definition srv0srv.h:736
ulint innodb_buffer_pool_pages_misc
Definition srv0srv.h:743
ulint innodb_buffer_pool_pages_dirty
Definition srv0srv.h:742
ulint innodb_rows_updated
Definition srv0srv.h:780
ulint innodb_rows_read
Definition srv0srv.h:778
ibool innodb_have_atomic_builtins
Definition srv0srv.h:757
ulint innodb_row_lock_current_waits
Definition srv0srv.h:770
ulint innodb_dblwr_writes
Definition srv0srv.h:756
ulint innodb_buffer_pool_read_ahead_evicted
Definition srv0srv.h:754
ulint innodb_data_pending_writes
Definition srv0srv.h:733
ulint innodb_data_writes
Definition srv0srv.h:737
ib_int64_t innodb_row_lock_time
Definition srv0srv.h:771
ulint innodb_buffer_pool_pages_free
Definition srv0srv.h:744
ulint innodb_pages_read
Definition srv0srv.h:767
ulint innodb_data_pending_reads
Definition srv0srv.h:732
ulint innodb_data_written
Definition srv0srv.h:738
ulint innodb_data_pending_fsyncs
Definition srv0srv.h:734
ulint innodb_rows_deleted
Definition srv0srv.h:781
ulint innodb_os_log_pending_writes
Definition srv0srv.h:763
ulint innodb_dblwr_pages_written
Definition srv0srv.h:755
ulint innodb_buffer_pool_write_requests
Definition srv0srv.h:752
ulint innodb_log_writes
Definition srv0srv.h:760
ulint innodb_buffer_pool_pages_flushed
Definition srv0srv.h:751
ulint innodb_buffer_pool_read_ahead
Definition srv0srv.h:753
ulint innodb_os_log_fsyncs
Definition srv0srv.h:762
ulint innodb_page_size
Definition srv0srv.h:765
ulint innodb_os_log_pending_fsyncs
Definition srv0srv.h:764
ulint innodb_row_lock_time_avg
Definition srv0srv.h:773
ulint innodb_pages_written
Definition srv0srv.h:768
ulint innodb_buffer_pool_pages_data
Definition srv0srv.h:741
ulint innodb_row_lock_time_max
Definition srv0srv.h:776
ulint innodb_row_lock_waits
Definition srv0srv.h:769
ulint innodb_pages_created
Definition srv0srv.h:766
ulint innodb_buffer_pool_read_requests
Definition srv0srv.h:748
ulint innodb_os_log_written
Definition srv0srv.h:761
ulint innodb_data_reads
Definition srv0srv.h:739
ulint innodb_rows_inserted
Definition srv0srv.h:779
ulint innodb_buffer_pool_reads
Definition srv0srv.h:749
ulint innodb_truncated_status_writes
Definition srv0srv.h:782
ulint innodb_log_waits
Definition srv0srv.h:758
ulint innodb_buffer_pool_pages_total
Definition srv0srv.h:740
ulint innodb_data_fsyncs
Definition srv0srv.h:735
srv_table_t * threads
Definition srv0srv.h:793
#define mutex_t
Definition sync0types.h:31
UNIV_INTERN ibool trx_start(trx_t *trx, ulint rseg_id)
Definition trx0trx.cc:676
#define UT_LIST_BASE_NODE_T(TYPE)
Definition ut0lst.h:54