admin 管理员组

文章数量: 887021


2024年2月7日发(作者:web测试是网页测试吗)

alter any rolealter any rulealter any rule setalter any sequencealter any snapshotalter any tablealter any triggeralter any typealter databasealter profilealter resource costalter rollback segmentalter sessionalter systemalter tablespacealter useranalyze anyaudit anyaudit systembackup any table

debug any proceduredebug connect sessiondelete any tabledequeue any queuedrop any clusterdrop any contextdrop any dimensiondrop any directorydrop any evaluation contextdrop any indexdrop any indextypedrop any librarydrop any operatordrop any outlinedrop any proceduredrop any roledrop any ruledrop any rule setdrop any sequencedrop any snapshotdrop any synonymdrop any tabledrop any triggerdrop any typedrop any viewdrop profiledrop public database linkdrop public synonymdrop rollback segmentdrop tablespace

become usercomment any tablecreate any clustercreate any contextcreate any dimensioncreate any directorycreate any evaluation contextcreate any indexcreate any indextypecreate any librarycreate any operatorcreate any outlinecreate any procedurecreate any rulecreate any rule setcreate any sequencecreate any snapshotcreate any synonymcreate any tablecreate any triggercreate any typecreate any viewcreate clustercreate database linkcreate dimensioncreate evaluation contextcreate indextypecreate librarycreate operatorcreate procedurecreate profilecreate public database linkcreate public synonymcreate rolecreate rollback segmentcreate rulecreate rule setcreate sequencecreate sessioncreate usercreate view

drop userenqueue any queueexecute any evaluation contextexecute any indextypeexecute any libraryexecute any operator

CONNECTCTXAPPDBADELETE_CATALOG_ROLEEJBCLIENTEXECUTE_CATALOG_ROLEEXP_FULL_DATABASEGATHER_SYSTEM_STATISTICSHS_ADMIN_ROLEWKUSERWM_ADMIN_ROLEXDBADMIN

3、权限增加和收回

IMP_FULL_DATABASEJAVADEBUGPRIVJAVAIDPRIVJAVASYSPRIVJAVAUSERPRIVJAVA_ADMINJAVA_DEPLOYLOGSTDBY_ADMINISTRATOROEM_MONITORRECOVERY_CATALOG_OWNERRESOURCESALES_HISTORY_ROLESELECT_CATALOG_ROLEgrant privilege_name to role_namerevoke privilege_name from role_name

1、单表创建直接创建Create table table_name(

(增加权限)(收回权限)

字段 1类型 1,字段 2类型 2,、、、、、字段 n类型 n) tablespace_name;

局部索引create index index_name on table_name (column)local(partition partition_name1 tablespace index_tablespace_name1,partition partition_name2 tablespace index_tablespace_name2,partition partition_name3 tablespace index_tablespace_name3)全局索引create [unique] index index_name on table_name(column)global partition by range(column)(partition partition_name1 value less than(first range value) tablespaceindex_tablespace_name1,partition partition_name2 value less than(second range value) tablespaceindex_tablespace_name 2,、、、、、、、partition partition_nameN value less than(maxvalue) tablespace index_tablespace_nameN)

create [unique] index index_name on table_name(column,[column2])global partition by hash(column,[column2])(partition partition_name1 tablespace index_tablespace_name1,partition partition_name2 tablespace index_tablespace_name 2,、、、、、、、、partition partition_nameN tablespace index_tablespace_nameN)

索引重建:alter index index_name rebuild tablespace tablespace_name nologging online parallel 4;alter index index_name noparallel;

索引删除:drop index index_name;

索引查看:索引相关信息select owner,index_name,table_name,tablespace_name,index_type,degree,status fromdba_indexes;

索引列对照信息select index_name,table_name,column_name,index_owner,table_owner fromdba_ind_columns;索引存储信息select index_name,pct_free,pct_increase,initial_extent,next_extent,min_extents,max_extentsfrom dba_indexes;


本文标签: 测试 权限 创建 相关