Job:控制Pod完成工作 Begin: kubectl explain job.spec Job基础Yaml apiVersion: batch/v1 kind: Job metadata: name: batch-job namespace: controller-test spec: temp ...
分类:
其他好文 时间:
2020-08-20 19:27:01
阅读次数:
140
1.服务器层优化1.将数据保存在内存中,保证内存读取数据设置足够大的innodb_buffer_pool_size,将数据读取到内存中。建议innodb_buffer_poll_size设置为总内存大小的3/4或者4/5怎么确定innodb_buffer_pool_size足够大。数据是从内存读取而不是硬盘?innodb_buffer_pool_pages_free为0则表示bufferpool已
分类:
数据库 时间:
2020-08-18 13:37:49
阅读次数:
66
package LeetCode_582 import java.util.* import kotlin.collections.ArrayList import kotlin.collections.HashMap /** * 582.Kill Process * (Prime) *Given ...
分类:
其他好文 时间:
2020-08-10 09:25:07
阅读次数:
54
今天我们要介绍的数字后端基本概念是Region。Region是Floorplan中作用于module或者instance group的一种约束。在Innovus中,当你希望某个模块里面的instance放在某个特定的区域的话,我们就可以给module或者instance group添加约束,约束可以 ...
分类:
其他好文 时间:
2020-08-09 19:10:56
阅读次数:
85
查看es集群健康状态curl-XGET"http://$ip:9200/_cat/health?"查看索引变红的原因curl-XGET"http://$ip:9200/_cluster/allocation/explain"如下确认索引是否可删除,或者调整副本为0
分类:
其他好文 时间:
2020-08-08 09:25:59
阅读次数:
119
一、redis集群节点修改 #添加和删除节点的流程 1.新节点添加槽位 2.源节点中的数据进行迁移 3.源节点数据迁移完毕 4.迁移下一个槽位的数据,依次循环 1.添加节点 1)准备新机器 [root@db02 ~]# mkdir /service/redis/{6381,6382} [root@d ...
分类:
其他好文 时间:
2020-08-07 21:42:57
阅读次数:
70
Given the root of a binary tree and an integer distance. A pair of two different leaf nodes of a binary tree is said to be good if the length of the s ...
分类:
其他好文 时间:
2020-07-27 15:58:17
阅读次数:
93
openshift 3.11 安装部署 openshift安装部署 1 环境准备(所有节点) openshift 版本 v3.11 1.1 机器环境 ip cpu mem hostname OSsystem 192.168.1.130 4 16 master CentOS7.6 192.168.1. ...
分类:
其他好文 时间:
2020-07-26 19:32:37
阅读次数:
55
Spark SQL(6) OptimizedPlan 在这一步spark sql主要应用一些规则,优化生成的Resolved Plan,这一步涉及到的有Optimizer。 之前介绍在sparksession实例化的是会实例化sessionState,进而确定QueryExecution、Analy ...
分类:
数据库 时间:
2020-07-26 19:28:25
阅读次数:
101
今天执行通过时间范围查询订单数量的sql时,想看看该时间字段是否走了索引,发现一个很有意思的问题. 首先说一下查询是否使用了索引的方法 通过explain来查看,即将explain放在查询的sql前面 explain SELECT * from ord_order_consume where cre ...
分类:
数据库 时间:
2020-07-24 22:12:22
阅读次数:
163