
# GS_LOGICAL_DATABASE
GS_LOGICAL_DATABASE系统表存储关于可用数据库的信息。
表1GS_LOGICAL_DATABASE字段 
| 字段名称             | 字段类型                     | 说明                                                                          |
|:---|:---|:---|
| datname          | name                     | 数据库名称。                                                                      |
| datid            | oid                      | 数据库OID。                                                                     |
| csnmin           | bigint                   | 插入元组时的 CSN（提交序列号）。                                                          |
| csnmax           | bigint                   | 更新或删除元组时的 CSN。                                                              |
| createtime       | timestamp with time zone | 插入元组的时间戳。                                                                   |
| originid         | integer                  | 元组的来源标识符。                                                                   |
| datdba           | oid                      | 数据库所有人，通常为其创建者。                                                             |
| encoding         | integer                  | 数据库的字符编码方式。                                                                 |
| datcollate       | name                     | 数据库使用的字符分类。                                                                 |
| datctype         | name                     | 数据库使用的排序顺序。                                                                 |
| dattablespace    | oid                      | 数据库的缺省表空间。                                                                  |
| datcompatibility | name                     | 数据库兼容模式，当前支持五种兼容模式：ORA、MYSQL、C、M、PG，分别表示兼容O、MY、TD、M-Compatibility和POSTGRES。 |
| dattimezone      | name                     | 数据库时区信息，默认为PRC时区。                                                           |
   
