工作中 Oracle 常用数据字典集锦

DBA工作中数据字典就等同于我们本和笔,时时刻刻也分不开的,不管是看状态,还是监控,都需要数据字典的支持,本文整理出来常用的数据字典系列,帮助大家来记住

dba工作中数据字典就等同于我们本和笔,时时刻刻也分不开的,香港服务器,不管是看状态,还是监控,香港服务器租用,都需要数据字典的支持,免备案空间,本文整理出来常用的数据字典系列,帮助大家来记住和汇总以便查询利用

all_catalog all tables, views, synonyms, sequences accessible to the user  
all_col_comments comments on columns of accessible tables and views  
all_col_grants_made grants on columns for which the user is owner or grantor  
all_col_grants_recd grants on columns for which the user 
                    or public is the grantee  
all_col_privs grants on columns for which the user is the grantor, grantee,
               owner, or an enabled role or public is the grantee  
all_col_privs_made grants on columns for which the user is owner or grantor  
all_col_privs_recd grants on columns for which the user, 
                   public or enabled role is the grantee  
all_constraints constraint definitions on accessible tables  
all_cons_columns information about accessible columns 
                 in constraint definitions  
all_db_links database links accessible to the user  
all_def_audit_opts auditing options for newly created objects  
all_dependencies dependencies to and from objects accessible to the user  
all_errors current errors on stored objects that user is allowed to create  
all_indexes descriptions of indexes on tables accessible to the user  
all_ind_columns columns comprising indexes on accessible tables  
all_objects objects accessible to the user  
all_refresh all the refresh groups that the user can touch  
all_refresh_children all the objects in refresh groups, 
                     where the user can touch the group  
all_sequences description of sequences accessible to the user  
all_snapshots snapshots the user can look at  
all_source current source on stored objects that user is allowed to create  
all_synonyms all synonyms accessible to the user  
all_tables description of tables accessible to the user  
all_tab_columns columns of all tables, views and clusters  
all_tab_comments comments on tables and views accessible to the user  
all_tab_grants_made user’s grants and grants on user’s objects  
all_tab_grants_recd grants on objects for which the user or public 
                     is the grantee  
all_tab_privs grants on objects for which the user is the grantor, 
             grantee, owner, or an enabled role or public is the grantee  
all_tab_privs_made user’s grants and grants on user’s objects  
all_tab_privs_recd grants on objects for which the user, 
                    public or enabled role is the grantee  
all_triggers triggers accessible to the current user  
all_trigger_cols column usage in user’s triggers or in 
                        triggers on user’s tables  
all_users information about all users of the database  
all_views text of views accessible to the user  
user_audit_connect audit trail entries for user logons/logoffs  
user_audit_object audit trail records for statements concerning objects, 
                  specifically: table, cluster, view, index, sequence, 
                  [public] database link, [public] synonym, procedure, trigger,
                   rollback segment, tablespace, role, user  
user_audit_session    
user_audit_statement audit trail records concerning grant, 
                     revoke, audit, noaudit and alter system  
user_audit_trail audit trail entries relevant to the user  
user_catalog tables, views, synonyms and sequences owned by the user  
user_clusters descriptions of user’s own clusters  
user_clu_columns mapping of table columns to cluster columns  
user_col_comments comments on columns of user’s tables and views  
user_col_grants grants on columns for which the user 
                 is the owner, grantor or grantee  
user_col_grants_made all grants on columns of objects owned by the user  
user_col_grants_recd grants on columns for which the user is the grantee  
user_col_privs grants on columns for which the user 
                is the owner, grantor or grantee  
user_col_privs_made all grants on columns of objects owned by the user  
user_col_privs_recd grants on columns for which the user is the grantee  
user_constraints constraint definitions on user’s own tables  
user_cons_columns information about accessible columns 
                  in constraint definitions  
