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/ ...
随机推荐
- [转]“菜”鸟理解.NET Framework(CLI,CLS,CTS,CLR,FCL,BCL)
既然要学.NET,就要先认识认识她,我不喜欢大段大段文字的东西,自己通过理解,画个图,来看看.NET的沉鱼落雁,闭月羞花之容. 最下层蓝色部分是.NET Framework的基础,也是所有应用软件的基 ...
- 替换NSUserDefaults的方案
替换NSUserDefaults的方案 效果 源码 https://github.com/YouXianMing/iOS-Utilities // // BaseValueStorageManager ...
- 对于多个button要在同一个监听器中实现自己的单击事件的方法小诀窍。
在网上的一些教程中往往是把一个button加入多个监听器,却非常少有人会把多个button在同一个监听器中去实现他们的单击事件,并且这杨的事实上是非常有用的,比方说在制作一个简单的计算器是就须要0-9 ...
- FinalizableReference, FinalizablePhantomReference, FinalizableReferenceQueue
FinalizableReference /* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License ...
- 解决MTP device安装失败,手机无法被读取
操作步骤: 1. 我的电脑—>管理—>设备管理器—>便携设备(MTP)-->右击-更新驱动 2. 选择浏览计算机以查找驱动程序软件—>从计算机列表选择—>MTP ...
- 如何在CentOS 7.2上创建NFS的Share,然后让Client可以访问
讲得详细清楚明白的好文. Setting Up an NFS Server and Client on CentOS 7.2 https://www.howtoforge.com/tutorial/s ...
- C# 网络编程之webBrowser获取网页url和下载网页中图片
该文章主要是通过C#网络编程的webBrowser获取网页中的url并简单的尝试瞎子啊网页中的图片,主要是为以后网络开发的基础学习.其中主要的通过应用程序结合网页知识.正则表达式实现浏览.获取url. ...
- 初学 Delphi 嵌入汇编[1] - 汇编语言与机器语言
非科班出身, 现在才接触汇编, 惭愧呀, 好好学! 主选课本是清华大学王爽老师的<汇编语言>. 推荐 王爽老师的汇编网 汇编语言之前是机器语言. 机器语言是机器指令的集合, 机器指令是一系 ...
- layer.msg();怎么关闭
var index = layer.msg(); $.ajax("","",function(){ layer.close(index) })
- python3 中对arrow库的总结(转发)
https://blog.csdn.net/soft_kind/article/details/80614896 arrow库的官方文档:http://arrow.readthedocs.io/en/ ...