這篇文章給大家分享的是有關(guān)oracle DBA如何實(shí)現(xiàn)角色重建的內(nèi)容。小編覺得挺實(shí)用的,因此分享給大家做個(gè)參考,一起跟隨小編過(guò)來(lái)看看吧。
站在用戶的角度思考問(wèn)題,與客戶深入溝通,找到合江網(wǎng)站設(shè)計(jì)與合江網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類型包括:做網(wǎng)站、成都網(wǎng)站制作、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、主機(jī)域名、網(wǎng)頁(yè)空間、企業(yè)郵箱。業(yè)務(wù)覆蓋合江地區(qū)。
由于誤操作,在pl/sql developer中直接將公司測(cè)試數(shù)據(jù)庫(kù)服務(wù)器中DBA 角色給刪除了,導(dǎo)致system用戶建立普通用戶的權(quán)限丟失,只好協(xié)助其重建,通過(guò)晚上查看資料,過(guò)程如下:
-- Create the rolecreate role DBA;
-- Grant/Revoke object privileges
grantexecuteon DBMS_DBVERIFY to DBA;
grantexecuteon DBMS_DEFER_QUERY to DBA;
grantexecuteon DBMS_DEFER_SYS to DBA;
grantexecuteon DBMS_FEATURE_USAGE to DBA;
grantexecuteon DBMS_FLASHBACK to DBA;
grantexecuteon DBMS_MONITOR to DBA;
grantexecuteon DBMS_RESUMABLE to DBA;
grantexecuteon DBMS_SERVER_ALERT to DBA;
grantexecuteon DBMS_SERVER_TRACE to DBA;
grantexecuteon DBMS_SERVICE to DBA;
grantexecuteon DBMS_STORAGE_MAP to DBA;
grantexecuteon DBMS_UADV_ARR to DBA;
grantexecuteon DBMS_UNDO_ADV to DBA;
grantexecuteon DBMS_WORKLOAD_REPOSITORY to DBA;
grantexecuteon LOAD_UNDO_STAT to DBA;
grantselect, insert, update, delete, alteron MAP_OBJECT to DBA;
grantexecuteon OUTLN_EDIT_PKG to DBA;
grantexecuteon OUTLN_PKG to DBA;
grantexecuteon RESET_UNDO_STAT to DBA;
-- Grant/Revoke role privileges
grant delete_catalog_role to DBA with admin option;
grant execute_catalog_role to DBA with admin option;
grant exp_full_database to DBA;
grant gather_system_statistics to DBA;
grant imp_full_database to DBA;
grant java_admin to DBA;
grant java_deploy to DBA;
grant olap_dba to DBA;
grant scheduler_admin to DBA with admin option;
grant select_catalog_role to DBA with admin option;
grant wm_admin_role to DBA;
grant xdbadmin to DBA;
-- Grant/Revoke system privileges
grant administer any sql tuning setto DBA with admin option;
grant administer databasetriggerto DBA with admin option;
grant administer resource manager to DBA with admin option;
grant administer sql tuning setto DBA with admin option;
grant advisor to DBA with admin option;
grantalterany cluster to DBA with admin option;
grantalterany dimension to DBA with admin option;
grantalterany evaluation context to DBA with admin option;
grantalteranyindexto DBA with admin option;
grantalterany indextype to DBA with admin option;
grantalterany library to DBA with admin option;
grantalterany materialized viewto DBA with admin option;
grantalterany outline to DBA with admin option;
grantalteranyprocedureto DBA with admin option;
grantalterany role to DBA with admin option;
grantalteranyruleto DBA with admin option;
grantalteranyrulesetto DBA with admin option;
grantalterany sequence to DBA with admin option;
grantalterany sql profile to DBA with admin option;
grantalteranytableto DBA with admin option;
grantalteranytriggerto DBA with admin option;
grantalterany type to DBA with admin option;
grantalterdatabaseto DBA with admin option;
grantalter profile to DBA with admin option;
grantalter resource cost to DBA with admin option;
grantalterrollback segment to DBA with admin option;
grantalter session to DBA with admin option;
grantalter system to DBA with admin option;
grantalter tablespace to DBA with admin option;
grantalteruserto DBA with admin option;
grant analyze anyto DBA with admin option;
grant analyze any dictionary to DBA with admin option;
grant audit anyto DBA with admin option;
grant audit system to DBA with admin option;
grantbackupanytableto DBA with admin option;
grant become userto DBA with admin option;
grant comment anytableto DBA with admin option;
grantcreateany cluster to DBA with admin option;
grantcreateany context to DBA with admin option;
grantcreateany dimension to DBA with admin option;
grantcreateany directory to DBA with admin option;
grantcreateany evaluation context to DBA with admin option;
grantcreateanyindexto DBA with admin option;
grantcreateany indextype to DBA with admin option;
grantcreateany job to DBA with admin option;
grantcreateany library to DBA with admin option;
grantcreateany materialized viewto DBA with admin option;
grantcreateany operator to DBA with admin option;
grantcreateany outline to DBA with admin option;
grantcreateanyprocedureto DBA with admin option;
grantcreateanyruleto DBA with admin option;
grantcreateanyrulesetto DBA with admin option;
grantcreateany sequence to DBA with admin option;
grantcreateany sql profile to DBA with admin option;
grantcreateany synonym to DBA with admin option;
grantcreateanytableto DBA with admin option;
grantcreateanytriggerto DBA with admin option;
grantcreateany type to DBA with admin option;
grantcreateanyviewto DBA with admin option;
grantcreate cluster to DBA with admin option;
grantcreatedatabase link to DBA with admin option;
grantcreate dimension to DBA with admin option;
grantcreate evaluation context to DBA with admin option;
grantcreate indextype to DBA with admin option;
grantcreate job to DBA with admin option;
grantcreate library to DBA with admin option;
grantcreate materialized viewto DBA with admin option;
grantcreate operator to DBA with admin option;
grantcreateprocedureto DBA with admin option;
grantcreate profile to DBA with admin option;
grantcreatepublicdatabase link to DBA with admin option;
grantcreatepublic synonym to DBA with admin option;
grantcreate role to DBA with admin option;
grantcreaterollback segment to DBA with admin option;
grantcreateruleto DBA with admin option;
grantcreaterulesetto DBA with admin option;
grantcreate sequence to DBA with admin option;
grantcreate session to DBA with admin option;
grantcreate synonym to DBA with admin option;
grantcreatetableto DBA with admin option;
grantcreate tablespace to DBA with admin option;
grantcreatetriggerto DBA with admin option;
grantcreate type to DBA with admin option;
grantcreateuserto DBA with admin option;
grantcreateviewto DBA with admin option;
grant debug anyprocedureto DBA with admin option;
grant debug connect session to DBA with admin option;
grantdeleteanytableto DBA with admin option;
grant dequeue any queue to DBA with admin option;
grantdropany cluster to DBA with admin option;
感謝各位的閱讀!關(guān)于“oracle DBA如何實(shí)現(xiàn)角色重建”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,讓大家可以學(xué)到更多知識(shí),如果覺得文章不錯(cuò),可以把它分享出去讓更多的人看到吧!
文章名稱:oracleDBA如何實(shí)現(xiàn)角色重建
瀏覽路徑:http://chinadenli.net/article34/geocpe.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站設(shè)計(jì)、定制開發(fā)、網(wǎng)站設(shè)計(jì)、ChatGPT、品牌網(wǎng)站建設(shè)、服務(wù)器托管
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)