1、创建表空间 CREATE SMALLFILE TABLESPACE "TS_TEST" DATAFILE'/home/oracle/oradata/datafile/test.dbf' SIZE 500M AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO DEFAULT NOCOMPRESS; 2、创建
用户 CREATE USER "TEST" PROFILE "DEFAULT" IDENTIFIED BY test DEFAULT TABLESPACE "TS_TEST" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK; 3、赋予DBA权限 GRANT "CONNECT","DBA","EXP_FULL_DATABASE","IMP_FULL_DATABASE" TO "TEST"; 4、
修改密码 alter user TEST identified by oracle_test;