rounded card notes from AskTom

本文探讨了数据库执行计划中rounded cardinality的概念及其与original cardinality的区别,并详细对比了autotrace与explain plan的不同之处,包括变量绑定、类型转换等方面。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Note 1:What is a rounded cardinality?

rounded card是执行计划时的预测数值

original card是对象实际的原始的数值

Note 2: auto trace和explain plan有哪些区别:

  a) explain plan does not bind variable peek, a real query would.

b) explain plan sees all binds as varchar2's - in real life they are numbers, dates, varchar2's and 
so on.  Hence, implicit conversions may or may not be observed by explain plan that would be 
observed in real life.
c) explain plan does a hard parse, uses the statistics/dynamic samples that are IN PLACE RIGHT NOW. 
 A query that was run for real "a little while ago" or "a little while from now" might see 
different inputs
d) explain plan uses the current operational environment to come up with a plan.  You might be 
explaining in a FIRST_ROWS session, whereas the query was actually executed in a ALL_ROWS session 
(or any one of the optimizer parameters could be different)
e) any combination of a, b, c, d...
 
 
 
 

http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:63445044804318

转载于:https://www.cnblogs.com/helloolduncle/archive/2011/11/24/2262314.html

"resource han rounded" 这句话没有明确的意思和背景,但我们可以根据其中的关键词来尝试理解: 资源:资源是指我们能够利用的一切有价值的物质或者非物质的东西。资源可以是自然资源如土地、水、矿产品等,也可以是人力资源和技术资源。 Han:Han 可以指代汉族,也可以是姓氏。如果我们理解为汉族的话,那么就是指汉族人。 RoundedRounded 可以理解为圆满的、完美封闭的,也可以理解为四舍五入的。 综合以上的理解,我分两种情况回答: 如果我们将 "resource han rounded" 理解为 "资源汉族完美封闭",那么可以理解为强调资源是属于汉族人的,他们对资源的利用也是封闭的、独立的。 但是这种理解是片面的,资源是全人类共享的,不分种族。在当今社会,各国各族之间的资源分配和利用应该是公平和合理的,而不是局限于某个特定的种族。 另一个理解是, "resource han rounded" 可以表示 "资源(资源的多少)舍入取整"。在经济、统计学等领域中,我们经常使用 "舍入取整" 的手法处理数值,使得数字更易读或便于计算。这样做可以简化我们的分析和决策过程。 综上所述,对于没有明确背景和意义的短语 "resource han rounded",我们可以根据关键词进行不同的理解,但是需要注意的是,我们应该尊重资源的公平分配原则和制定合理的政策来保护和利用资源。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值