
478 > 第 6 章:测试 OceanBase 数据库
├── oceanbase
│ ├── commons-lang-2.3.jar
│ ├── guava-18.0.jar
│ ├── json-20160810.jar
│ ├── oceanbaseclient1.1.10.jar
│ └── toolkit-common-logging-1.10.jar
├── oracle
│ ├── oceanbaseclient1.1.10.jar
│ └── README.txt
└── postgres
└── postgresql-9.3-1102.jdbc41.jar
4 directories, 14 files
数据准备
建表
建表脚本通常放在 run/sql.common 下或者其他指定目录下。建表脚本可以选择非分区表方案
和分区表方案。
非分区表
[root@obce-0000 run]# sh runSQL.sh props.ob sql.common/tableCreates.sql
# ------------------------------------------------------------
# Loading SQL file sql.common/tableCreates.sql
# ------------------------------------------------------------
.:../lib/oracle/*:../lib/*:../dist/*
-Dprop=props.ob -DcommandFile=sql.common/tableCreates.sql
create table bmsql_config (
cfg_name varchar(30) primary key,
评论