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.
最新文章
- Android界面组件的四种启动方式
- 基于.net开发chrome核心浏览器【五】
- WCF客户端和服务端配置
- Android handler真的是重新启动一个线程吗?
- 微软职位内部推荐-Sr DEV Lead, Bing Search Relevance
- HDU1257-最少拦截系统
- 深入理解Oracle RAC 12c 笔记
- 【hadoop之翊】——基于CentOS的hadoop2.4.0伪分布安装配置
- react+webpack开发环境配置
- python实现查有道词典
- Node笔记三
- Confluence 6 如何备份和恢复
- Spring 的介绍和目标
- Django REST framework之版本,解释器,序列化
- Charles问题
- hdu 4282 枚举,非二分
- Java数组排序和搜索
- PE 学习之路 —— DOS 头、NT 头
- 系统对象的使用——Cookie,ViewState,Session,Application
- image_Magic
热门文章
- mysql error You must reset your password using ALTER USER statement before executing this statement.
- 详细解读Android中的搜索框(二)—— Search Dialog
- 关于CSS中的float可能出现的小问题
- 关于GreenPlum的一些整理
- [已解决]下载chromium源码 download_from_google_storage 无法下载文件
- 【未解决】centos 6.4 xen4.2 在关机的时候很慢
- 网关局域网通信协议V2.0
- 热修复 AndFix 阿里 apkpatch MD
- Java去掉Html标签的方法
- 【Scala】Java-Scala-单例模式实现方法