select * from versions
select * from table_registry
select *from states
select * from state_lineages
select * from mvtables_modified
select compress_start,start_state_count,compress_end,end_state_count,compress_status from compress_log
select * from state_lineages
grant CREATE SESSION to sde;
grant CREATE TABLE to sde;
grant CREATE PROCEDURE to sde;
grant CREATE SEQUENCE to sde;
grant CREATE TRIGGER to sde;
grant CREATE TYPE to sde;
grant CREATE LIBRARY to sde;
grant CREATE PUBLIC SYNONYM to sde;
grant CREATE OPERATOR to sde;
grant CREATE INDEXTYPE to sde;
grant DROP PUBLIC SYNONYM to sde;
grant UNLIMITED TABLESPACE to sde;
grant CREATE VIEW to sde;
prompt * SELECT ANY TABLE is required for compressing the database
prompt * This privilege needs to be granted whenever a compress is run.grant SELECT ANY TABLE to sde;
prompt * ADMINISTER DATABASE TRIGGER can be revoked after install
grant ADMINISTER DATABASE TRIGGER to sde;
grant ADMINISTER DATABASE TRIGGER to sde;
grant SELECT ANY TABLE to sde;
grant SELECT ANY SEQUENCE to sde;
grant EXECUTE ANY PROCEDURE to sde;
grant ANALYZE ANY to sde;
grant ALTER ANY INDEX to sde;
grant ALTER ANY TABLE to sde;
grant CREATE ANY SEQUENCE to sde;
grant CREATE ANY TRIGGER to sde;
grant CREATE ANY INDEX to sde;
grant CREATE ANY PROCEDURE to sde;
grant DROP ANY INDEX to sde;
grant DROP ANY SEQUENCE to sde;
grant DROP ANY TABLE to sde;
grant DROP ANY VIEW to sde;
grant DROP ANY PROCEDURE to sde;
CREATE SMALLFILE TABLESPACE ESRI DATAFILE 'E:\APP\ESRI\ORADATA\ORCL\ESRI'
SIZE 10000M
AUTOEXTEND ON NEXT 200M
MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO DEFAULT NOCOMPRESS
CREATE USER TEST PROFILE DEFAULT IDENTIFIED BY "*******"
DEFAULT TABLESPACE ESRI TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK
create temporary tablespace test_temp
tempfile 'E:\oracle\product\10.2.0\oradata\testserver\test_temp01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
create tablespace test_data
logging
datafile 'E:\oracle\product\10.2.0\oradata\testserver\test_data01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
create user username identified by password
default tablespace test_data
temporary tablespace test_temp;
grant connect,resource to username;
grant dba to username
drop tablespace tablespace_name;
drop tablespace tablespace_name including contents;
drop tablespace tablespace_name including datafiles;
drop tablespace tablespace_name including contents and datafiles;
drop tablespace tablespace_name including contents and datafiles CASCADE CONSTRAINTS;
drop user username cascade
show parameter processes
alter system set processes=3000 scope=spfile;
show parameter sessions
alter system set sessions=3000scope=spfile;
select count(*) from v$open_cursor;
alter system set open_cursors=5000 scope=both;
alter system set sec_case_sensitive_logon=false;
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
ALTER SYSTEM SET DEFERRED_SEGMENT_CREATION = FALSE;
create temporary tablespace 表空间名
tempfile 'E:\DATABASE\GISTEMP.DBF'
size 100m
autoextend on
next 100m maxsize 20480m
extent management local;
create tablespace XXX
datafile 'E:\DATABASE\ XXX.DBF' size 100M
autoextend on next 100M maxsize unlimited logging
extent management local autoallocate
segment space management auto;
03.
create user xxxx
identified by xxxx
default tablespace xxxx
temporary tablespace TEMP;
grant connect to xxxx;
grant resource to xxxx;
GRANT CREATE SESSION, CREATE ANY TABLE, CREATE ANY VIEW ,CREATE ANY INDEX, CREATE ANY PROCEDURE,ALTER ANY TABLE, ALTER ANY PROCEDURE,DROP ANY TABLE, DROP ANY VIEW, DROP ANY INDEX, DROP ANY PROCEDURE,SELECT ANY TABLE, INSERT ANY TABLE, UPDATE ANY TABLE, DELETE ANY TABLE
TO HZCGIS;
grant unlimited tablespace to xxxx;
grant create any view to xxxx;
select * from dba_users;
select * from dba_data_files;
drop user 用户名 cascade;
drop tablespace 用户名 including contents and datafiles cascade constraint;
drop user 用户名 cascade;
drop tablespace 用户名 including contents and datafiles cascade constraint;
select d.username,d.default_tablespace from dba_users d;
select v.USERNAME,v.SID,v.SERIAL# from v$session v where username =upper(用户名)
alter system kill session 用户的sid号
drop user 用户名 cascade
drop tablespace 表空间名 including contents and datafiles;
exp 用户名/用户名@服务地址/orcl file=f:\data.dmp owner=(用户名)
select * from all_tables where owner='TEST';
IMP 用户名/用户名@orcl FILE=f:\data.dmp FULL=Y ignore=y
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?