Creation of Oracle Tablespace __oracle

Source: Internet
Author: User

ALTER DATABASE DEFAULT Temporary tablespace "SYSTEM"
ALTER DATABASE tempfile ' F:/oracle/product/10.1.0/oradata/orcl/temp01. DBF ' RESIZE 200M
ALTER DATABASE tempfile ' F:/oracle/product/10.1.0/oradata/orcl/temp01. DBF ' Autoextend off


CREATE bigfile tablespace "apptbl" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/apptbl01. DBF ' SIZE 1024M autoextend on NEXT 256M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' apptbl '); End;


CREATE USER Swifts profile default identified by Swifts default tablespace apptbl temporary TEMP;
GRANT "CONNECT" to "Swifts"
GRANT RESOURCE to Swifts;
ALTER USER ' Swifts ' QUOTA Unlimited on ' aotocre_tbl ' QUOTA Unlimited on ' apptbl ' QUOTA 0 K on ' basedata ' QUOTA unlimited O N "Batchdata" QUOTA Unlimited on "Query_tbl" QUOTA Unlimited on "TEMP"
ALTER USER "Swifts" QUOTA Unlimited on "Basedata" QUOTA Unlimited on "Indx_tbl"


CREATE bigfile tablespace "basedata" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/basedata01. DBF ' SIZE 2048M autoextend on NEXT 1024M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' basedata '); End;


CREATE bigfile tablespace "batchdata" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/batchdata01. DBF ' SIZE 4096M autoextend on NEXT 2048M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' batchdata '); End;

CREATE bigfile tablespace "query_tbl" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/query_tbl01. DBF ' SIZE 4096M autoextend on NEXT 1024M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' query_tbl '); End;


CREATE bigfile tablespace "aotocre_tbl" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/aotocre_tbl01. DBF ' SIZE 4096M autoextend on NEXT 1024M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' aotocre_tbl '); End;

CREATE bigfile tablespace "indx_def" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/indx_def01. DBF ' SIZE 4096M autoextend on NEXT 1024M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT space MANAGEMENT AUTO
BEGIN Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' indx_def '); End;


CREATE bigfile tablespace "indx_tbl" DataFile ' f:/oracle/product/10.1.0/oradata/orcl/indx_tbl01. DBF ' SIZE 4096M autoextend on NEXT 2048M MAXSIZE Unlimited LOGGING EXTENT MANAGEMENT local SEGMENT spaces MANAGEMENT AUTO Br>begin Dbms_server_alert. Set_threshold (9000,null,null,null,null,1,1,null,5, ' indx_tbl '); End;
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.