Answer the question
In order to leave comments, you need to log in
How to create a schema?
Oracle database. It is written on the Internet that in order to create a scheme, you need to make a tablespace and create a user in it.
First I created the main tailbspace:
CREATE BIGFILE TABLESPACE t
DATAFILE 't.dat'
SIZE 1024M
REUSE
AUTOEXTEND ON NEXT 1024M MAXSIZE 4096M;
CREATE BIGFILE TABLESPACE t_temp
DATAFILE 't_temp.dbf' SIZE 1024M
EXTENT MANAGEMENT LOCAL AUTOALLOCATE;
CREATE USER t
IDENTIFIED BY pass
DEFAULT TABLESPACE t QUOTA 1024M ON t
TEMPORARY TABLESPACE t_temp QUOTA 1024M ON t_temp;
Error report:
SQL Error: ORA-10615: Invalid tablespace type for temporary tablespace
10615. 00000 - "Invalid tablespace type for temporary tablespace"
*Cause: Tablespace with AUTO SEGMENT SPACE MANAGENEMT specified cannot be
used as a temporary tablespace
*Action: Recheck the tablespace name and re-issue the statement
Answer the question
In order to leave comments, you need to log in
in order to create a schema, you need to make a tablespace and create a user in it
After I make a tempo tablespace (although I would like everything in one tablespace):
CREATE TEMPORARY TABLESPACE temp_demo TEMPFILE 'temp01.dbf' SIZE 500M AUTOEXTEND ON;
select * from dba_temp_files;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question