~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/keycache.h

  • Committer: Brian Aker
  • Date: 2009-05-21 02:32:54 UTC
  • mto: This revision was merged to the branch mainline in revision 1032.
  • Revision ID: brian@gaz-20090521023254-a0f8hsc13jf0bxk3
More alignment for structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
  uint32_t hash_entries;             /* max number of entries in the hash table  */
68
68
  size_t key_cache_mem_size;      /* specified size of the cache memory       */
69
69
  uint32_t key_cache_block_size;     /* size of the page buffer of a cache block */
 
70
  int disk_blocks;               /* max number of blocks in the cache        */
70
71
  ulong min_warm_blocks;         /* min number of warm blocks;               */
71
72
  ulong age_threshold;           /* age threshold for hot blocks             */
72
73
  uint64_t keycache_time;       /* total number of block link operations    */
73
74
  int hash_links;                /* max number of hash links                 */
74
75
  int hash_links_used;           /* number of hash links currently used      */
75
 
  int disk_blocks;               /* max number of blocks in the cache        */
76
76
  ulong blocks_used; /* maximum number of concurrently used blocks */
77
77
  ulong blocks_unused; /* number of currently unused blocks */
78
78
  ulong blocks_changed;          /* number of currently dirty blocks         */
109
109
  uint32_t param_division_limit; /* min. percentage of warm blocks           */
110
110
  uint32_t param_age_threshold;    /* determines when hot block is downgraded  */
111
111
 
 
112
  int blocks;                   /* max number of blocks in the cache        */
112
113
  /* Statistics variables. These are reset in reset_key_cache_counters(). */
113
114
  ulong global_blocks_changed;  /* number of currently dirty blocks         */
114
115
  uint64_t global_cache_w_requests;/* number of write requests (write hits) */
116
117
  uint64_t global_cache_r_requests;/* number of read requests (read hits)   */
117
118
  uint64_t global_cache_read;      /* number of reads from files to cache   */
118
119
 
119
 
  int blocks;                   /* max number of blocks in the cache        */
120
120
  bool in_init;         /* Set to 1 in MySQL during init/resize     */
121
121
} KEY_CACHE;
122
122