Skip to main content

Create Table Space in Oracle DB

Following are the queries which can be used to create table space in Oracle DB.

CREATE BIGFILE TABLESPACE "TABLESPACENAME" DATAFILE 'C:/oraclexe/app/oracle/oradata/TableSpaceName.dbf' SIZE 500M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;

alter TABLESPACE "TABLESPACENAME" AUTOEXTEND ON MAXSIZE unlimited;

CREATE USER USERNAME IDENTIFIED BY PASSWORD DEFAULT TABLESPACE "TABLESPACENAME" TEMPORARY TABLESPACE temp;

ALTER USER USERNAME QUOTA unlimited ON "TABLESPACENAME";

grant all privileges to TABLESPACENAME;

commit;

Comments

Popular posts from this blog

Setting up a Servlet development environment in a pc

This tutorial provides step by step instructions to setup the development environment required to test various servlet examples given throughout all the tutorials. This tutorial will also be helpful when you start practicing servlets yourself. List of required softwares: JAVA 1.5 or 1.6 Tomcat 5.5.16 eclipse 3.3 Note: this tutorial explains how to install required software on your windows based PC only. Click here to know more