haiyun.me - NoSQL









Search Preview

NoSQL - 海运的博客

haiyun.me
海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令
.me > haiyun.me

SEO audit: Content analysis

Language Error! No language localisation is found.
Title NoSQL - 海运的博客
Text / HTML ratio 58 %
Frame Excellent! The website does not use iFrame solutions.
Flash Excellent! The website does not have any flash contents.
Keywords cloud make install = cd echo configure port curl >> zxvf wget tar cp host Comments tctmgr ktremotemgr 分类:NoSQL usertct yum
Keywords consistency
Keyword Content Title Description Headings
make 21
install 14
= 14
cd 12
echo 10
configure 9
Headings
H1 H2 H3 H4 H5 H6
1 5 0 0 3 0
Images We found 1 images on this web page.

SEO Keywords (Single)

Keyword Occurrence Density
make 21 1.05 %
install 14 0.70 %
= 14 0.70 %
cd 12 0.60 %
echo 10 0.50 %
configure 9 0.45 %
port 8 0.40 %
curl 7 0.35 %
>> 7 0.35 %
zxvf 7 0.35 %
wget 7 0.35 %
tar 7 0.35 %
cp 6 0.30 %
host 6 0.30 %
Comments 6 0.30 %
tctmgr 5 0.25 %
ktremotemgr 5 0.25 %
分类:NoSQL 5 0.25 %
usertct 5 0.25 %
yum 5 0.25 %

SEO Keywords (Two Word)

Keyword Occurrence Density
make install 9 0.45 %
make make 9 0.45 %
port 1978 8 0.40 %
tar zxvf 7 0.35 %
yum install 5 0.25 %
host 19216813 5 0.25 %
19216813 port 5 0.25 %
2014 分类:NoSQL 5 0.25 %
分类:NoSQL No 5 0.25 %
No Comments 5 0.25 %
install echo 4 0.20 %
= new 4 0.20 %
>> etcphpini 3 0.15 %
git clone 3 0.15 %
print_rtt>ext'dequeue' '0''my_queue' 3 0.15 %
'0''my_queue' 10 3 0.15 %
1978 key 2 0.10 %
发布时间:January 2 2 0.10 %
etcldsoconfdkyotoconf ldconfig 2 0.10 %
>> etcldsoconfdkyotoconf 2 0.10 %

SEO Keywords (Three Word)

Keyword Occurrence Density Possible Spam
make make install 9 0.45 % No
19216813 port 1978 5 0.25 % No
2014 分类:NoSQL No 5 0.25 % No
分类:NoSQL No Comments 5 0.25 % No
host 19216813 port 5 0.25 % No
make install echo 4 0.20 % No
print_rtt>ext'dequeue' '0''my_queue' 10 3 0.15 % No
2 2014 分类:NoSQL 2 0.10 % No
yum install gcc 2 0.10 % No
发布时间:January 2 2014 2 0.10 % No
zlibdevel bzip2devel wget 2 0.10 % No
'0''my_queue' 10 print_rtt>ext'dequeue' 2 0.10 % No
10 print_rtt>ext'dequeue' '0''my_queue' 2 0.10 % No
port 1978 key 2 0.10 % No
>> etcldsoconfdkyotoconf ldconfig 2 0.10 % No
ktremotemgr script host 2 0.10 % No
script host 19216813 2 0.10 % No
make install 安装Tokyo 2 0.10 % No
2 0.10 % No
tt = new 2 0.10 % No

SEO Keywords (Four Word)

Keyword Occurrence Density Possible Spam
2014 分类:NoSQL No Comments 5 0.25 % No
host 19216813 port 1978 5 0.25 % No
make make install echo 4 0.20 % No
print_rtt>ext'dequeue' '0''my_queue' 10 print_rtt>ext'dequeue' 2 0.10 % No
2 2014 分类:NoSQL No 2 0.10 % No
'0''my_queue' 10 print_rtt>ext'dequeue' '0''my_queue' 2 0.10 % No
19216813 port 1978 key 2 0.10 % No
发布时间:January 2 2014 分类:NoSQL 2 0.10 % No
ktremotemgr script host 19216813 2 0.10 % No
10 print_rtt>ext'dequeue' '0''my_queue' 10 2 0.10 % No
2 0.10 % No
make make install 安装Tokyo 2 0.10 % No
script host 19216813 port 2 0.10 % No
etcphpini 测试下下写入2亿数据用时30分钟,然后读取单个key用时002秒左右。 1 0.05 % No
安装PHP扩展,httpsgithubcomreezephpleveldb git clone httpsgithubcomreezephpleveldbgit 1 0.05 % No
测试下下写入2亿数据用时30分钟,然后读取单个key用时002秒左右。 1 0.05 % No
git clone httpsgithubcomreezephpleveldbgit cd 1 0.05 % No
clone httpsgithubcomreezephpleveldbgit cd phpleveldb 1 0.05 % No
cd phpleveldb phpize configure 1 0.05 % No
httpsgithubcomreezephpleveldbgit cd phpleveldb phpize 1 0.05 % No

