一、统计信息相关命令的变化
有关集群状态cluster_state, 节点信息nodes_info, 节点统计信息nodes_stats和索引信息indices_stats命令格式进行了统一,比如查看集群信息使用命令:
curl -XGET http://localhost:9200/_cluster/state/nodes?pretty=1
查看节点统计信息:
curl ...
改变数据表的结构: alter table tb_name action,[action,action](使用alter table 之前,需要查看数据表的当前定义,需要执行show create table 语句) alter table tb_name modify columns+数...
分类:
数据库 时间:
2014-08-22 21:05:29
阅读次数:
243
TestQuery:http://app.yinxiang.com/shard/s34/sh/665797f5-de0b-4db2-b51c-8f404baf25d2/94aa4bee41e4a404f9921e85b6f011bd TestFilter:http://app.yinxiang.com/shard/s34/sh/25bf71b1-45d7-4f6e-8740-bcd226...
1 Depart Process: 2 1. Grep xref and trailer binary position in file. 3 2. Dump xref table and trailer part. 4 3. Calculate every object binary o...
分类:
其他好文 时间:
2014-08-22 19:36:19
阅读次数:
176
1.某字段更新 自增 1 update table set a=a+12.修改某一字段的数据类型alter table "tablename" modify "column" "type"3.更改字段名alter table "tablename" change column col_old col...
分类:
数据库 时间:
2014-08-22 12:49:58
阅读次数:
270
package mainimport "fmt"func modify(array [10]int) { array[0] = 10 fmt.Println("In modify(), array values: ", array)}func main() { array := [...
分类:
其他好文 时间:
2014-08-21 14:33:45
阅读次数:
157
Optional. Configure Search Path To ensure that the downloaded binaries are in your PATH, you can modify your PATH and/or create symbolic links to the ...
分类:
数据库 时间:
2014-08-19 12:45:34
阅读次数:
272
A:add,新增C:conflict,冲突D:delete,删除M:modify,本地已经修改G:modify and merGed,本地文件修改并且和服务器的进行合并U:update,从服务器更新R:replace,从服务器替换I:ignored,忽略
分类:
其他好文 时间:
2014-08-19 10:37:13
阅读次数:
540
系统环境#cat/etc/redhat-release
CentOSrelease6.4(Final)
#uname-a
Linuxlocalhost.localdomain2.6.32-358.el6.x86_64#1SMPFriFeb2200:31:26UTC2013x86_64x86_64x86_64GNU/Linux1.下载软件包#curl-Ohttps://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.tar..
分类:
其他好文 时间:
2014-08-18 18:51:43
阅读次数:
289
批量表产品名称过长导致被截断的情况,是由于产品名称超出了数据库表中字段设置的最大长度,下面通过修改数据库表字段长度来避免此类情况发生:ALTER TABLE categories MODIFY categories_image varchar(256) ;ALTER TABLE categories...
分类:
其他好文 时间:
2014-08-18 18:01:32
阅读次数:
265