- 博客(7)
- 资源 (17)
- 收藏
- 关注
原创 nginx 开启 gzip压缩的一个忽略地方
使用nginx已经开启了gzip,Google检测提醒需要开启gzip,一直觉得不可思议。 找了很久,才发现,自己虽然开启了gzip,但是gzip默认是指针对text/plain ,不包括CSS/JS。修改 nginx.conf 在http指令中加入,再重启nginx -s reload gzip on; gzip_comp_level 5; gzip_types text
2017-06-30 18:14:07 5164 1
原创 mysql 的诡异现象,CPU 100%,order by 主键提示 sending data
mysql 单表数据量 50万,执行查询一直CPU爆表,按照hash(id) 分表 partitions 10份。 问题依旧出现,新问题出现了 select * from tb where status in(1,2) and type=1 order by id desc limit 1 提示sending data诡异MariaDB [db2_zz]> select count(tid) fr
2017-06-26 18:06:40 1577 1
原创 MySQL 1040 Too many connections
PDOException: SQLSTATE[08004] [1040] Too many connections in /home/fl/basic/vendor/yiisoft/yii2/db/Connection.php:630MariaDB [tmp]> show variables like '%connection%';+--------------------------+-----
2017-06-21 11:21:16 1653
原创 MySQL优化 select max(addtime) 改为 select *
原SQL:MariaDB [db]> explain SELECT MAX(addtime) FROM `f_info` WHERE `status` IN (1, 2)\G*************************** 1. row *************************** id: 1 select_type: SIMPLE ta
2017-06-21 09:53:24 1267
原创 centos7 安装 python3 mysqlclient 小记
使用centos7安装python3,在安装 mysqlclient的时候报错 /bin/sh mysql_config not found 因为需要安装 mariadb-devel ,之后再报错error: command 'gcc' failed with exit status 1,缺乏 gcc。之后还是报错,因为 还是未安装 python36u-devel 所以正确的安装应该是装完 yum
2017-06-17 09:37:14 7334 2
原创 HTTPS无法打开:curl: (35) Encountered end of file
访问HTTP可以,HTTPS无法打开使用curl -I https://www.***.com 返回 curl: (35) Encountered end of file[root@instance-3 ~]# curl -I https://www.***.com -vvv* About to connect() to www.***.com port 443 (#0)* Trying 1
2017-06-16 09:55:08 33547
原创 Google Cloud Platform 性能真差!
Google cloud platform性能真差配置 1核心,3.7GB内存,标准硬盘(非SSD),存储空间40GB。 MySQL 数据 2GB左右,一跑起来 MySQL CPU就 99.9%,没办法,开一个新的2核,4GB内存,SSD 硬盘40GB。把数据库迁移过去,再访问网站,一直加载,到最后空白……然后诡异的事情出现了,ssh被退出了,登陆旧的那一台Google cloud platfor
2017-06-15 23:43:03 6750 1
smartgit-win-18_1_5(2).zip
2019-07-09
支付宝充值银行前置接口(旧接口)
2014-12-30
让windows cmd支持whois查询whois.exe
2014-09-13
phpStorm 7.1运行配置包(备份)
2014-05-24
CuteFTP+8+Professional.rar 无需注册 绿色中文版
2011-10-03
PHP在线打包程序(整站打包程序) MakeZipFile.php
2011-09-28
中国 省市区三级级联菜单 数据库Mysql修正版本
2011-09-20
PHP如何匹配不包含某些关键词正则写法
2011-09-13
阿里巴巴分类信息 信息分类数据表MySQL UTF8 记录数9,553
2011-08-28
全国省市区三级sql表,可以左右连接查询,.sql文件下载
2009-11-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人