~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/srv0srv.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
merge lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
Created 10/10/1995 Heikki Tuuri
39
39
*******************************************************/
40
40
 
 
41
#pragma once
41
42
#ifndef srv0srv_h
42
43
#define srv0srv_h
43
44
 
221
222
extern ulong    srv_max_purge_lag;
222
223
 
223
224
extern ulong    srv_replication_delay;
 
225
 
 
226
extern uint64_t srv_ibuf_max_size;
 
227
extern uint32_t srv_ibuf_active_contract;
 
228
extern uint32_t srv_ibuf_accel_rate;
 
229
extern uint32_t srv_checkpoint_age_target;
 
230
extern uint32_t srv_flush_neighbor_pages;
 
231
extern uint32_t srv_read_ahead;
 
232
extern uint32_t srv_adaptive_flushing_method;
 
233
 
 
234
extern ibool    srv_read_only;
 
235
extern ibool    srv_fake_write;
 
236
extern ibool    srv_apply_log_only;
 
237
 
224
238
/*-------------------------------------------*/
225
239
 
226
240
extern ulint    srv_n_rows_inserted;
332
346
reading of a disk page */
333
347
extern ulint srv_buf_pool_reads;
334
348
 
 
349
/** Time in seconds between automatic buffer pool dumps */
 
350
extern uint32_t srv_auto_lru_dump;
 
351
 
335
352
/** Status variables to be passed to MySQL */
336
353
typedef struct export_var_struct export_struc;
337
354
 
393
410
                                when writing data files, but do flush
394
411
                                after writing to log files */
395
412
        SRV_UNIX_NOSYNC,        /*!< do not flush after writing */
396
 
        SRV_UNIX_O_DIRECT       /*!< invoke os_file_set_nocache() on
 
413
        SRV_UNIX_O_DIRECT,      /*!< invoke os_file_set_nocache() on
397
414
                                data files */
 
415
        SRV_UNIX_ALL_O_DIRECT   /*!< Open log file also with O_DIRECT */
398
416
};
399
417
 
400
418
/** Alternatives for file i/o in Windows */
629
647
/*=====================*/
630
648
        void*   arg);   /*!< in: a dummy parameter required by
631
649
                        os_thread_create */
 
650
/*********************************************************************//**
 
651
A thread which restores the buffer pool from a dump file on startup and does
 
652
periodic buffer pool dumps.
 
653
@return a dummy parameter */
 
654
UNIV_INTERN
 
655
os_thread_ret_t
 
656
srv_LRU_dump_restore_thread(
 
657
/*====================*/
 
658
        void*   arg);   /*!< in: a dummy parameter required by
 
659
                        os_thread_create */
632
660
/******************************************************************//**
633
661
Outputs to a file the output of the InnoDB Monitor.
634
662
@return FALSE if not all information printed