`

table index

 
阅读更多
update t set f1 = 'xxx' where f1 = 'yyy';


the sql above is a little slow, which cost 11s, after analyzing, t.f1 doesn't have a index on it.
so I tried to add index to it, but it's slower, cost 22s.
after discussing with DBA, who told me the reason for slower is that if index was created on this column, this update not only do update work, but also update index data for this column.
in all, this kind of sql don't need to setup index.
分享到:
评论

相关推荐

    通过EXCEL自动生成oracle table index sequence syn等表信息

    只需要在excel里面写好表名列名,即可通过本EXCEL自动生成oracle table index sequence syn等表信息,注:只支持office 32位,系统多少位不影响。。

    Oracle更改表空间(table、index、lob)

    Oracle数据库,更改表空间的命令,包括table、index、lob对象。

    Oracle hint

    1. /*+ INDEX */ 和 /*+ INDEX(TABLE INDEX1, index2) */ 和 /*+ INDEX(tab1.col1 tab2.col2) */ 和 /*+ NO_INDEX */ 和 /*+ NO_INDEX(TABLE INDEX1, index2) */ 2. /*+ ORDERED */ 3. /*+ PARALLEL(table1,DEGREE) ...

    XML格式和Data格式转换类

    将xml字符串转换成DataTable 3、public static DataSet CXmlFileToDataSet(string xmlFilePath)将xml文件转换成DataSet 4、public static DataTable CXmlToDataTable(string xmlFilePath, int tableIndex)将...

    5800-自动增加光猫.txt

    auto-service-port port 1 vlan 2051 single-vlan onu-vlan-num 1 inbound traffic-table index 6 outbound traffic-table index 6 自动生成的光猫 的缺省VLAN 1口 VLAN 1 2口 VLAN 2 3口VLAN 3 4 口VLAN 4

    编译原理实验语法生成器

    主要程序代码: #include ... int TableIndex = -1; //display 表的下标索引 int beginCount = 0;//遇到begin加1,遇到end减1 int ifCount = 0; //遇到if加1 Table *table = new Table[Max];

    Lua的table元表自我学习笔记

    Lua的table元表自我学习笔记分享。--lua元表总结 --1、__index的运用 (调用table的一个不存在的索引时,会使用到元表的__index元方法,搜索元表是否也有改索引,__index可以是一个函数也可是一个table。)

    table表格排序

    var table = $('#sort_table'); //表id //需要排序的表头,以th开头 $('#keyword_num, #impressions, #click, #click_rate, #conversions, #cost, #conversion_unitprice') .each(function(){ var th = $(this), ...

    flink-table-common-1.12.7-API文档-中文版.zip

    赠送jar包:flink-table-common-1.12.7.jar;...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用。

    flink-table-planner-blink-2.11-1.12.7-API文档-中文版.zip

    赠送jar包:flink-table-planner-blink_2.11-1.12.7...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用

    flink-table-planner-blink_2.11-1.13.2-API文档-中文版.zip

    赠送jar包:flink-table-planner-blink_2.11-1.13.2...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用

    Partitioned Table and Index Strategies Using SQL Server 2008.docx

    专门介绍sql server 2008分区表和索引策略。

    Physical Database Design (2007)

    Something as simple as improving the table index design has a profound impact on performance. Every form of relational database, such as Online Transaction Processing (OLTP), Enterprise Resource ...

    使用element-ui +Vue 解决 table 里包含表单验证的问题

    应用场景: 在实际使用中经常会遇到需要在Form表单中使用table表格进行表单提交,同时又需要对table的字段进行校验,...:prop=”‘tableData.’ + scope.$index + ‘.字段名'” 方法一: <el-table-colum

    小程序table组件 满足基本需求

    小程序table组件 怎么用请参考https://blog.csdn.net/weixin_67585820/article/details/123791822

    flink-table-api-java-bridge_2.11-1.12.7-API文档-中文版.zip

    赠送jar包:flink-table-api-java-bridge_2.11-1.12.7.jar;...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精

    flink-table-runtime-blink_2.11-1.13.2-API文档-中文版.zip

    赠送jar包:flink-table-runtime-blink_2.11-1.13.2...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用

    flink-table-planner-blink_2.11-1.10.0-API文档-中文版.zip

    赠送jar包:flink-table-planner-blink_2.11-1.10.0.jar;...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明

    flink-table-planner-2.12-1.14.3-API文档-中文版.zip

    赠送jar包:flink-table-planner_2.12-1.14.3.jar...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用。

    flink-table-runtime-blink_2.11-1.10.0-API文档-中文版.zip

    赠送jar包:flink-table-runtime-blink_2.11-1.10.0.jar;...使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和说明

Global site tag (gtag.js) - Google Analytics