惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
A
Arctic Wolf
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
Martin Fowler
Martin Fowler
A
About on SuperTechFans
P
Palo Alto Networks Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
D
DataBreaches.Net
Cyberwarzone
Cyberwarzone
T
Tor Project blog
IT之家
IT之家
P
Proofpoint News Feed
Help Net Security
Help Net Security
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CXSECURITY Database RSS Feed - CXSecurity.com
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
N
News and Events Feed by Topic
The Cloudflare Blog
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
The Last Watchdog
The Last Watchdog
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LangChain Blog
I
InfoQ
F
Full Disclosure
The Register - Security
The Register - Security
阮一峰的网络日志
阮一峰的网络日志
H
Hacker News: Front Page
V
V2EX

博客园 - 傻强

[zt]出租司机给我上的MBA课 [好文收藏]弗洛伊德的冰山理论 我解“千江有水千江月,万里无云万里天” [转贴]程序员创业:小型软件公司如何做大 忍一时风平浪静,退一步海阔天空 [转贴]巩固人际关系36计 windows2003还有这毛病!-不能用 '..' 表示父目录 爱死Google了 How Much Is My Blog Worth? 好文收藏:大教堂和市集(The Cathedral and the Bazaar) 找到原文啦! 人格测试 高科技企业在忙什么 重用个屁! Oracle(甲骨文)的CEO Larry.Ellison在耶鲁大学2000届毕业典礼上的演讲 技术性论述应该简洁明了 有哲理的文章 弘一法师格言别录 付出与得到
SQL优化方案
傻强 · 2005-11-29 · via 博客园 - 傻强

在报警记录表中的记录超过5000条时,只要启动一个客户端程序连接到服务器,就会消耗服务器30%的CPU占用率,现在解决这个问题的办法是:
1、将所有的string型主键换为自增长的int型(32位)
2、查找代码中能不用视图而用了视图的地方
3、尽量减少视图中的外连接,改为内连接

posted on 2005-11-29 11:30  傻强  阅读(349)  评论(0)    收藏  举报