oracle installation tutorial:
https://www.imooc.com/video/6542
ORACLE table space is created steps:
Sql Code
/ * A four-step * /
/ * Step 1: Create a temporary table space * /
create temporary tablespace user_temp
tempfile 'D:\oracle\oradata\Oracle9i\user_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/ * Step 2: Create a data table space * /
create tablespace user_data
logging
datafile 'D:\oracle\oradata\Oracle9i\user_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/ * Step 3: Create a user and specify the table space * /
create user username identified by password
default tablespace user_data
temporary tablespace user_temp;
/ * Step 4: grant privileges to the user * /
grant connect,resource,dba to username;
Admp put into your machine as defined Oracle Directory directory, which is the key, you first log in to see the Oracle parameter ATA_ PUMP DIR, I was
DATA_ PUMP__DIR = D you have to copy the files to here, and then run MPDP
impdp LXK / LXK dumpfile = lxk_data dmp logfile = lxk_bak . log
And then in the window that pops up, click grant unlimited tablespace to enter a user name ", enter OK, get operation table space privileges.