博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
RTFM("Read The Fucking Manual")的意思(zt)
阅读量:2447 次
发布时间:2019-05-10

本文共 1596 字,大约阅读时间需要 5 分钟。

今天在oracle-l看到一个贴子
-------------------quote begin------------------------------
日期: Mon, 5 Feb 2007 09:07:37 +0530
发件人: "Anand Rao"   
收件人: "Oracle-l"
主题: 10053 Trace and OBJ$ (DBA_SEGMENTS)
   
Folks,
Has anyone come across this issue where,
you run a simple query on dba_segments (or user_segments) and produce a 10053 trace. The trace file does not contain the "
BASE STATISTICAL INFORMATION" section. The table and index stats are completely missing. So, i don't see the 
#Rows:, #Blks:, AvgRowLen:, AvgLen:, NDV:, Nulls:, Density: and so on...
Dictionary stats have been gathered, i haven't gathered System stats.
The query is,

SELECT NVL2(partition_name,

                            segment_name || ':' || partition_name,

                            segment_name)

                  FROM user_segments

                 WHERE segment_type IN ('TABLE', 'TABLE PARTITION') AND

                       segment_name NOT IN

                       (SELECT object_name

                          FROM recyclebin bin) AND

                       segment_name NOT IN (:p1,:p2,:p3,:p4,:p5)

                            ORDER BY bytes DESC
Now, if i run another query based on some other non-dictionary based tables (
EMP, DEPT), then everything is fine.
It seems to be an issue with some access rights to
OBJ$ is what i can figure out but what permission needs to be granted is the question. The user is a OS authenticated user, OPS$DEV1 and has DBA privilege. Even if i execute the same query as user '
oracle', the owner of the database, it doesn't help.
Oracle version is 10.2.0.1.0 on Sun Solaris 9.
is there something fundamental i am missing here? RTFM...??? i did a bit of Meta-linking, searching the list and RTFMs but could not find anything in particular.
thanks,
anand

转载于:http://blog.itpub.net/94384/viewspace-600290/

你可能感兴趣的文章
windows便笺_如何将便笺提醒附加到Windows和应用程序
查看>>
加密货币钱包提供商_每日新闻摘要:一位加密货币钱包开发者为了保护用户而黑客攻击
查看>>
chromebook刷机_每日新闻摘要:Google终止了将Windows引入Chromebook的项目
查看>>
vue alexa:_免费下载:在任何PC上使用Alexa免提
查看>>
2019新闻列表_每日新闻摘要:Google I / O 2019的期望
查看>>
如何修复破坏大照片的Undertow
查看>>
电子书pdf文件网站_如何转换PDF文件以便于阅读电子书
查看>>
如何在PowerPoint中水平翻转图片
查看>>
如何从Excel列表中的Word中创建邮件标签
查看>>
如何在Linux启动时轻松挂载分区
查看>>
outlook 加载配置项_如何禁用Outlook加载项进行故障排除
查看>>
如何导出或删除Outlook.com搜索历史记录
查看>>
dd-wrt固件_如何使用DD-WRT优先安排网络流量
查看>>
如何将您的计算机变成带有病态胡须的增压TiVo
查看>>
如何在Facebook Messenger中启用暗模式
查看>>
如何远程锁定或擦除iOS 5设备
查看>>
如何重命名您的AirPods
查看>>
powerpoint预览_如何添加,删除和重新排列PowerPoint幻灯片
查看>>
您的Mac正在High Sierra中跟踪您的位置,这就是原因(以及如何禁用它)
查看>>
在Windows 7下最大限度地发挥多显示器的魔力
查看>>