Skip to content

File unloaddb.c

FileList > cubrid > src > executables > unloaddb.c

Go to the source code of this file

  • #include "config.h"
  • #include <stdio.h>
  • #include <stdlib.h>
  • #include <assert.h>
  • #include <sys/time.h>
  • #include "porting.h"
  • #include "authenticate.h"
  • #include "db.h"
  • #include "extract_schema.hpp"
  • #include "message_catalog.h"
  • #include "environment_variable.h"
  • #include "printer.hpp"
  • #include "schema_manager.h"
  • #include "locator_cl.h"
  • #include "unloaddb.h"
  • #include "utility.h"
  • #include "util_func.h"
  • #include "unload_object_file.h"

Public Attributes

Type Name
int cached_pages = 100
LIST_MOPS * class_table = [**NULL**](freelistheap_8h.md#define-null)
char * database_name = [**NULL**](freelistheap_8h.md#define-null)
bool datafile_per_class = [**false**](broker__monitor_8c.md#function-timeout)
int debug_flag = 0
int64_t est_size = 0
int g_parallel_process_cnt = -1
int g_parallel_process_idx = -1
int g_pre_alloc_varchar_size = (1024)
int g_request_pages = (100)
char * hash_filename = [**NULL**](freelistheap_8h.md#define-null)
bool ignore_err_flag = [**false**](broker__monitor_8c.md#function-timeout)
bool include_references = [**false**](broker__monitor_8c.md#function-timeout)
char * input_filename = [**NULL**](freelistheap_8h.md#define-null)
bool is_as_dba = [**false**](broker__monitor_8c.md#function-timeout)
bool latest_image_flag = [**false**](broker__monitor_8c.md#function-timeout)
const char * output_dirname = [**NULL**](freelistheap_8h.md#define-null)
FILE * output_file = [**NULL**](freelistheap_8h.md#define-null)
char * output_prefix = [**NULL**](freelistheap_8h.md#define-null)
int page_size = 4096
DB_OBJECT ** req_class_table = [**NULL**](freelistheap_8h.md#define-null)
bool required_class_only = [**false**](broker__monitor_8c.md#function-timeout)
bool split_schema_files = [**false**](broker__monitor_8c.md#function-timeout)
bool verbose_flag = [**false**](broker__monitor_8c.md#function-timeout)

Public Functions

Type Name
int unloaddb (UTIL_FUNCTION_ARG * arg)

Public Static Functions

Type Name
void unload_usage (const char * argv0)

Macros

Type Name
define DFLT_PRE_ALLOC_VARCHAR_SIZE (1024)
define DFLT_REQ_DATASIZE (100)
define MAX_PRE_ALLOC_VARCHAR_SIZE ([**DB\_MAX\_VARCHAR\_PRECISION**](dbtype__def_8h.md#define-db_max_varchar_precision))
define MAX_PROCESS_COUNT (36)
define MAX_REQ_DATA_PAGES (1024)
define MAX_THREAD_COUNT (127)

Public Attributes Documentation

variable cached_pages

int cached_pages;

variable class_table

LIST_MOPS* class_table;

variable database_name

char* database_name;

variable datafile_per_class

bool datafile_per_class;

variable debug_flag

int debug_flag;

variable est_size

int64_t est_size;

variable g_parallel_process_cnt

int g_parallel_process_cnt;

variable g_parallel_process_idx

int g_parallel_process_idx;

variable g_pre_alloc_varchar_size

int g_pre_alloc_varchar_size;

variable g_request_pages

int g_request_pages;

variable hash_filename

char* hash_filename;

variable ignore_err_flag

bool ignore_err_flag;

variable include_references

bool include_references;

variable input_filename

char* input_filename;

variable is_as_dba

bool is_as_dba;

variable latest_image_flag

bool latest_image_flag;

variable output_dirname

const char* output_dirname;

variable output_file

FILE* output_file;

variable output_prefix

char* output_prefix;

variable page_size

int page_size;

variable req_class_table

DB_OBJECT** req_class_table;

variable required_class_only

bool required_class_only;

variable split_schema_files

bool split_schema_files;

variable verbose_flag

bool verbose_flag;

Public Functions Documentation

function unloaddb

int unloaddb (
    UTIL_FUNCTION_ARG * arg
) 

Public Static Functions Documentation

function unload_usage

static void unload_usage (
    const  char * argv0
) 

Macro Definition Documentation

define DFLT_PRE_ALLOC_VARCHAR_SIZE

#define DFLT_PRE_ALLOC_VARCHAR_SIZE `(1024)`

define DFLT_REQ_DATASIZE

#define DFLT_REQ_DATASIZE `(100)`

define MAX_PRE_ALLOC_VARCHAR_SIZE

#define MAX_PRE_ALLOC_VARCHAR_SIZE `( DB_MAX_VARCHAR_PRECISION )`

define MAX_PROCESS_COUNT

#define MAX_PROCESS_COUNT `(36)`

define MAX_REQ_DATA_PAGES

#define MAX_REQ_DATA_PAGES `(1024)`

define MAX_THREAD_COUNT

#define MAX_THREAD_COUNT `(127)`


The documentation for this class was generated from the following file cubrid/src/executables/unloaddb.c