Post Views: 66 1、参考:在 MySQL 8.0 中,查询表记录总数时,超时的分析优化。 在 Navicat 中的执行时长为:3.075秒。如图1 2、在 Laravel 9 中的执行时长 […]
Post Views: 110 1、前端响应超时,响应时长为:1 m 0.06 s。如图1 2、后端接口响应未超时,响应时长为:1 m 5.70 s。如图2 3、调整代理设置,添加 3 个与 超时相关的 […]
Post Views: 79 1、参考:在 MySQL 8.0 中,查询表记录总数时,超时的分析优化。当一条 count SQL 没有 where 条件存在时,就添加 WHERE id > 0。 […]
Post Views: 170 1、一个接口请求响应超时,原因在于 count(*) SQL 耗时 54 秒。表中数据量超过 1000万 条。如图1 2、其中表字段 shipping_type 有添加索 […]
Post Views: 176 1、在 TortoiseGit 中拉取时,报错:error: some local refs could not be updated; try running R […]
Post Views: 75 1、请求参数如下,需要确保 logistics_freight_no 在表中的唯一性。由于支持批量覆盖写入,最终的实现方案是先清空 return_order_id 为 28 […]
Post Views: 125 1、现阶段的实现如下,最终生成的 SQL 永远都需要 join 关联上其他几张表,否则会报错 2、调整后的实现如下,在准备好 new Request($criteria) […]
Post Views: 78 1、在 Laravel 9 中,报错:Call to undefined method Illuminate\\Http\\Resources\\MissingValue: […]
Post Views: 73 1、当表中存在多行数据时,实现如下。报错:Call to a member function value() on null。如图1 2、调整实现如下,当记录不存在时,查询 […]
👨💻 个人品牌
王世强|PHP / Go 技术顾问
15+ 年 Web 后端开发经验,专注于系统维护、架构优化、性能调优及 Linux 运维。
持续运营技术博客 10+ 年,累计发布 1000+ 篇原创技术文章。
为创业团队、中小企业及独立开发者提供长期技术支持与远程合作服务。
.env (14) 404 (13) add (16) Apache (13) Array (19) Cache (13) CentOS (23) chrome (19) Cloudflare (23) composer (42) composer.json (22) composer install (13) composer update (14) console (16) Container (25) curl (15) delete (31) Docker (32) Dockerfile (15) ECS (12) EdgeOne (19) environment variable (19) error (24) Failed (13) file (15) filter (20) FORMAT (12) function (13) Git (27) GitHub (17) Gitlab (15) Go (35) Google AdSense (20) GraphQL (24) GraphQL API (14) Gutenberg (25) http (21) https (21) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (37) Laravel 6 (55) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (18) Migrate (13) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (54) Node.js (12) normalize.css (20) OKX (15) OneinStack (14) PHP (67) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (53) postman (18) Query (17) queue (16) Rancher (24) Redis (42) response (13) RESTful (27) RESTful API (23) rules (12) Shell (13) Shopify (19) SlyTranslate (15) SQL (24) String (14) TortoiseGit (14) Twenty Twenty-Five (19) Ubuntu (38) update (20) VPN (17) W3 Total Cache (26) Windows 10 (46) WireGuard (26) WordPress (100) WordPress 多语言 (13) WPCode (20) Wstunnel (13) Yii (40) Yii 2 (70) Yii 2.0 (51) 命令行 (13) 技术博客 (15) 数据库迁移 (16) 浏览器 (14) 设置 (12) 重构 (12) 阿里云 (19)