基于MySQL5.6.38搭建MHA高可用环境+Atlas实现读写分离
分类:
其他好文 时间:
2018-07-05 16:00:51
阅读次数:
192
一.本地数据库事务 1.事务ACID理解 原子性【Atomicity】:一次事务的多次操作是原子的,要么全部执行,要么全部不执行。 一致性【Consistency】:事务前后数据库的约束保持一致性,比如键值约束。 隔离性【Isolation】:事务之前有一定隔离机制,不用隔离级别。 持久性【Dura ...
分类:
数据库 时间:
2018-07-04 18:52:41
阅读次数:
149
系统中的电感线圈元件, 虽然不消耗电能, 但是会 占用系统的容量(相当于占用资源但是不做事), 会使系统 的发电量的使用效率降低, 线路损耗增大, 发出同样有功用电量所需的设备容量扩大 将感性元件和容性元件串接在一起的好处是: 感性负载电流 的相位 落后 系统电压(这个是作为参考电压使用的) 90度 ...
分类:
其他好文 时间:
2018-06-28 22:50:35
阅读次数:
195
ddt原始框架,生成的用例的名称比较冗长,我们可以对ddt框架该类方法进行重写 #对此方法进行重写 #raw code ...
分类:
编程语言 时间:
2018-06-23 20:55:00
阅读次数:
733
Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Input: ...
分类:
其他好文 时间:
2018-06-23 14:34:18
阅读次数:
172
58. Length of Last Word Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the ...
分类:
其他好文 时间:
2018-06-22 13:18:31
阅读次数:
139
epoll is a Linux kernel system call for a scalable I/O event notification mechanism, first introduced in version 2.5.44 of the Linux kernel mainline.[ ...
分类:
其他好文 时间:
2018-06-18 17:15:16
阅读次数:
146
C. Two Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two squares, ...
分类:
其他好文 时间:
2018-06-17 16:59:08
阅读次数:
218
Exponentiation Time Limit: 500MS Memory Limit: 10000K Total Submissions: 179524 Accepted: 43274 Description Problems involving the computation of exac ...
分类:
其他好文 时间:
2018-06-17 10:54:47
阅读次数:
167
百科:https://baike.baidu.com/item/CAP%E5%8E%9F%E5%88%99/5712863?fr=aladdin CAP原则又称CAP定理,指的是在一个分布式系统中,Consistency(一致性)、 Availability(可用性)、Partition toler ...
分类:
其他好文 时间:
2018-06-15 18:24:04
阅读次数:
215