https://github.com/gangly/datafaker
yum install python3 -y
rm -f /usr/bin/python
ln -s /usr/bin/python3 /usr/bin/python
sed -i “s:
sed -i “s:
pip3 install datafaker -i https://mirrors.aliyun.com/pypi/simple/
pip3 install cx-Oracle -i https://mirrors.aliyun.com/pypi/simple/
create tablespace test datafile '/u01/app/oracle/oradata/ORCLT/test02.dbf' size 1024M;
create user test identified by test default tablespace test;
grant connect,resource to test;
grant unlimited tablespace to test;
drop table test.stu purge;
create table test.stu (
id NUMBER primary key,
name varchar2(20) not null,
school varchar2(20) not null,
nickname varchar2(20) not null,
age NUMBER not null,
class_num NUMBER not null,
score NUMBER(4,2) not null,
phone NUMBER not null,
email varchar2(64),
ip varchar2(32),
address CLOB
);