当前位置:网站首页>Data import and export for gbase 8s
Data import and export for gbase 8s
2022-06-25 04:33:00 【Eight delicacies tofu】
During data level migration , May adopt dbexport/dbimport To complete .dbexport Export schema scripts and table data files for all objects in the database , The schema script includes the creation script of tables and so on , It also contains the information of the exported table to the data file .dbimport Import according to the schema script , In the import process, first create objects according to the schema script , The process of importing corresponding data is similar to load The process . If you want to speed up the import , You can select the log mode of the database as nolog Pattern . After importing, change the log mode .
dbexport Export the database to ASCII File or tape .dbimport Use dbexport The generated schema files and data rebuild the database . Users can edit the schema file to modify dbimport Generated database schema .
The following example is the database dbname Data exported to /data/dbname Under the table of contents :
dbexport dbnme -c -ss -o /data/dbname
When the export is complete , stay dbname Create one in the directory dbname.exp The catalog of , Find... Under this directory
dbname.sql Schema script file , You need to use tools to verify the correctness of the script Syntax ( The exported script may have syntax errors ), If necessary , Should be modified and corrected .
The following example is to import the above exported data in buffered log mode default_dbspacename in :
dbimport dbname -i /data/dbname -c -l buffered -d default_dbspacename
After import , Perform statistical updates at the database level :
update statistics
边栏推荐
- 冰冰学习笔记:循环队列的实现
- Gbase 8s overall architecture
- What is data persistence?
- 小白学习MySQL - 统计的'投机取巧'
- UCLA | generative pre training for black box optimization
- Lecture record: history and development of strapdown inertial navigation solution
- EasyRecovery15非常好用的电脑数据恢复软件
- Vigilance against over range collection of privacy - ten mobile app violations
- A detailed summary of four handshakes (or four waves) over TCP connections
- A-table mouse over the display hand, the current line can be clicked
猜你喜欢

A detailed summary of four handshakes (or four waves) over TCP connections

Gbase 8s index R tree

CTF_ Web: advanced problem WP (5-8) of attack and defense world expert zone

Record small knowledge points

CTF_ Web:8-bit controllable character getshell

Coinlist how to operate the middle lot number security tutorial

Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'

记录小知识点

无法安装redis接口

GBASE 8s 索引R树
随机推荐
CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep
坐标系左乘右乘
Text keyword extraction: ansj
MySQL order by
Openmmlab environment configuration
Laravel document sorting 2. Route related
CTF_ Web: basic 12 questions WP of attack and defense world novice zone
论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)
2021.8.29 notes: register, bit operation, pointer, structure
Package for gbase 8s
The yii2 debug toolbar is missing
Gbase 8s stored procedure execution and deletion
navicat可不可以直接操作安卓数据库SQLite
简单的恶意样本行文分析-入门篇
GBASE 8s的级联删除功能
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
PostgreSQL数据库WAL——RM_HEAP_ID日志记录动作
A detailed summary of TCP connection triple handshake
深度学习——几种学习类型
Laravel document sorting 6. Response