This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4950|Reply: 0

OceanBase data exports incomplete pits

[Copy link]
Posted on 1/19/2022 1:17:38 PM | | | |
First, download the official OceanBase Developer Center tools, as follows:

OceanBase Database Management Tool Download
https://www.itsvse.com/thread-10236-1-1.html
I used toThe OceanBase version is Community Edition 3.1.0When exporting using the OBC tool, the export can be successful, but the data amount is incomplete, as shown in the figure below:


The exported data is incomplete because it does not report an error, it is not found at the beginning, and the amount of data does not exceed 2G, and the data is found to be incomplete afterwards, which can be found in the alarm log, as shown in the figure below:



2022-01-19 11:14:14 [WARN] Query SELECT DBMS_METADATA. GET_DDL(OBJECT_TYPE, OBJECT_NAME) FROM USER_OBJECTS WHERE OBJECT_TYPE='INDEX' to get index definitions if observer is oboracle v2250+
2022-01-19 11:14:15 [WARN] Query SELECT DBMS_METADATA. GET_DDL(OBJECT_TYPE, OBJECT_NAME) FROM USER_OBJECTS WHERE OBJECT_TYPE='INDEX' to get index definitions if observer is oboracle v2250+
2022-01-19 11:14:15 [WARN] Query SELECT DBMS_METADATA. GET_DDL(OBJECT_TYPE, OBJECT_NAME) FROM USER_OBJECTS WHERE OBJECT_TYPE='INDEX' to get index definitions if observer is oboracle v2250+
2022-01-19 11:14:22 [WARN] Stop dump: itsvse.aaa Size: 13592097 >= 13591669
2022-01-19 11:14:23 [WARN] Stop dump: itsvse.bb Size: 13591846 >= 13591669
2022-01-19 11:14:25 [WARN] Stop dump: itsvse.cc Size: 13591702 >= 13591669
2022-01-19 11:14:26 [WARN] Stop dump: itsvse.dd Size: 13591671 >= 13591669
2022-01-19 11:14:27 [WARN] Stop dump: itsvse.ee Size: 13591943 >= 13591669
2022-01-19 11:14:30 [WARN] Stop dump: itsvse.ff Size: 13592037 >= 13591669
If you try to export using the obdumper tool, you will also get the following error:

[ERROR] create connection SQLException, url: jdbc:mysql://127.0.0.1:2883/oceanbase? useUnicode=true&characterEncoding=utf8&socketTimeout=1800000&connectTimeout=180000&usePipelineAuth=false&verifyServerCertificate=false&useSSL=false, errorCode 1193, state HY000 java.sql.SQLTransientConnectionException: Could not connect to address=(host=127.0.0.1)(port=2883)(type=master) : Unknown system variable 'session_track_schema'
Error cause

Starting from version V3.0.0 of the Derivatives Tool, the Derivatives tool supports the OceanBase Community Edition.

The community derivative tool (OBLOADER & OBDUMPER) needs to be paired with the community versionOceanBase V3.1.2 and aboveUse.

solution, upgrade the OceanBase version.




Previous:【Actual combat】Hikvision face recognition attendance machine enters personnel and faces
Next:The Spring JdbcTemplate console outputs SQL statements and parameters
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com