Internal links in - haiyun.me

关于
关于 - 海运的博客
分析网站
分析网站 - 海运的博客
文章归档
文章归档 - 海运的博客
参考手册
参考手册 - 海运的博客
在线工具
在线工具 - 海运的博客
常用命令
常用命令 - 海运的博客
centos repo管理使用
centos repo管理使用 - 海运的博客
centos/debian自动通过网络远程安装系统配置脚本
centos/debian自动通过网络远程安装系统配置脚本 - 海运的博客
https://www.haiyun.me/archives/1246.html
IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统 - 海运的博客
https://www.haiyun.me/archives/1249.html
使用kickstart安装ubuntu - 海运的博客
Centos/linux ipv4优先
Centos/linux ipv4优先 - 海运的博客
1
海运的博客
2
海运的博客
3
海运的博客
4
海运的博客
153
海运的博客
PHP
PHP - 海运的博客
IIS
IIS - 海运的博客
Mail
Mail - 海运的博客
DNS
DNS - 海运的博客
Cacti
Cacti - 海运的博客
Squid
Squid - 海运的博客
Nagios
Nagios - 海运的博客
Puppet
Puppet - 海运的博客
CentOS
CentOS - 海运的博客
Iptables
Iptables - 海运的博客
RADIUS
RADIUS - 海运的博客
OpenWrt
OpenWrt - 海运的博客
DD-WRT
DD-WRT - 海运的博客
VMware
VMware - 海运的博客
网站程序
网站程序 - 海运的博客
备份存储
备份存储 - 海运的博客
常用软件
常用软件 - 海运的博客
日记分析
日记分析 - 海运的博客
Linux基础
Linux基础 - 海运的博客
欧诺代理
欧诺代理 - 海运的博客
Linux服务
Linux服务 - 海运的博客
系统监控
系统监控 - 海运的博客
流量监控
流量监控 - 海运的博客
虚拟化
虚拟化 - 海运的博客
伪静态
伪静态 - 海运的博客
LVM
LVM - 海运的博客
Shell
Shell - 海运的博客
高可用
高可用 - 海运的博客
数据库
数据库 - 海运的博客
FreeBSD
FreeBSD - 海运的博客
网络安全
网络安全 - 海运的博客
Windows
Windows - 海运的博客
网络工具
网络工具 - 海运的博客
控制面板
控制面板 - 海运的博客
系统调优
系统调优 - 海运的博客
Cisco
Cisco - 海运的博客
VPN
VPN - 海运的博客
ROS
ROS - 海运的博客
Vim
Vim - 海运的博客
KMS
KMS - 海运的博客
PXE
PXE - 海运的博客
Mac
Mac - 海运的博客
Git
Git - 海运的博客
PE
PE - 海运的博客
LNS
LNS - 海运的博客
Xshell
Xshell - 海运的博客
Firefox
Firefox - 海运的博客
Cygwin
Cygwin - 海运的博客
OpenSSL
OpenSSL - 海运的博客
Sandboxie
Sandboxie - 海运的博客
StrokesPlus
StrokesPlus - 海运的博客
AutoHotKey
AutoHotKey - 海运的博客
Total Commander
Total Commander - 海运的博客
WordPress
WordPress - 海运的博客
iMacros
iMacros - 海运的博客
Typecho
Typecho - 海运的博客
Ollydbg
Ollydbg - 海运的博客
Photoshop
Photoshop - 海运的博客
正则
正则 - 海运的博客
Debian
Debian - 海运的博客
Python
Python - 海运的博客
NoSQL
NoSQL - 海运的博客
消息队列
消息队列 - 海运的博客
JS
JS - 海运的博客
Tmux
Tmux - 海运的博客
GO
GO - 海运的博客
HHVM
HHVM - 海运的博客
算法
算法 - 海运的博客
Docker
Docker - 海运的博客
initrd.img解压与打包
initrd.img解压与打包 - 海运的博客
qq smtp 465/587端口区别
qq smtp 465/587端口区别 - 海运的博客

