Aerospike系列:6:AerospikeTools & Utilities
1:Aerospike Query Language
类似于SQL命令。可以用来管理索引和用户自定义函数,也可以测试大多数数据库的功能。
[root@localhost ~]#aql OPTIONS -h <host> #Default: 127.0.0.1
-p <port> #Default: 3000
-c <command>
-f <filepath>
-v #Enable verbose output.
-e #Enable echoing of commands.
-T <milliseconds> #Set the timeout (ms) for commands.#Default: 1000
-o (json | table) #Set the output mode.Default: table
-u <path> #Path to User managed UDF modules.
-s <path> #Path to the System managed UDF modules.
--help #Displays the usage information
- Data Management
aql> show namespaces
aql> show sets
aql> show bins- UDF Management
- Index Management
SHOW INDEXES [<ns>]
例子:show indexes test CREATE INDEX <index> ON <ns>[.<set>] (<bin>) <type>
例子:create index idx_ind2 on test.ind('uname') string DROP INDEX <ns> <index>
例子:drop index test idx_ind2 asinfo -v "sindex-repair:ns=test;indexname=ind_name;set=set_name;"
+-------+--------------+
| state | sync_state |
+-------+--------------+
| "RW" | "need_sync" |
+-------+--------------+
例子:asinfo -v "sindex-repair:ns=test;indexname=idx_ind;set=ind;"- Query and Scan Management
- Record Operations
- Querying Records
- Statistics
- Settings
2:Backup and Restore
Use a node outside the cluster and, in a distributed way, pull out all the cluster's data into a text file. Or, restore the data from one of these files. Source is included, allowing this tool to be modified.
3:Aerospike Monitor
实时的监控集群的大小和健康状态。
4:Aerospike Admin
实时的监控集群的大小和健康状态。并且提供了管理集群的函数,该工具很快会替换Aerospike Monitor
5:Log Latency Tool
Aerospike contains a number of settings that allow latency issues in a server to be diagnosed. This tool analyzes a logfile and displays the different components of a transaction.
6:Aerospike Command Line
支持JSON的命令行工具,可以设置和查询集群中的数据,也可以管理自定义函数
7:Aerospike Info
This low-level tool can make requests to an individual server over Aerospike's command language. Useful for gathering statistics, and also setting a variety of tuning parameters. Often used by higher level scripts.
8:Command Line Utility
This simple tools allows setting and getting individual values from the cluster. Good for basic validation.
Aerospike系列:6:AerospikeTools & Utilities的更多相关文章
- Aerospike系列:1:安装
1:下载源文件 wget http://www.aerospike.com/artifacts/aerospike-server-community/3.5.9/aerospike-server-co ...
- Aerospike系列:8:集群宕机演练
1:初始的集群状态 2:关掉192.168.91.133:3000 3:再关掉192.168.91.135:3000 3:再关掉192.168.91.144:3000 5:恢复192.168.91.1 ...
- Aerospike系列:7:数据分布详解
1:Aerospike数据库是Shared-Nothing架构,集群中的每个节点都是相同的,不会出现单点故障. Aerospike有智能分区算法,即把用户输入的key在内部根据RIPEMD-160算法 ...
- Aerospike系列:5:安装AMC
1:需要安装的包,如果缺少,请安装. python (2.6+) gcc python-devel 安装相应的模块 sudo pip install markupsafe sudo pip insta ...
- Aerospike系列:4:简单的增删改查aql
[root@localhost bin]# aql --help Usage: aql OPTIONS OPTIONS -h <host> The hostname to the serv ...
- Aerospike系列:3:aerospike特点分析
1. 数据存放 数据可以放内存,也可以放SSD. 数据放内存时速度肯定会很快,但这和memcache一样,相比memcache性能并没有优势 数据放内存时可以进行持久化配置,但文档只有一个地方提了 ...
- Aerospike系列:2:商业版和社区版的比较
http://www.aerospike.com/products-services
- aerospike(1)-centos7安装aerospike
要安装的软件:server和tools 下载地址:https://www.aerospike.com/download/server/4.5.1.5/ server: 1.下载 wget https: ...
- (5.6)mysql高可用系列——MySQL Utilities 管理工具
关键词:mysql工具集,mysql管理工具,mysql utilities [1]安装mysql utilities cd /download wget https://cdn.mysql.com/ ...
随机推荐
- Kali Linux 与 BackTrack Linux
(一)BackTrack BackTrack是基于Ubuntu的自启动运行光盘,它包含了一套安全及计算机取证工具.它其实是依靠融合Auditor Security Linux和WHAX(先前的Who ...
- 推荐Java基础
(一) 基础篇 01. Java多线程系列--“基础篇”01之 基本概念 02. Java多线程系列--“基础篇”02之 常用的实现多线程的两种方式 03. Java多线程系列--“基础篇”03之 T ...
- composer - No business network has been specified for this connection 解决方案
I have installed hyperledger composer locally. But on localhost it gives error : Error : Error tryin ...
- perf使用示例2
perf使用示例2 性能调优工具如 perf,Oprofile 等的基本原理都是对被监测对象进行采样,最简单的情形是根据 tick 中断进行采样,即在 tick 中断内触发采样点,在采样点里判断程序当 ...
- 洛谷 P1123 取数游戏
题目描述 一个N×M的由非负整数构成的数字矩阵,你需要在其中取出若干个数字,使得取出的任意两个数字不相邻(若一个数字在另外一个数字相邻8个格子中的一个即认为这两个数字相邻),求取出数字和最大是多少. ...
- go语言之进阶篇关闭channel
1.关闭channel package main import ( "fmt" ) func main() { ch := make(chan int) //创建一个无缓存chan ...
- go语言之进阶篇error接口应用
1.error接口应用 示例: package main import "fmt" import "errors" func MyDiv(a, b int) ( ...
- iOS开发-音乐播放(AVAudioPlayer)
现在的手机的基本上没有人不停音乐的,我们无法想象在一个没有声音的世界里我们会过的怎么样,国内现在的主流的主流网易云音乐,QQ音乐,酷狗,虾米,天天基本上霸占了所有的用户群体,不过并没有妨碍大家对音乐的 ...
- iOS开发-仿大众点评iPad侧边导航栏
昨天其实已经写了一篇侧边栏的文章,不过感觉还不是很清晰,这篇文章算是补充吧,iPad上看了大众点评的侧边栏,基本上百分之九十类似,具体效果可参考下图: 对比昨天主要做了两个修改,一个是图片和文字的显示 ...
- Regular Expression Matching leetcode java
题目: Implement regular expression matching with support for '.' and '*'. '.' Matches any single chara ...