Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize user maintenance by Oracle

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to achieve Oracle user maintenance, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

User maintenance

(1) create a user

CREATE USER suntx IDENTIFIED BY "suntx"

DEFAULT TABLESPACE "SUNTX"

TEMPORARY TABLESPACE "SUNTX_TEMP"

PROFILE DEFAULT

QUOTA UNLIMITED ON "SUNTX"

(2) empower users

two。 Run the following command to empower the user

Grant execute on dbms_lock to suntx

Grant create any directory to suntx

GRANT CONNECT TO suntx

GRANT RESOURCE TO suntx

Create directory DUMP_DIR as'/ app/sunline/db'

Create directory BACKUP_DUMP_DIR as'/ app1/backup/week/exp'

Grant read,write on directory DUMP_DIR to suntx

Grant create synonym to suntx

Grant execute on dbms_lock to sunstg

Grant connect to SUNSTG

Grant resource to SUNSTG

-- Grant/Revoke system privileges

Grant create database link to SUNSTG

Grant create procedure to SUNSTG

Grant create sequence to SUNSTG

Grant create table to SUNSTG

Grant create trigger to SUNSTG

Grant create view to SUNSTG

Grant debug any procedure to SUNSTG

Grant debug connect session to SUNSTG

Grant create synonym to suntx

Grant unlimited tablespace to SUNSTG

The above is all the content of this article "how to achieve user maintenance in Oracle". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report