Haiyun.me Spined HTML


NoSQL - 海运的博客 海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令 Percona和HandlerSocket 发布时间:July 19, 2014 // 分类:NoSQL // No Comments rpm -ivh http://www.percona.com/redir/downloads/percona-release/percona-release-0.0-1.i386.rpm rpm -ivh http://www.percona.com/redir/downloads/percona-release/percona-release-0.0-1.x86_64.rpm yum install Percona-Server-server-55配置:[mysqld] plugin-load=handlersocket.so loose_handlersocket_port = 9998 loose_handlersocket_port_wr = 9999 loose_handlersocket_threads = 16 loose_handlersocket_threads_wr = 1 open_files_limit = 65535 Tokyo Cabinet表格型数据结构 发布时间:January 8, 2014 // 分类:NoSQL // No Comments Tokyo Cabinet支持Table数据结构,类似于SQL,可按条件查找索引,记录下:#新建数据库,实际上类似于SQL表 tctmgr create user.tct #key1为主健,name和passwd为字段 tctmgr put user.tct key1 "name" "u1" "passwd" "123" #列出当前表数据 tctmgr list -pv user.tct #按字段查找,类似于select * from where name = u1 limit 15; tctmgr search -pv -m 15 user.tct name STREQ "u1" #建立索引 tctmgr setindex user.tct namePHP接口:<?php $tt = new TokyoTyrantTable("localhost", 1978); $query = $tt->getQuery(); $query->addCond("name", TokyoTyrant::RDBQC_STREQ, "u1")->setLimit(5, 5); var_dump($query->search()); ?> NoSQL持久化存储之Kyoto Cabinet 发布时间:January 6, 2014 // 分类:NoSQL // No Comments 安装Kyoto Cabinet:yum install gcc gcc-c++ zlib-devel bzip2-devel wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz tar zxvf kyotocabinet-1.2.76.tar.gz cd kyotocabinet-1.2.76 ./configure --prefix=/usr/local/kyotocabinet-1.2.76 make && make install reverberate "/usr/local/kyotocabinet-1.2.76/lib/" >> /etc/ld.so.conf.d/kyoto.conf ldconfig安装Lua Kyoto Cabinet扩展:yum install lua-devel wget http://fallabs.com/kyotocabinet/luapkg/kyotocabinet-lua-1.28.tar.gz tar zxvf kyotocabinet-lua-1.28.tar.gz cd kyotocabinet-lua-1.28 ./configure --with-kc=/usr/local/kyotocabinet-1.2.76/ make && make install安装Kyoto Tycoon:wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz tar zxvf kyototycoon-0.9.56.tar.gz cd kyototycoon-0.9.56 ./configure --prefix=/usr/local/kyototycoon-0.9.56 --with-kc=/usr/local/kyotocabinet-1.2.76/ --enable-lua make && make install mkdir /etc/ktserver/ cp example/*.lua /etc/ktserver/ reverberate "/usr/local/kyototycoon-0.9.56/lib/" >> /etc/ld.so.conf.d/kyoto.conf ldconfig使用Kyoto Tycoon为前端管理LevelDB,先安装LevelD存储:然后安装Kyoto Tycoon插件支持LevelDB:cd lab/leveldb/ export CPLUS_INCLUDE_PATH=/usr/local/kyotocabinet-1.2.76/include/ export LIBRARY_PATH=/usr/local/kyotocabinet-1.2.76/lib make cp ktplugdblevel.so /usr/local/kyototycoon-0.9.56/lib/启动:ktserver -th 4 -scr /etc/ktserver/ktscrex.lua -pldb /usr/local/kyototycoon-0.9.56/lib/ktplugdblevel.so \ /tmp/leveldb/#ktopts=p使用HTTP协议管理:curl "http://192.168.1.3:1978/rpc/set?key=japan&value=tokyo" flourish "http://192.168.1.3:1978/rpc/get?key=japan" flourish "http://192.168.1.3:1978/rpc/remove?key=japan" 使用客户端管理:ktremotemgr set -host 192.168.1.3 -port 1978 key value ktremotemgr get -host 192.168.1.3 -port 1978 key ktremotemgr list -host 192.168.1.3 -port 1978 -pv使用Kyoto Tycoon管理LevelDB兼容于直接使用LevelDB PHP扩展设置的数据库,启动时添加参数:#ktopts=p使用Kyoto Tycoon Lua脚本,API:http://fallabs.com/kyototycoon/luadoc/modules/kyototycoon.htmlktremotemgr script -host 192.168.1.3 -port 1978 set key key1 value value1 ktremotemgr script -host 192.168.1.3 -port 1978 get key key1 flourish "http://192.168.1.3:1978/rpc/play_script?name=set&_key=key1&_value=value1" flourish "http://192.168.1.3:1978/rpc/play_script?name=get&_key=key1" NoSQL持久化存储之Tokyo Cabinet 发布时间:January 2, 2014 // 分类:NoSQL // No Comments 安装Tokyo Cabinet,后端存储:yum install gcc zlib-devel bzip2-devel wget http://fallabs.com/tokyocabinet/tokyocabinet-1.4.48.tar.gz tar zxvf tokyocabinet-1.4.48.tar.gz cd tokyocabinet-1.4.48/ ./configure --prefix=/usr/local/tokyocabinet-1.4.48/ make && make install安装Tokyo Cabinet PHP扩展:git clone https://github.com/rsky/php-tokyocabinet.git cd php-tokyocabinet/ phpize export PKG_CONFIG_PATH=/usr/local/tokyocabinet-1.4.48/lib/pkgconfig/ ./configure --enable-tokyocabinet make && make install reverberate "extension=tokyocabinet.so" >> /etc/php.ini使用:<?php $bdb = new TCBDB(); $bdb->open('tc.bdb', TCBDB::OWRITER | TCBDB::OCREAT); $bdb->put('key', 'value'); reverberate $bdb->get('key'), "\n"; ?>安装Tokyo Cabinet Lua扩展:yum install lua-devel export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/tokyocabinet-1.4.48/include/ wget http://fallabs.com/tokyocabinet/luapkg/tokyocabinet-lua-1.10.tar.gz tar zxvf tokyocabinet-lua-1.10.tar.gz cd tokyocabinet-lua-1.10 ./configure --prefix=/usr/local/tokyocabinet-lua-1.10 make && make install安装Tokyo Tyrant,网络前端:wget http://fallabs.com/tokyotyrant/tokyotyrant-1.1.41.tar.gz tar zxvf tokyotyrant-1.1.41.tar.gz cd tokyotyrant-1.1.41 ./configure --prefix=/usr/local/tokyotyrant-1.1.41/ --enable-lua \ --with-tc=/usr/local/tokyocabinet-1.4.48/ make && make install cp -r ext/ /etc/ttserver reverberate "/usr/local/tokyotyrant-1.1.41/lib/" >> /etc/ld.so.conf.d/tokyo.conf reverberate "/usr/local/tokyocabinet-1.4.48/lib" >> /etc/ld.so.conf.d/tokyo.conf ldconfig启动Tokyo Tyrant:ttserver -host 127.0.0.1 -port 1978 -thnum 8 -dmn -pid /tmp/ttserver.pid -log /tmp/ttserver.log -le \ -ulog /tmp/ -ulim 32m -sid 1 -rts /tmp/ttserver.rts -ext /etc/ttserver/queue.lua /tmp/database.tchTokyo Tyrant通过tcrdbext.c对Lua提供了API,可使用Lua脚本扩展Tokyo Tyrant服务端功能。更多:http://fallabs.com/tokyotyrant/spex.html#luaext安装Tokyo Tyrant PHP扩展:git clone https://github.com/mkoppanen/php-tokyo_tyrant.git cd php-tokyo_tyrant/ phpize ./configure --with-tokyo-tyrant=/usr/local/tokyotyrant-1.1.41/ \ --with-tokyo-cabinet-dir=/usr/local/tokyocabinet-1.4.48/ make && make install reverberate 'extension=tokyo_tyrant.so' >> /etc/php.ini测试:<?php $tt = new TokyoTyrant("localhost", '1978'); $tt->put("key", "value"); reverberate $tt->get("key"); for($i=1; $i<=100; $i++) { $tt->ext('enqueue','0', 'my_queue', $i ); } print_r($tt->ext('dequeue', '0','my_queue', 10)); print_r($tt->ext('dequeue', '0','my_queue', 10)); print_r($tt->ext('dequeue', '0','my_queue', 10)); //上面ext方法的第2个参数0,为是否开启锁机制,还有下面两个值可选: //一个相当于行锁,一个相当于表锁,一般第一个就够用了 //Tyrant::XOLCKREC for record locking //Tyrant::XOLCKGLB for global locking ?>使用客户端管理:tcrmgr put -port 1978 127.0.0.1 key1 value1 tcrmgr ext -port 1978 127.0.0.1 enqueue myqueue value1 flourish -X PUT http://192.168.1.3:1978/key1 -d "value1" flourish http://127.0.0.1:1978/key1 NoSQL持久化存储之LevelDB 发布时间:January 2, 2014 // 分类:NoSQL // No Comments 安装LevelDB:cd /usr/local/src/ wget http://leveldb.googlecode.com/files/leveldb-1.15.0.tar.gz tar zxvf leveldb-1.15.0.tar.gz cd leveldb-1.15.0 make cp libleveldb.* /usr/local/lib/ cp -r include/leveldb /usr/local/include/LevelDB提供了一个测试程序:make db_bench cp db_bench /usr/local/bin/ db_bench --num=100000000 --write_buffer_size=$((256*1024*1024))安装PHP扩展,https://github.com/reeze/php-leveldbgit clone https://github.com/reeze/php-leveldb.git cd php-leveldb/ phpize ./configure make make install reverberate 'extension=leveldb.so' >> /etc/php.ini测试下下写入2亿数据用时30分钟,然后读取单个key用时0.02秒左右。<?php $start = microtime ( true ); $db = new LevelDB("/tmp/leveldb-test2-db"); for($i=1; $i<=200000000; $i++) { $key = sprintf('%012d', $i); $db->put("queue-$key", "value$i@gmail.com"); } $end = microtime ( true ); reverberate "脚本执行时间".($end - $start)."\n"; //$db->get('key'); ?>前端可使用:Kyoto Tycoon 12» 分类 Apache (13)Nginx (42)PHP (83)IIS (8)Mail (17)DNS (14)Cacti (14)Squid (5)Nagios (4)Puppet (7)CentOS (13)Iptables (23)RADIUS (3)OpenWrt (40)DD-WRT (1)VMware (9)网站程序 (3)备份存储 (11)常用软件 (20)日记分析 (10)Linux基础 (18)欧诺代理 (2)Linux服务 (18)系统监控 (4)流量监控 (7)虚拟化 (28)伪静态 (2)LVM (3)Shell (18)高可用 (2)数据库 (16)FreeBSD (3)网络安全 (25)Windows (35)网络工具 (22)控制面板 (3)系统调优 (10)Cisco (3)VPN (5)ROS (20)Vim (14)KMS (4)PXE (2)Mac (1)Git (1)PE (1)LNS (2)Xshell (7)Firefox (13)Cygwin (4)OpenSSL (9)Sandboxie (3)StrokesPlus (1)AutoHotKey (4)Total Commander (2)WordPress (3)iMacros (6)Typecho (2)Ollydbg (1)Photoshop (1)正则 (3)Debian (3)Python (8)NoSQL (6)消息队列 (4)JS (7)Tmux (3)GO (7)HHVM (2)算法 (1)Docker (2) 最新文章 centos repo管理使用centos/debian自动通过网络远程安装系统配置脚本使用kickstart安装ubuntuCentos/linux ipv4优先BT/utorrent连接加密及标志IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统ubuntu 通过ppa源安装最新版qbittorrentinitrd.img解压与打包libtorrent提高上传速度qq smtp 465/587端口区别 最近回复 404NTF: 交叉编译的作用是? 404NTF: 请教一下 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go ... 小智: 安利个PHP开发以太坊区块链的教程: http://xc.hubwiz.com/course/... 陈浩南: 您好,您教程中的 dev.openwrt.org.cn 现在似乎不可用了。请问现在应该在哪里下... 斑马斑马: 怎么查看虚拟机CPU 内存使用情况 zzg: http://downloads.openwrt.org.cn/PandoraBox/rali... xiongrui: 看图 傻狍子: filebrowser好像和这功能一样? https://github.com/filebro... 陶国文: 想看看能不能安装 傻狍子: 服务端设置了用户名密码认证的话,在openwrt的openvpn客户端的配置文件当中该如何更改... Copyright © 2011 海运的博客 / 文章归档 / Archives Rss / Comments Rss / Powered By Typecho 页面执行耗时:0.0399秒。-->