1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2008 Sun Microsystems
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef DRIZZLED_HA_STATISTICS_H
21
#define DRIZZLED_HA_STATISTICS_H
24
#include <drizzled/definitions.h>
30
uint64_t data_file_length; /* Length off data file */
31
uint64_t max_data_file_length; /* Length off data file */
32
uint64_t index_file_length;
33
uint64_t max_index_file_length;
34
uint64_t delete_length; /* Free bytes */
35
uint64_t auto_increment_value;
37
The number of records in the table.
38
0 - means the table has exactly 0 rows
39
other - if (table_flags() & HA_STATS_RECORDS_IS_EXACT)
40
the value is the exact number of records in the table
45
ha_rows deleted; /* Deleted records */
46
uint32_t mean_rec_length; /* physical reclength */
47
time_t create_time; /* When table was created */
50
uint32_t block_size; /* index block size */
53
data_file_length(0), max_data_file_length(0),
54
index_file_length(0), delete_length(0), auto_increment_value(0),
55
records(0), deleted(0), mean_rec_length(0), create_time(0),
56
check_time(0), update_time(0), block_size(0)
60
#endif /* DRIZZLED_HA_STATISTICS_H */