当前位置:网站首页>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
边栏推荐
- 2021.8.29 notes: register, bit operation, pointer, structure
- Watch out for the stolen face! So many risks of face recognition used every day?
- 讲座记录《惯性导航的新应用——惯性测量》
- GBASE 8s活锁、死锁问题的解决
- 【LeetCode】22. bracket-generating
- What is the storage engine and the three common database storage engines for MySQL
- 【LeetCode】148. Sort linked list
- Multithreading structure of gbase 8s
- 微信小程序父子组件之间传值
- sql_ mode=only_ full_ group_ By's pit
猜你喜欢

"Renaissance" in the digital age? The bottom digital collection makes people happy and sad

Musk released humanoid robot. Why is AI significant to musk?

CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep

CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)

mongodb集群

Lecture record: data processing methods and applications of various spatial geodetic techniques

CTF_ Web: Learn flask template injection (SSTI) from 0

关于TCP连接四次握手(或者叫四次挥手)的详细总结

Text keyword extraction: ansj

Basic use of OBS browser+ browser
随机推荐
"Renaissance" in the digital age? The bottom digital collection makes people happy and sad
SQL injection details
Laravel document sorting 1. Installation and Preliminary Configuration
Watch out for the stolen face! So many risks of face recognition used every day?
小白学习MySQL - 统计的'投机取巧'
GBASE 8s的多线程结构
CTF_ Web:8-bit controllable character getshell
Smart contract learning materials
i. Max development board learning record
sql_ mode=only_ full_ group_ By's pit
GBase 8s 锁的分类
Record small knowledge points
navicat可不可以直接操作安卓数据库SQLite
简单的恶意样本行文分析-入门篇
Thorough understanding of database transactions
SQL, CTE, flg case problems
CTF_ Web: Advanced questions of attack and defense world expert zone WP (15-18)
GBASE 8s的级联删除功能
Lecture record: data processing methods and applications of various spatial geodetic techniques
UCLA | 用于黑盒优化的生成式预训练