initdb -U SYSTEM -W 666666 --database=TEST --ssousername=S --ssopassword=S --saousername=A -D D:KingbaseESV7data --case-insensitive
kingbase --install kingbase7_instance -D D:KingbaseESV7data -p 54321 -U system
isql -U bduser -W 666666 -p 54321 -d WORK_TEST
create user bduser password '666666' ;
alter user bduser with SUPERUSER;
alter user bduser with CREATEDB;
CREATE DATABASE "WORK_TEST" WITH ENCODING = 'GBK';
select * from sys_datafiles;
alter tablespace SYSTEM add datafile (name=UWORK_TEST_1 filename='D:/Kingbase/ES/V7/data/DB/UWORK_TEST_1.dbf' size=20 maxsize=16000 filegrowth=10);
alter tablespace SYSTEM add datafile (name=UWORK_TEST_2 filename='D:/Kingbase/ES/V7/data/DB/UWORK_TEST_2.dbf' size=20 maxsize=16000 filegrowth=10);
alter tablespace SYSTEM add datafile (name=UWORK_TEST_3 filename='D:/Kingbase/ES/V7/data/DB/UWORK_TEST_3.dbf' size=20 maxsize=16000 filegrowth=10);
sys_dump -U bduser -W 666666 -p54321 -t PUBLIC.A_TEST -f D:A_TEST.dmp WORK_TEST
sys_restore -U bduser -W 666666 -p 54321 -d WORK_TEST D:A_TEST.dmp