oracle DBA 常用表和视图】的更多相关文章

☆dba_开头.....   dba_users      数据库用户信息   dba_segments  表段信息   dba_extents    数据区信息   dba_objects    数据库对象信息   dba_tablespaces   数据库表空间信息   dba_data_files    数据文件设置信息   dba_temp_files   临时数据文件信息   dba_rollback_segs   回滚段信息   dba_ts_quotas   用户表空间配额信息  …
Oracle DBA常用查询 –1. 查询系统所有对象select owner, object_name, object_type, created, last_ddl_time, timestamp, statusfrom dba_objectswhere owner=upper('scott') –2. 查看系统所有表select owner, table_name, tablespace_name from dba_tables –3. 查看所有用户的表select owner, tabl…
一.Oracle表明细及说明1.dba_开头表    dba_users           数据库用户信息    dba_segments    表段信息    dba_extents        数据区信息    dba_objects        数据库对象信息    dba_tablespaces 数据库表空间信息    dba_data_files     数据文件设置信息    dba_temp_files    临时数据文件信息    dba_rollback_segs    …
1.2 DBA常用的表1.2.1  dba_开头    dba_users数据库用户信息    dba_segments  表段信息    dba_extents    数据区信息    dba_objects    数据库对象信息    dba_tablespaces   数据库表空间信息    dba_data_files    数据文件设置信息    dba_temp_files   临时数据文件信息    dba_rollback_segs   回滚段信息    dba_ts_quota…
监控SQL 1.监控事例的等待: select event,sum(decode(wait_time,0,0,1)) prev, sum(decode(wait_time,0,1,0)) curr,count(*) from v$session_wait group by event order by 4; 2.回滚段的争用情况: select name,waits,gets,waits/gets ratio from v$rollstat a,v$rollname b where a.usn=…
情景 项目中使用Powerdesigner设计数据结构,在Powerdesigner中数据表和字段都区分了大小写,并生成了Oracle表,在执行Sql脚本时遇到以下问题:“ORA-00942: 表或视图不存在“ 1.问题产生的原因:Oracle 区分字母大小写 例如: 建表方式一: create table user_Info ( user_address VARCHAR2(50) not null, user_name NVARCHAR2(50), constraint PK_T_WINDRA…
2014-06-20 Created By BaoXinjian…
转自:http://www.2cto.com/database/201211/167577.html 1.查询当前用户下,有哪些表 Sql代码   SELECT * FROM user_tables      www.2cto.com   2.查询当前用户下, 可以访问哪些表 [也就是访问自己 和 其他用户的] Sql代码   SELECT * FROM all_tables     3.查询当前数据库所有的表, 需要你有 DBA 的权限 Sql代码   SELECT * FROM dba_ta…
1. 查询系统所有对象 select owner, object_name, object_type, created, last_ddl_time, timestamp, statusfrom dba_objectswhere owner=upper('scott') –2. 查看系统所有表select owner, table_name, tablespace_name from dba_tables –3. 查看所有用户的表select owner, table_name, tablesp…
建议去看参考二 参考一:                                                              call fnd_global.APPS_INITIALIZE(1318,50583,401) select fnd_profile.VALUE('ORG_ID') FROM DUAL select * from hr_operating_units hou where hou.organization_id=204 --fnd select * f…