上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

2016年1月13日

摘要: https://voltdb.com/blog/querying-json-data-voltdbhttps://voltdb.com/blog/setting-json-values-voltdb 阅读全文
posted @ 2016-01-13 17:47 不忘初衷,方能致远 阅读(245) 评论(0) 推荐(0)

2015年12月8日

摘要: 入口文件:https://github.com/VoltDB/voltdb/blob/master/src/frontend/org/voltdb/VoltDB.java 主要就是Configuration类保存运行参数,主要的如 pathToDeployment(指向deployment.xml) 阅读全文
posted @ 2015-12-08 18:51 不忘初衷,方能致远 阅读(691) 评论(0) 推荐(0)

2015年11月19日

摘要: 1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num... 阅读全文
posted @ 2015-11-19 10:59 不忘初衷,方能致远 阅读(196) 评论(0) 推荐(0)

2015年11月13日

摘要: create table sanguozhi (id bigint, name varchar(32), country varchar(8), url varchar(128), ip varchar(16), uuid varchar(36), agent varchar(128), detai... 阅读全文
posted @ 2015-11-13 14:46 不忘初衷,方能致远 阅读(1011) 评论(0) 推荐(0)

2015年10月21日

摘要: gcc -g mysqlquery.c -lmysqlclient -I/usr/include/mysql -L/usr/lib64/mysql#include #include #include #include #include int main (int argc, char *argv[]... 阅读全文
posted @ 2015-10-21 14:14 不忘初衷,方能致远 阅读(337) 评论(0) 推荐(0)

2015年10月15日

摘要: http://tonybai.com/2015/08/05/godep-support-go15-vendor/ 阅读全文
posted @ 2015-10-15 09:46 不忘初衷,方能致远 阅读(144) 评论(0) 推荐(0)

2015年10月13日

摘要: HBase3个主要组件:客户端库,1台主服务器,多台Region服务器行数据的存取是原子的,不支持跨行或者跨表的事务扩展和负载均衡的单元是RegionWAL 预写日志,然后才写入memstore,memstore到一定大小再被更新到HFile,此时memstore进行内存滚动删除数据采用墓碑标记 阅读全文
posted @ 2015-10-13 15:51 不忘初衷,方能致远 阅读(1044) 评论(0) 推荐(0)

2015年9月21日

摘要: package mainimport "github.com/go-martini/martini"func main() { m := martini.Classic() m.Get("/", func() string { return "Hello world!" }) m.Ru... 阅读全文
posted @ 2015-09-21 15:45 不忘初衷,方能致远 阅读(462) 评论(0) 推荐(0)
摘要: package mainimport ( "io" "net/http" "log")// hello world, the web serverfunc HelloServer(w http.ResponseWriter, req *http.Request) { io.W... 阅读全文
posted @ 2015-09-21 14:51 不忘初衷,方能致远 阅读(608) 评论(0) 推荐(0)

2015年9月20日

摘要: package mainimport ( "fmt" "reflect")func main() { x := "hello world" p := reflect.TypeOf(x) v := reflect.ValueOf(x... 阅读全文
posted @ 2015-09-20 01:40 不忘初衷,方能致远 阅读(424) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页

导航