1. 查看数据库用户
`select * from dba_users;`
2. 创建表空间和数据文件
`create tablespace XX datafile ‘/uXXX.dbf’ size 1000M autoextend on next 100M;`
3.创建用户
`create user NPLM identified by XXX default tablespace XXX;`
4. 授权
```
grant create session to XX;
grant resource to XXXM;
grant create database link to XXM ;
grant create view to XX
```