08 2020 档案

摘要:一、背景: 1、通常历史是由胜利者书写的,内容往往美化自己,贬低对手,故其可靠性和真实性会极低,但是要想追述历史,又不得不看假历史,因此,真正的历史往往被抹掉了,造成现在只有当前现状和自己的历史,当然,显而易见的历史则抹不掉; 2、造假、歪曲事件,会对当事人造成严重伤害,有时也会伤害到其他人,如何真 阅读全文
posted @ 2020-08-29 15:34 igoodful 阅读(593) 评论(0) 推荐(0)
摘要:在使用mysql5.7的时候,发现了不少在mysql5.6上不曾见过的日志,级别为note, 最常见的note日志以下三种,下面我们来逐个解释。 第一种,Aborted connection . 如上图,信息如下: 2020-08-17T14:44:24.102542Z 59 [Note] Abor 阅读全文
posted @ 2020-08-27 18:05 igoodful 阅读(1172) 评论(0) 推荐(0)
摘要:> check table endpoint; + + + + + | Table | Op | Msg_type | Msg_text | + + + + + | falcon_global.endpoint | check | status | OK | + + + + + 1 row in s 阅读全文
posted @ 2020-08-27 11:24 igoodful 阅读(623) 评论(0) 推荐(0)
摘要:> optimize table endpoint \G; *************************** 1. row *************************** Table: falcon_global.endpoint Op: optimize Msg_type: note 阅读全文
posted @ 2020-08-27 11:22 igoodful 阅读(948) 评论(0) 推荐(1)
摘要:> Checksum table endpoint; + + + | Table | Checksum | + + + | falcon_global.endpoint | 3178977874 | + + + 1 row in set (0.94 sec) Thu Aug 27 11:15:48 阅读全文
posted @ 2020-08-27 11:18 igoodful 阅读(245) 评论(0) 推荐(0)
摘要:# desc endpoint; # show create table endpoint \G; # show index from endpoint \G; # show table status like 'endpoint'\G; # optimize table endpoint \G; 阅读全文
posted @ 2020-08-27 11:15 igoodful 阅读(2241) 评论(0) 推荐(0)
摘要:利用show binlog events中的信息执行。而非binlog文件。没有元数据历史信息,可以出执行了哪些ddl,但不能生成ddl的回滚语句。 安装binlog2sqlgit clone https://github.com/danfengcao/binlog2sql.git cd binlo 阅读全文
posted @ 2020-08-26 15:40 igoodful 阅读(289) 评论(0) 推荐(0)
摘要:自己的生命和健康永远都是第一位 ################################################ 个人感悟: 写书写累了,就百度一下,看到了这篇新闻报道,顺手点进去,看了后感触颇深,因为近乎感同身受。 我想这应该是他初恋吧,不然不会这般纠结,可惜的是没能熬过去。其实殉 阅读全文
posted @ 2020-08-26 03:02 igoodful 阅读(1181) 评论(0) 推荐(0)
摘要:#################################### 1、linux下mysql安装完后是默认:区分表名的大小写,不区分列名的大小写; 2、用root帐号登录后,在/etc/my.cnf 中的[mysqld]后添加添加lower_case_table_names=1,重启MYSQ 阅读全文
posted @ 2020-08-25 15:04 igoodful 阅读(1104) 评论(0) 推荐(0)
摘要:1、replace into REPLACE的运行与INSERT很相似。只有一点例外:假如表中的一个旧记录与一个用于PRIMARY KEY或一个UNIQUE索引的新记录具有相同的值,则在新记录被插入之前,旧记录被删除。 注意,除非表有一个PRIMARY KEY或UNIQUE索引,否则,使用一个REP 阅读全文
posted @ 2020-08-19 16:24 igoodful 阅读(268) 评论(3) 推荐(0)
摘要:分页: # 创建索引:不要超过767byte的联合索引 CREATE TABLE `ga_property_dict_item_info` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '表主键自增ID', `dict_id` 阅读全文
posted @ 2020-08-19 11:56 igoodful 阅读(257) 评论(2) 推荐(0)
摘要:############## 源码安装来升级openssl: 源码安装: 软连接:bin可执行文件,include头文件,.so文件; 配置文件:配置动态库搜索路径/etc/ld.so.conf # wget https://www.openssl.org/source/old/1.1.1/open 阅读全文
posted @ 2020-08-19 10:37 igoodful 阅读(254) 评论(2) 推荐(0)
摘要:尚层别墅装修公司 郑爽: 阅读全文
posted @ 2020-08-14 16:52 igoodful 阅读(236) 评论(0) 推荐(0)
摘要:安装powerline: https://github.com/powerline/fonts 安装oh-my-zsh: sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh 阅读全文
posted @ 2020-08-14 15:29 igoodful 阅读(186) 评论(0) 推荐(0)
摘要:########## 启用root: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ############### 阅读全文
posted @ 2020-08-14 14:18 igoodful 阅读(246) 评论(1) 推荐(0)
摘要:################## # 如果系统总内存为128G,如果设置为100G以上,则容易出现内存溢出,out of memory,导致mysqld被系统重启,日志在/var/log/message中;90G最佳,设置为70到80G,则更安全 innodb_buffer_pool_size 阅读全文
posted @ 2020-08-07 10:05 igoodful 阅读(201) 评论(0) 推荐(0)
摘要:numactl --interleave=all 命令 现在的机器上都是有多个CPU和多个内存块的。以前我们都是将内存块看成是一大块内存,所有CPU到这个共享内存的访问消息是一样的。这就是之前普遍使用的SMP模型。但是随着处理器的增加,共享内存可能会导致内存访问冲突越来越厉害,且如果内存访问达到瓶颈 阅读全文
posted @ 2020-08-03 14:47 igoodful 阅读(2327) 评论(0) 推荐(0)