- Mastering Oracle Scheduler in Oracle 11g Databases
- Ronald Rood
- 202字
- 2021-04-01 14:12:52
Creating a user
When working with simple jobs, our basic need is to create a user. In DB Console, there is a default user sysman
. We can use this or the user system
. However, it is better to create a dedicated user for different tasks. This prevents us from giving too many privileges to jobs and maintains auditability. So, let's first create a normal user who does the work for us:
create user marvin identified by panic; grant create session, create job to marvin; grant select any dictionary to marvin; create user stats identified by nopanic; alter user stats quota unlimited on users; create table stats.session_log as select * from v$session where 1 = 2; create table stats.session_stat_log as select * from v$mystat where 1 = 2; grant select,insert,update,delete on stats.session_log to marvin; grant select,insert,update,delete on stats.session_stat_log to marvin; create public synonym session_log for stats.session_log; create public synonym session_stat_log for stats.session_stat_log;
The select any dictionary
privilege is mainly because we want to use DB Console. For this, it must view a lot from the dictionary. Now start a web browser and connect to the freshly created user marvin
. The Oracle Scheduler support is provided in the Server tab of the DB Console.
推薦閱讀
- Adobe創(chuàng)意大學(xué)After Effects CS5 產(chǎn)品專(zhuān)家認(rèn)證標(biāo)準(zhǔn)教材
- GIMP 2.6 cookbook
- 數(shù)碼攝影后期零基礎(chǔ)入門(mén)教程
- 中文版Maya 2012實(shí)用教程(第2版)
- Dreamweaver基礎(chǔ)與實(shí)戰(zhàn)教程
- Hadoop核心技術(shù)
- 視覺(jué)封王:Photoshop CC 2019立體化教程(素材+視頻+教案)
- Python Text Processing with NLTK 2.0 Cookbook: LITE
- 中文版CorelDRAW基礎(chǔ)培訓(xùn)教程
- Plone 3 Multimedia
- Blender 3D Architecture, Buildings, and Scenery
- CAD/CAM軟件應(yīng)用技術(shù)
- 板繪教室:SAI零基礎(chǔ)日系動(dòng)漫插畫(huà)入門(mén)教程
- 3ds Max 2015中文版從入門(mén)到精通
- AutoCAD 2016中文版完全自學(xué)手冊(cè)