oracle
Oracle 效率 Cost Based Optimizer (第二部分)
严禁转载,使用请注明出处:http://alex2012-c.j.overblog.com/ 参加公司Oracle Optimization的三天培训,总结了报告。第二部分。 CBO and execution plans Execution plan & statistics Plan to access the data (access path), Oracle evaluate several and selects the cheapest (cost based). Time shown...
Oracle 效率 Cost Based Optimizer (第一部分)
严禁转载,使用请注明出处:http://alex2012-c.j.overblog.com/ 参加公司Oracle Optimization的三天培训,总结了报告。第一部分。 Anti patterns or performance pitfalls Implicit conversions (e.g. data defined as VARCHAR but queried with a numeric value => the VARCHAR will always be converted)...
oracle index
基本知识: 1.index需要储存空间和I/O操作。 2.index的目的是加快select的速度的。 3.insert,update,delete数据oracle会同时对索引进行相应的调整,因此会增加一定的消耗。 4.使用index一定能加快select速度吗?不是的,数据少和巨大时index会影响select的速度,因此如果查询速度可以满足,就不要建index。 5.Index 对null 无效。 创建index时的注意事项: 1.balance query and DML needs: 索引的目的是为了提高查询速度,但它会加重DML的负担。...