当前位置:网站首页>Oracle tablespaces, users, and authorization to users

Oracle tablespaces, users, and authorization to users

2022-06-11 02:08:00 tonysh_ zds

oracle All data of users in are stored in the table space , Many users can share a table space , You can also specify that a user only uses a certain table space .
Table space : Creating a tablespace will create a data file on the physical disk , As a database object ( user 、 surface 、 Stored procedures and so on ) Physical storage space ;
user : The creating user must specify a tablespace for it , If no default tablespace is explicitly specified , Is specified as users Table space ; After creating the user , Can be on the user , Create table 、 Stored procedures and other database objects ;

notes : The following operations are in sys Under the user
1. Create tablespace

LAOMA: Tablespace name .
route : Represents the storage table space ***.dbf The address of
100M: Indicates the size of the table space

2. Create users and specify tablespaces

LAOMA_USER: User name
password: User password
LAOMA: Table space name assigned to the user

3. Authorize users

Express the connect,resource Authority granted to LAOMA user

Express the dba Permission granted to LAOMA user , Authorized success .

4. Assign the new tablespace to an existing user

It means that you will LAOMA This table space is assigned to LAOMA_ONE This existing user

原网站

版权声明
本文为[tonysh_ zds]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020620097227.html