CUBRID Engine  latest
log_volids.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 //
20 // Identifiers for log volumes (and others...)
21 //
22 
23 #ifndef _LOG_VOLIDS_HPP_
24 #define _LOG_VOLIDS_HPP_
25 
26 #include "storage_common.h"
27 
28 /*
29  * NOTE: NULL_VOLID generally means a bad volume identifier
30  * Negative volume identifiers are used to identify auxiliary files and
31  * volumes (e.g., logs, backups)
32  */
33 
35 
36 /* Volid of database.txt */
37 const VOLID LOG_DBTXT_VOLID = SHRT_MIN + 1;
39 
40 /* Volid of Transprent Data Encryption Keys (TDE Master keys) */
42 /* Volid of volume information */
44 /* Volid of info log */
46 /* Volid of backup info log */
48 /* Volid of active log */
50 /* Volid of background archive logs */
52 /* Volid of archive logs */
54 /* Volid of copies */
56 /* Volid of double write buffer */
58 
59 #endif // !_LOG_VOLIDS_HPP_
const VOLID LOG_DBLOG_INFO_VOLID
Definition: log_volids.hpp:45
INT16 VOLID
const VOLID LOG_DBLOG_ACTIVE_VOLID
Definition: log_volids.hpp:49
const VOLID LOG_MAX_DBVOLID
Definition: log_volids.hpp:34
const VOLID LOG_DBLOG_BKUPINFO_VOLID
Definition: log_volids.hpp:47
const VOLID LOG_DBTXT_VOLID
Definition: log_volids.hpp:37
const VOLID LOG_DBCOPY_VOLID
Definition: log_volids.hpp:55
#define VOLID_MAX
const VOLID LOG_DBLOG_ARCHIVE_VOLID
Definition: log_volids.hpp:53
const VOLID LOG_DBFIRST_VOLID
Definition: log_volids.hpp:38
const VOLID LOG_DBVOLINFO_VOLID
Definition: log_volids.hpp:43
const VOLID LOG_DBDWB_VOLID
Definition: log_volids.hpp:57
const VOLID LOG_DBTDE_KEYS_VOLID
Definition: log_volids.hpp:41
const VOLID LOG_DBLOG_BG_ARCHIVE_VOLID
Definition: log_volids.hpp:51