Elasticsearch 创建索引的方法以及代码-CSDN博客
GET Testpublic void getIndexTest() throws IOException {GetIndexRequest ir new GetIndexRequest("goods");GetIndexResponse getRe esClient.indices().get(ir, RequestOptions.DEFAULT);System.out.println(g…
1、进入mysql命令行
mysql -u 用户名 -p
退出mysql命令行 exit;2、在mysql命令行中输入一下配置
show variables like %slow%;
set global slow_query_logON; (开启慢查询日志功能)
slow_query_log_file (这个参数中存放的是慢查询日志文件的位置)show variables like %lo…