Professional Documents
Culture Documents
Createuser Databasemanagementsecurity 141014061703 Conversion Gate02
Createuser Databasemanagementsecurity 141014061703 Conversion Gate02
if you enclose the user name in double quotation marks, then the name is
stored using the case sensitivity that you used for the name. (p. 2-3)
USERS tablespace
Create New User Without Determine which Tablespace:
set a user default tablespace during user creation, and change it later
with the ALTER USER statement. (refer slide 9)
Changing the user default tablespace affects only objects created after the
setting is changed.
10
11
Temporary Tablespace
If <user explicitly dont create> then
<Else>
Method 1
Method 2
By an ALTER DATABASE
Statement at a later time
(slide 14)
12
from DBA_USERS
where USERNAME='AMAR';
TEMPORARY_TABLESPACE
-----------------------------TEMP
SQL> CREATE TEMPORARY TABLESPACE TEMP_TS TEMPFILE 'C:\TEMP\AMAR_tEMP.DBF'
SIZE 20M REUSE
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;
Tablespace created.
User altered.
SQL> select TEMPORARY_TABLESPACE
USERNAME='AMAR';
from DBA_USERS
where
TEMPORARY_TABLESPACE
-----------------------------TEMP_TS
Chapter 3 - Dr. Girija Narasimhan
13
ALTER DATABASE
from DBA_USERS
where
TEMPORARY_TABLESPACE
-----------------------------TEMP
SQL> alter database default temporary tablespace TEMP_TS;
Database altered.
from DBA_USERS
where
TEMPORARY_TABLESPACE
-----------------------------TEMP_TS
Chapter 3 - Dr. Girija Narasimhan
14
Profile created.
Chapter 3 - Dr. Girija Narasimhan
15
16
currently
assigned to a
user, use the
CASCADE
option.
17
18
19
21
22
23
24
LAB EXERCISE
Step 1: create profile
create profile clerk limit
sessions_per_user 1
idle_time 30
connect_time 600;
Step 2: create temporary tablespace
27
LAB EXERCISE
28
CASE STUDY
Create a Manager profile, Default tablespace Zahra_data, temporary tablespace
zahra_temp. And assign profile, default tablespace, temporary tablespace and
also assign quota 500k to user Zahra.
29
Reference
Chapter
chapter 3 --Dr.
Dr. Girija
Girija Narasimhan
Narasimhan
30
SYSTEM tablespace
The primary tablespace in any database is the SYSTEM
tablespace, which contains information basic to the
functioning of the database server, such as the data
dictionary and the system rollback segment.
The SYSTEM tablespace is the first tablespace created
at database creation.
It is managed as any other tablespace, but requires a
higher level of privilege and is restricted in some ways.
For example, you cannot rename or drop the SYSTEM
tablespace or take it offline.
Chapter
chapter 3 --Dr.
Dr. Girija
Girija Narasimhan
Narasimhan
31
Chapter
chapter 3 --Dr.
Dr. Girija
Girija Narasimhan
Narasimhan
32
Oracle Database
Security Guide
11g Release 2 (11.2)
E36292-05
March 2014
This lecturer notes content prepared based on above given oracle database
security guide only.
33