user_cross_refs cross references for user’s views and synonyms  
user_db_links database links owned by the user  
user_dependencies dependencies to and from a users objects  
user_errors current errors on stored objects owned by the user  
user_extents extents comprising segments owned by the user  
user_free_space free extents in tablespaces accessible to the user  
user_indexes description of the user’s own indexes  
user_ind_columns columns comprising user’s 
                        indexes or on user’s tables  
user_jobs all jobs owned by this user  
user_objects objects owned by the user  
user_object_size sizes, in bytes, of various pl/sql objects  
user_obj_audit_opts auditing options for user’s own tables and views  
user_refresh all the refresh groups  
user_refresh_children all the objects in refresh groups, 
                       where the user owns the refresh group  
user_resource_limits display resource limit of the user  
user_role_privs roles granted to current user  
user_segments storage allocated for all database segments  
user_sequences description of the user’s own sequences  
user_snapshots snapshots the user can look at  
user_snapshot_logs all snapshot logs owned by the user  
user_source source of stored objects accessible to the user  
user_synonyms the user’s private synonyms  
user_sys_privs system privileges granted to current user  
user_tables description of the user’s own tables  
user_tablespaces description of accessible tablespaces  
user_tab_audit_opts auditing options for user’s own tables and views  
user_tab_columns columns of user’s tables, views and clusters  
user_tab_comments comments on the tables and views owned by the user  
user_tab_grants grants on objects for which the user 
                is the owner, grantor or grantee  
user_tab_grants_made all grants on objects owned by the user  
user_tab_grants_recd grants on objects for which the user is the grantee  
user_tab_privs grants on objects for which the user is the owner, grantor or grantee  
user_tab_privs_made all grants on objects owned by the user  
user_tab_privs_recd grants on objects for which the user is the grantee  
user_triggers triggers owned by the user  
user_trigger_cols column usage in user’s triggers  
user_ts_quotas tablespace quotas for the user  
user_users information about the current user  
user_views text of views owned by the user  
audit_actions description table for audit trail action type codes. 
                 maps action type numbers to action type names  
column_privileges grants on columns for which the user is the grantor, 
              grantee, owner, or an enabled role or public is the grantee  
dictionary description of data dictionary tables and views  
dict_columns description of columns in data dictionary tables and views  
dual    
global_name global database name  
index_histogram statistics on keys with repeat count  
index_stats statistics on the b-tree  
resource_cost cost for each resource  
role_role_privs roles which are granted to roles  
role_sys_privs system privileges granted to roles  
role_tab_privs table privileges granted to roles  
session_privs privileges which the user currently has set  
session_roles roles which the user currently has enabled.  
table_privileges grants on objects for which the user is the grantor, 
                 grantee, owner, or an enabled role or public is the grantee  
