CREATE TABLESPACE CPORTAL LOGGING DATAFILE
CREATE USER CPORTAL PROFILE DEFAULT IDENTIFIED BY CPORTAL DEFAULT
TABLESPACE CPORTAL TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;
GRANT CONNECT TO CPORTAL;
GRANT RESOURCE TO CPORTAL;
ALTER SYSTEM SET sga_target =
ALTER SYSTEM SET pga_aggregate_target =
ALTER SYSTEM SET OPEN_CURSORS=
ALTER SYSTEM SET processes=
ALTER SYSTEM SET remote_login_passwordfile = NONE
SCOPE=SPFILE;
create pfile from spfile;
ALTER DATABASE TEMPFILE
ALTER DATABASE DATAFILE
ALTER DATABASE DATAFILE
select t
where t
group by t
select sum(bytes)/(
from dba_free_space
group by tablespace_name;
select tablespace_name
round(bytes/(
from dba_data_files
order by tablespace_name;
select owner
select name from v$controlfile
select member from v$logfile
alter system kill session
select sid
From:http://tw.wingwit.com/Article/program/Oracle/201311/16814.html