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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
V
V2EX
G
Google Developers Blog
F
Full Disclosure
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
H
Hacker News: Front Page
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
NISL@THU
NISL@THU
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
Hacker News - Newest:
Hacker News - Newest: "LLM"
A
About on SuperTechFans
The Cloudflare Blog
C
Cisco Blogs
D
DataBreaches.Net
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Vercel News
Vercel News
P
Privacy International News Feed
Microsoft Security Blog
Microsoft Security Blog
Help Net Security
Help Net Security
Recorded Future
Recorded Future
PCI Perspectives
PCI Perspectives
S
Schneier on Security
AI
AI
N
News | PayPal Newsroom
雷峰网
雷峰网
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
The Last Watchdog
The Last Watchdog
L
LINUX DO - 最新话题
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Schneier on Security
Schneier on Security
S
Securelist
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
AWS News Blog
AWS News Blog
TaoSecurity Blog
TaoSecurity Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园 - 三生石上(FineUI控件)
C
CXSECURITY Database RSS Feed - CXSecurity.com
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Cloudbric
Cloudbric
C
Cybersecurity and Infrastructure Security Agency CISA
Project Zero
Project Zero
C
Check Point Blog
S
Security Affairs

博客园 - 傻强

[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)    收藏  举报