linux社区爱心援助Linux认证系列教程业界动态站务新闻公司招聘建议留言网址大全LPI专题CISCO专题
设为首页
加入收藏
管理团队
JSP  
JAVA  
PERL  
 您的位置:首页 > article > Linux开发区 > 数据库开发 >
栏目导栏
资料搜索
热门文章
·oracle exp/imp命令详解
·Oracle exp/imp导出导入工具的
·MySQL图形化管理软件安装使用详
·SQL*PLUS命令的使用大全
·PPPOE + FreeRADIUS + MySQL 配
·MySQL语言参考(3) :SELECT和
·创建一个Oracle 数据库
·MySQL的管理工具:phpMyAdmin使
·ORACLE9I安装步骤
·Linux下Oracle9i RMAN备份及恢
·RMAN的中文文挡
·oracle 分区表的建立方法
·aix5.3安装oracle说明
·fc5 下成功安装Oracle 10g
·PHPMyAdmin配置标准
最新文章
·带你轻松接触MySQL数据库的异常
·PostgreSQL 8.3.1, 8.2.7发布
·实例讲解在MySQL中如何导出整个
·轻松掌握MySQL数据库锁机制的相
·五种MySQL数据库可靠性方案的分
·MySQL数据库中对前端和后台进行
·巧用MySQL InnoDB引擎锁机制解
·MySQL存储过程SAVEPOINT ROLLB
·创建Bitmap_Join_Indexes中的约
·在MySQL数据库中应当如何关闭错
·某些更改的非事务性表不能被回
·放弃连接消息出现在错误日志中
·怎样才能解决MySQL 5.0.16的乱
·MySQL数据库中如何解决分组统计
·SAVEPOINT和ROLLBACK TO SAVEP
Google
 
告别过往的一头雾水 掌握card的标准含义
[ 作者:  加入时间:2007-11-29 11:30:30  来自:Linux联盟收集整理 ]
 

一直以来,很多人都对card的具体含义一头雾水,参考下文你就会很快得到card的标准含义。

⑴Cost The cost assigned to each step 
of the query plan by the CBO. The CBO works by
generating many different execution paths/plans 
for the same query and assigns a cost to each 
and every one. The query plan with the lowest 
cost wins. In the full outer join example,
we can see the total cost for this query is 10.
⑵Card Card is short for Cardinality. It is the 
estimated number of rows that will flow out
of a given query plan step. In the full outer j
oin example, we can see the optimizer expects
there to be 327 rows in EMP and 4 rows in DEPT.
⑶Bytes The size in bytes of the data the CBO 
expects each step of the plan to return.
This is dependent on the number of rows (Card) 
and the estimated width of the rows.

至此,我们就可以得出最标准的结论:

card是指计划中这一步所处理的行数。

注释:cost指cbo中这一步所耗费的资源,这个值是相对值。bytes指cbo中这一步所处理所有记录的字节数,是估算出来的一组值。

Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论
评论】【加入收藏夹】【 】【打印】【关闭
※ 相关链接
无相关信息