accessible_columns synonym for all_tab_columns  
all_col_grants synonym for column_privileges  
all_jobs synonym for user_jobs  
all_tab_grants synonym for table_privileges  
cat synonym for user_catalog  
clu synonym for user_clusters  
cols synonym for user_tab_columns  
dba_audit_connect synonym for user_audit_connect  
dba_audit_resource synonym for user_audit_resource  
dba_refresh_children synonym for user_refresh_children  
dict synonym for dictionary  
ind synonym for user_indexes  
obj synonym for user_objects  
seq synonym for user_sequences  
sm$version synonym for sm_$version  
syn synonym for user_synonyms  
tabs synonym for user_tables  
v$access synonym for v_$access  
v$archive synonym for v_$archive  
v$backup synonym for v_$backup  
v$bgprocess synonym for v_$bgprocess  
v$circuit synonym for v_$circuit  
v$compatibility synonym for v_$compatibility  
v$compatseg synonym for v_$compatseg  
v$controlfile synonym for v_$controlfile  
v$database synonym for v_$database  
v$datafile synonym for v_$datafile  
v$dbfile synonym for v_$dbfile  
v$dblink synonym for v_$dblink  
v$db_object_cache synonym for v_$db_object_cache  
v$dispatcher synonym for v_$dispatcher  
v$enabledprivs synonym for v_$enabledprivs  
v$filestat synonym for v_$filestat  
v$fixed_table synonym for v_$fixed_table  
v$latch synonym for v_$latch  
v$latchholder synonym for v_$latchholder  
v$latchname synonym for v_$latchname  
v$librarycache synonym for v_$librarycache  
v$license synonym for v_$license  
v$loadcstat synonym for v_$loadcstat  
v$loadtstat synonym for v_$loadtstat  
v$lock synonym for v_$lock  
v$log synonym for v_$log  
v$logfile synonym for v_$logfile  
v$loghist synonym for v_$loghist  
v$log_history synonym for v_$log_history  
v$mls_parameters synonym for v_$mls_parameters  
v$mts synonym for v_$mts  
v$nls_parameters synonym for v_$nls_parameters  
v$nls_valid_values synonym for v_$nls_valid_values  
v$open_cursor synonym for v_$open_cursor  
v$option synonym for v_$option  
v$parameter synonym for v_$parameter  
v$pq_sesstat synonym for v_$pq_sesstat  
v$pq_slave synonym for v_$pq_slave  
v$pq_sysstat synonym for v_$pq_sysstat  
v$process synonym for v_$process  
v$queue synonym for v_$queue  
v$recovery_log synonym for v_$recovery_log  
v$recover_file synonym for v_$recover_file  
v$reqdist synonym for v_$reqdist  
v$resource synonym for v_$resource  
v$rollname synonym for v_$rollname  
v$rollstat synonym for v_$rollstat  
v$rowcache synonym for v_$rowcache  
v$session synonym for v_$session  
v$session_cursor_cache synonym for v_$session_cursor_cache  
v$session_event synonym for v_$session_event  
v$session_wait synonym for v_$session_wait  
v$sesstat synonym for v_$sesstat  
v$sess_io synonym for v_$sess_io  
v$sga synonym for v_$sga  
v$sgastat synonym for v_$sgastat  
v$shared_server synonym for v_$shared_server  
v$sqlarea synonym for v_$sqlarea  
v$statname synonym for v_$statname  
v$sysstat synonym for v_$sysstat  
v$system_cursor_cache synonym for v_$system_cursor_cache  
v$system_event synonym for v_$system_event  
v$thread synonym for v_$thread  
v$timer synonym for v_$timer  
v$transaction synonym for v_$transaction  
v$type_size synonym for v_$type_size  
v$version synonym for v_$version  
v$waitstat synonym for v_$waitstat  
v$_lock synonym for v_$_lock 

Leonarding 
2013.08.02
北京&summer
分享技术~成就梦想
Blog:

 

怪兽AI数字人 怪兽AI数字人

数字人短视频创作,数字人直播,实时驱动数字人

怪兽AI数字人 44 查看详情 怪兽AI数字人

本文出自 “leonarding Blog” 博客,请务必保留此出处

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/521823.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2025年11月9日 06:01:08
下一篇 2025年11月9日 06:02:10

