11 2022 档案
摘要:Redis3.0 之后引入了 Redis Cluster 集群方案,它用来解决分布式扩展的需求,同时也实现了高可用机制。 集群要求至少有3个master,每个master负载均衡负责读写,同时每个master还有2个slave,在master宕机的时候,salve会被选举为master 所以需要9个
阅读全文
摘要:一。with ... as (...) 之前临时表都是一层一层嵌套的,最后嵌套下次很难阅读,使用这种方式可以大大提高sql的可阅读性 with temp1 as ( select * from ... where .. ), temp2 as ( select * from ... where...
阅读全文

浙公网安备 33010602011771号