为什么Mysql explain extended中的filtered列值总是100。
在 explain的帮助下,您就知道什么时候该给表添加索引,以使用索引来查找记录从而让select 运行更快。如果由于不恰当使用索引而引起一些问题的话,可以运行 analyze table来更新该表的统计信息,例如键的基数,它能帮您在优化方面做出更好的选择...。
执行计划,可以用来分析sql语句用的,也可以用desc加查询语句,可以实现同样的效果。 例如:explain select 字段名 from 表名 where 条件语句 ; desc select 字段名 from 表名 where 条件语句 ;。
1. MySQL的统计信息非常少,只有表行数和索引列的唯一值数目,这使得MySQL的优化器经常不能对数据规模有一个正确的认识而给出性能不佳的执行计划。
2. MySQL的join操作的效率非常依赖于索引(我之前两次帮人调优MySQL的SQL语句都是在加索引)。并不是说PG的join不需要索引,只是不像MySQL缺了索引的反应那么大。上面那个MySQL执行了1分多钟的例子,加上索引后,不管是MySQL还是PG的执行时间都立刻降到10毫秒以内。所以,开发人员在设计表的时候应该对可能的查询方式做个评估,把该建的索引都建上(不能少建也不宜多建)。
3. 相比之下,PG不仅统计所有列的值分布,而且除了唯一值还有直方图,频繁值等等信息,支撑了PG的优化器做出正确的决策。猜测也是由于这个原因,PG社区认为PG的优化器已经足够智能,不需要把和Oracle类似的hint功能加到PG的内核里(因为hint可能会被人滥用,导致系统很难维护;不过,实在想用的话可以自己装pg_hint_plan插件)。
Explain means to teach somebody something they don't already know, to slowly tell them what is happening.。
For example: If you don't understand, how to do mathematics, let me explain to you what they addition is.。
解释, 说明
explain
[Iks5pleIn]
vt., vi.
说明;阐明
Explain what this word means.。
解释词的含义。
Will you please explain the third paragraph again for us?。
请您把第三段给我们再解释一下好吗?。
解释;辩解
Can you explain why you were late?。
你能解释一下你为什么迟到吗?
The price tag says $100 and you charged me for $120; how do you explain the discrepancy?。
"货物标签上写的是一百美元,你向我索价一百二十美元,这个差异该怎么解释?"。
explain away
辩解,辩护
explain oneself。
讲解,说明
给出理由
explain
[iks5plein]
vt.
解释, 说明, 讲解, 阐明
为...辩解, 辩护; 说明...的理由[原因]。
explain the word properly in English。
用英语正确地解释这个词
explain the situation。
讲解形势
explain one's absence。
说明缺席的理由
Please explain to me where to begin and how to do it.。
请向我说明从哪里开始以及怎样做。
He explained how the machine was used.。
他解释了怎样使用那台机器。
explain
[iks5plein]
vi.
说明, 阐明
辩解, 解释
You needn't explain.。
你不要辩解!
explainable
adj.
explainer
n.
explainingly
adv.
explain away
(把过失、怀疑等)搪塞[巧辩]过去。
explain oneself。
说明自己的意思[动机]; 为自己的行为辩解。
explain...as...。
把...解释为...
explain interpret。
都含“解释”的意思。
explain 指“解释不明之事”, 如:。
He is explaining how a machine operates.。
他正在解释机器是如何运转的。
interpret 侧重于“用特殊的知识、信念、判断、了解或想象去阐明特别难懂的事物”, 如:。
How do you interpret this poem?。
你怎样解释这首诗呢?
explain
来自拉丁语explanare弄平,其中planare使平。
求英语翻译,用软件直接应付的就不要发了,谢谢了。
悬赏分:100 - 离问题结束还有 13 天 1 小时 。
Abastract
Explains the linkage of vendor development and control as an integral factor of value on demand chain logistics. Presents a comparison of the traditional purchasing function with vendor development in. Provides the missing link of value chain by demand chain. Describes the supplier integration approach as a competitive corporate strategy in a conceptual synthesis by linking demand chain with order management, marketing, sales, channel management, pricing, service, etc. Analyses the vendor development strategy from three key dimensions. Further discusses the advantages of vendor development in the short run, bottom line performance increase, and long run revenue enhancing the value of an organisation. Also discusses the impact on demand chain from the costing point of view with elaboration on cost and pricing activities involving total cost of ownership, understanding supplier costs and target costing with target pricing commensurate with expectations of customers. Concludes with an emphasis on the importance of providing e-learning and upgrading the skills of staff in order to expedite the adoption of vendor integration strategy in its demand chain logistics management.。
Introduction
Vendor development is an evolution in supply chain management. There is a growing interest in generating approaches for meaningful development of suppliers so that business could snatch long-term strategic initiatives by developing effective partnerships with suppliers. During the last couple of years, concepts like network sourcing and concurrent purchasing have been proposed and effectiveness of mechanisms such as supplier associations, or Kyoryoku Kai, as they are called in Japan, have been studied (Hines and Rich, 1998). The current focus in logistics seems to be clearly on the value stream (Hines et al., 2000). Vendor development places priority on vendor improvement through training, co-developing product, innovation, improving capacity, delivery lead-time and quality of product of their counterparts (D’Lima, 2001). Vendor rating and rationalisation based on technique, product conception, geographical proximity, commercial capability, contractual relationship, image and technical service, are important criteria for evaluation and selection for supplier alliances (Dzever et al., 2001). A crucial characteristic of vendor development is the tiered and networked relationships with the demand chain. Figure 1 depicts limitations of supply chain while 。
Abastract
Explains供营商发展和控制连接作为价值在要求时的链后勤学一个整因子。 提出传统购买的作用的比较与供营商发展的。 由需求链子提供价值链断链。 描述供应商综合化方法作为一项竞争公司策略在概念性综合通过连接需求链子与命令管理、行销、销售、通道管理、定价、服务等等分析从三个关键维度的供营商发展战略。 短期内进一步谈论提高组织的价值供营商发展,底线表现增量和历时长久的收支的好处。 并且与在介入归属,了解的总成本费用和定价活动的阐述谈论冲击在要求时的链子从费用观点供应成本和目标费用与目标定价相当于顾客的期望。 结束重点放在提供电子教学和升级职员技能的重要性为了加速供营商在它的需求链子后勤管理的综合化战略的采用。
Introduction
Vendor发展是在供应链管理的演变。 有生长兴趣在引起供应商的意味深长的发展的方法上,以便事务能通过开发有效的合作夺走长期战略主动性以供应商。 在最后两三年,象网络源头的概念和一致购买提议和机制的有效率例如供应商协会,或者Kyoryoku Kai,当他们在日本叫,被学习了(Hines和Rich 1998)。 在后勤学的当前焦点似乎明显地在价值小河(等Hines, 2000)。 供营商发展在供营商改善安置优先权通过训练,共同发展的产品,创新,改进容量、交付他们的相对物(D’Lima产品的订货交货的时间和质量2001)。 根据技术、产品构想、地理接近度、商业能力、契约关系、图象和技术支持和合理化的供营商规定值,是评估的重要供应商联盟的(等Dzever标准和选择, 2001)。 供营商发展的一个关键的特征是与需求链子的有排列和网络的关系。 图1描述供应链的局限,当平衡与需求链子时的vendor’s能力。