xiaopeng

SQL性能分析-Explain

SQL性能分析-Explain 查看当前数据库INSERT、UPDATE、DELETE、SELECT的访问频次: show GLOBAL status like 'Com_______' EXPLAIN 执行计划各字段含义: ld select查询的序列号,表示查询中执行select子句或者是操作

xiaopeng Published on 2025-02-06

书写高质量SQL的30条建议

前言 本文将结合实例demo,阐述30条有关于优化SQL的建议,多数是实际开发中总结出来的,希望对大家有帮助。 1、查询SQL尽量不要使用select *,而是select具体字段。 反例子: select * from employee; 正例子: select id,name from emp

xiaopeng Published on 2025-01-21

NUXT3部署

安装 nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash 下载失败,去github手动下载对应的文件到服务器解决 ​ --安装nvm unzip nvm-0.39.3.zip cd n

xiaopeng Published on 2025-01-14

申请证书-Certbot

centos7安装certbot: 先安装snapd sudo yum install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap 安装certbot</

xiaopeng Published on 2025-01-13