File statistics.h
FileList > cubrid > src > storage > statistics.h
Go to the source code of this file
#include <stdio.h>
#include "dbtype_def.h"
#include "storage_common.h"
#include "object_domain.h"
Classes
Public Types
Public Static Functions
Macros
Public Types Documentation
typedef ATTR_NDV
typedef struct attr_ndv ATTR_NDV;
typedef ATTR_STATS
typedef struct attr_stats ATTR_STATS;
typedef BTREE_STATS
typedef struct btree_stats BTREE_STATS;
typedef CLASS_ATTR_NDV
typedef struct class_attr_ndv CLASS_ATTR_NDV;
typedef CLASS_STATS
typedef struct class_stats CLASS_STATS;
Public Static Functions Documentation
function stats_adjust_sampling_weight
static int stats_adjust_sampling_weight (
INT64 sampling_ndv,
int sampling_weight
)
Macro Definition Documentation
define BTREE_STATS_PKEYS_NUM
#define BTREE_STATS_PKEYS_NUM `8`
define BTREE_STATS_RESERVED_NUM
#define BTREE_STATS_RESERVED_NUM `4`
define CLASS_ATTR_NDV_INITIALIZER
#define CLASS_ATTR_NDV_INITIALIZER `{0, NULL }`
define EXPECTED_ROWS_PER_PAGE
#define EXPECTED_ROWS_PER_PAGE `20`
define NUMBER_OF_SAMPLING_PAGES
#define NUMBER_OF_SAMPLING_PAGES `5000`
define STATS_MAX_PRECISION
#define STATS_MAX_PRECISION `4000 /* max precision of char for getting statistics */`
define STATS_MIN_MAX_SIZE
#define STATS_MIN_MAX_SIZE `sizeof ( DB_DATA )`
define STATS_SAMPLING_LEAFS_MAX
#define STATS_SAMPLING_LEAFS_MAX `5000 /* sampling leaf pages */`
define STATS_SAMPLING_THRESHOLD
#define STATS_SAMPLING_THRESHOLD `5000 /* sampling trial count */`
define STATS_WITH_FULLSCAN
#define STATS_WITH_FULLSCAN `true`
define STATS_WITH_SAMPLING
#define STATS_WITH_SAMPLING `false`
define stats_free_statistics_and_init
#define stats_free_statistics_and_init (
stats
) `/* multi line expression */`
The documentation for this class was generated from the following file cubrid/src/storage/statistics.h