ESRALLY安装与使用
geonames、geopoint:都是和地理位置相关的,如果需要测试ES在地理位置处理的性能可以选用
http_logs:是http_server的,如果要测服务器日志、redis日志、apache日志可以选用
说明:esrally 自带的测试数据即为 rally_track 文件夹中的内容,主要包括:
Geonames(geonames): for evaluating the performance of structured data.
Geopoint(geopoint): for evaluating the performance of geo queries.
Percolator(percolator): for evaluating the performance of percolation queries.
PMC(pmc): for evaluating the performance of full text search.
NYC taxis(nyc_taxis): for evaluating the performance for highly structured data.
Nested(nested): for evaluating the performance for nested documents.
Logging(logging): for evaluating the performance of (Web) server logs.
noaa(noaa): for evaluating the performance of range fields.
我在测试的时候主要用到了以下几个:
Geonames:评估结构化数据的性能
PMC:评估全文搜索的性能
Nested:评估嵌套文档的性能
Logging:评估(Web)服务器日志的性能
noaa:评估range的性能
安装ESRALLY
安装配套关系(已测试):
python-3.8.13 git-1.9.5
注:3.8<=version<3.10(安装3.11会出问题)
安装Python3
详见:安装Python3 with ssl
https://blog.csdn.net/sdssee/article/details/143515176
安装GIT
git安装教程:
1、环境准备
rm -rf /usr/local/git
mkdir -p /usr/local/git
2、 下载依赖
yum install curl-devel expat-devel gettext-devel