相关推荐

  • 使用 Python 通过 ODBC 或 JDBC 访问 IRIS 数据库

    字符串问题 我正在使用 python 通过 jdbc(或 odbc)访问 iris 数据库。 我想将数据提取到 pandas 数据框中来操作数据并从中创建图表。我在使用 jdbc 时遇到了字符串处理问题。这篇文章旨在帮助其他人遇到同样的问题。 或者,如果有更简单的方法来解决这个问题,请在评论中告诉我…

    2025年12月13日
    000
  • SQLMap 备忘单:自动 SQL 注入快速指南

    作者:特里克斯·赛勒斯 什么是 sqlmap?sqlmap是一个开源渗透测试工具,用于检测和利用web应用程序中的sql注入漏洞。它支持各种数据库系统,如 mysql、postgresql、oracle、microsoft sql server 等。 基本用法要开始使用 sqlmap,您可以通过提供…

    2025年12月13日
    000
  • python需要安装jdk吗

    否。Python 是一种独立的编程语言,无需安装 JDK。然而,如果需要在 Python 项目中使用 Java 库,则需要安装 JRE,而不一定是完整的 JDK。JRE 仅包含运行 Java 应用程序所需的组件,而 JDK 则包含 JRE 及用于开发和编译 Java 代码的工具。只有需要开发或编译 …

    2025年12月13日
    000
  • python需要用到数据库吗

    是的,Python 通常需要用到数据库来存储管理数据,原因包括:存储持久性数据、组织查询数据、支持并发访问、维护数据完整性、确保可扩展性。Python 提供多种模块和框架来访问数据库,如 sqlite3、Django 和 SQLAlchemy,支持各种数据库系统,如 MySQL、MongoDB 和 …

    2025年12月13日
    000
  • python数据库是什么意思

    Python 数据库是使用 Python 连接和操作各种数据库的软件工具。使用 Python 数据库通常涉及安装驱动程序、创建连接、执行查询、获取结果和关闭连接。它易于使用、灵活、高效且可移植。常见的 Python 数据库库包括 MySQLdb、psycopg2、cx_Oracle 和 pymong…

    2025年12月13日
    000
  • python怎么连接数据库

    在 python 中连接数据库 Python 是一个功能强大的编程语言,可用于与各种数据库系统交互。本文将介绍如何使用 Python 连接到数据库。 步骤: 导入必要的库创建数据库连接执行 SQL 查询处理查询结果关闭数据库连接 1. 导入必要的库 连接数据库需要使用第三方库,如: 立即学习“Pyt…

    好文分享 2025年12月13日
    000
  • PyCharm怎么新建数据源_PyCharm新建数据源的操作方法

    首先,我们在pycharm软件中右击即可新建文件。 其次,就可以在这里新建数据源。 于是,我们就可以在这里新建MySQL或者Oracle等等数据源。 以上就是PyCharm怎么新建数据源_PyCharm新建数据源的操作方法的详细内容,更多请关注创想鸟其它相关文章!

    2025年12月13日
    000
  • pycharm怎么显示数据库数据

    PyCharm 中显示数据库数据的方法包括:建立数据库连接打开数据库浏览器连接到数据库浏览表和数据可选:编辑数据 如何在 PyCharm 中显示数据库数据 在 PyCharm 中显示数据库数据需要遵循以下步骤: 1. 建立数据库连接 打开 PyCharm,选择 “File” …

    2025年12月13日
    000
  • pycharm怎么打开数据库的表

    PyCharm 通过以下步骤打开数据库表:安装数据库插件。创建数据库连接。在数据库树中展开数据库名称以查看表。右键单击要打开的表并选择“打开表”。查看表数据或执行 SQL 查询。 如何使用 PyCharm 打开数据库表 PyCharm 是一款强大的 Python IDE,它可以轻松地打开和处理数据库…

    2025年12月13日
    000
  • pycharm社区版和专业版界面区别

    PyCharm 社区版和专业版界面差异主要体现在:主工具栏:专业版增加“重构”、“数据库”、“单元测试”等工具。项目视图:专业版提供按层次结构组织项目的“Project View”。编辑器区域:专业版增强代码完成、重构和调试功能。侧边栏:专业版新增“数据库工具”、“单元测试”和“终端”等选项卡。其他…

    2025年12月13日
    000
  • 解决XAMPP MySQL意外关闭:端口冲突与数据文件异常处理指南

    当xampp中mysql服务启动后立即意外关闭时,通常是由于端口占用或数据文件损坏导致。本教程将详细指导您如何通过检查错误日志、重置mysql数据目录以及识别并解决端口冲突来恢复mysql服务的正常运行,并提供数据恢复的注意事项。 XAMPP MySQL意外关闭问题概述 在使用XAMPP集成环境进行…

    2025年12月13日
    000
  • 精确管理事件过期:SQL查询中的日期与时间结合策略

    本文探讨了如何精确地使用sql查询来判断事件是否过期,尤其当事件的过期日期和时间分别存储在两个独立的数据库列中时。针对传统方法只检查日期导致事件在同一天内过期后仍显示的问题,文章提供了两种高效的解决方案,确保事件在指定时间点后立即不再可见。 在许多数据库应用中,事件的过期信息常常以独立的方式存储,例…

    2025年12月13日
    000
  • SQL查询:精确判断事件过期,结合日期与时间列

    本文旨在解决数据库中事件过期判断不精确的问题,特别是当事件的过期日期和时间分别存储在不同列时。我们将探讨两种主流的sql查询策略:一种是利用逻辑运算符`or`和`and`进行分情况判断,另一种是通过合并日期和时间列为单一时间戳进行直接比较。文章将详细阐述每种方法的实现方式、适用场景及相关注意事项,确…

    2025年12月13日
    000
  • php中PDO库是什么

    PDO是PHP中用于统一访问多种数据库的抽象层,通过更换DSN即可切换数据库,无需重写操作语句;支持预处理防止SQL注入,推荐设置ERRMODE_EXCEPTION模式便于错误捕获,结合try-catch使用更安全稳定。 PDO(PHP Data Objects)是 PHP 中用于访问数据库的一个轻…

    2025年12月13日
    000
  • CodeIgniter中并发注册的邮箱去重策略:利用表锁解决竞态条件

    本文探讨CodeIgniter应用中,在不修改数据库结构的前提下,如何解决多用户并发注册时因竞态条件导致的邮箱重复问题。通过引入数据库表级写锁机制,确保在邮箱存在性检查和数据插入操作之间,其他并发请求无法同时修改数据,从而有效防止重复邮箱的注册。 在Web应用开发中,用户注册是常见功能。当多个用户尝…

    2025年12月13日
    000
  • Laravel中利用SQL SUBSTRING提取字段首字符的正确实践

    本文详细阐述了在laravel应用中,如何利用数据库的substring函数高效地从指定字段中提取唯一的首字符。文章纠正了常见的0-based索引误区,并通过db::table与selectraw结合,提供了基于1-based索引的正确实现方法。通过示例代码,读者将掌握在laravel中执行此类复杂…

    2025年12月12日
    000
  • PHP PDO查询中SQL字符串内引号的正确处理方法

    本教程详细介绍了在php pdo查询中,当sql语句包含单引号和双引号(特别是用于列别名)时,如何正确处理字符串转义问题。通过分析常见的错误模式,本文将提供有效的解决方案,重点讲解如何使用反斜杠对sql字符串内部的双引号进行转义,确保sql语句能够被php正确解析并执行,避免因引号混淆导致的语法错误…

    2025年12月12日
    000
  • PHP数据库事务怎么处理_PHP事务处理方法与使用实例

    答案:PHP中通过PDO开启事务确保操作原子性,使用try-catch处理异常并回滚,避免数据不一致。核心是保障数据一致性、应对并发问题、简化错误处理,需注意避免嵌套事务、过大粒度及死锁,合理设置隔离级别以确保并发安全。 在PHP中处理数据库事务,本质上就是把一系列数据库操作捆绑成一个不可分割的整体…

    2025年12月12日
    000
  • php使用什么方法进行数据加密_php使用OpenSSL保护敏感信息的技巧

    使用OpenSSL保护敏感信息需采用对称加密(如AES-256-CBC)、非对称加密(如RSA)、证书管理及HMAC完整性校验。首先生成安全密钥与IV,用openssl_encrypt()加密数据并存储IV;解密时使用相同密钥与IV调用openssl_decrypt()还原。对于密钥交换,通过ope…

    2025年12月12日
    000
  • Adminer无缝集成与自动登录配置指南

    本教程详细介绍了如何为adminer数据库管理%ignore_a_1%配置自动登录功能,避免每次访问时手动输入凭据。通过定制`adminer_object()`方法并利用`permanentlogin()`钩子,结合预设`$_post[‘auth’]`参数,实现adminer…

    2025年12月12日
    000

发表回复

登录后才能评论
关注微信