database

Elastic Search初探

June 23, 2017 Database, Python No comments , ,

研究了下ES,写了一个python版的关于ES的增删改查代码:

from datetime import datetime
from elasticsearch import Elasticsearch
es = Elasticsearch([{'host':'192.168.2.178','po[......]

Read more

python操作MySQL笔记

June 17, 2017 Python No comments , ,

http://www.cnblogs.com/fnng/p/3565912.html

tip1: 安装MySQLdb模块
tip2: 建立连接conn
tip3: cur=conn.cursor()
tip4: cur.execute("SQL语句")
tip5: SQL语句插入时,个数要和列数相[......]

Read more

redis 初探

June 6, 2017 IT No comments , , , ,

data-types-intro from redis.io docs

redis keys are binary safe. string, JPEG file and empty is allowed.

Even when the task at hand is to match the e[......]

Read more

我读《数据架构》

March 22, 2017 Book Review, Database, IT 1 comment , , , , , , , ,

上次在书城,看中了这本书,正版价格69大洋,花了8天看完,现在回顾下,并且写一下总结。

时间离得太久,不想再翻旧书,就先写到这儿吧。

本书作者

W.H. Inmon:数据仓库之父,最早的数据仓库概念提出者,在数据库技术管理与数据库设计方面拥有30多年的经验

Daniel Linste[......]

Read more