ES 修改 查询最大行数
curl -XPUT http://ip:port/your_index/_settings?preserve_existing=true -H 'Content-Type: application/json' -d' { "max_result_window" : "50000000" }'
这里就把es最大查询行数提升到了50000000 默认20000行;
curl -XPUT http://ip:port/your_index/_settings?preserve_existing=true -H 'Content-Type: application/json' -d' { "max_result_window" : "50000000" }'
这里就把es最大查询行数提升到了50000000 默认20000行;
mysql安装在虚拟机中,公司突然断电导致mysql启动失败查看mysql的error日志2021-05-19T06:44:51.993300Z 0 [ERROR] InnoDB: Ignoring the redo log due to...
mysql -e "select * from newsdb.t_hk_stock_news where id <100 ...
最近公司提供了一台新的服务器,同时有一个盘是ssd。同时为了测试postgresql的性能,将数据放置到ssd上系统centos7.9 数据库postgresql-9.6首先停掉数据库systemctl stop pos...
系统:centos,版本:postgresql-9.6因为要测试postgresql的性能,当多次查询的时候查询结果会因为缓存用时很短,不能模拟出现实使用的场景。因此需要清除缓存。首先stop掉postgresqlsystemctl sto...
查看数据库的大小 select pg_database_size('test'); select pg_size_pretty(pg_database_size('test');查看单...
整型有符号整型Int8 - [-128 : 127]Int16 - [-32768 : 32767]Int32 - [-2147483648 : 2147483647]Int64 - [-9223372036854775808 : 9223...