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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - qufo

Golang 线程池 Docker 实现的 redis 主从 Golang 之 Base62 编码 Golang 之 Qrcode 二维码 Golang 之 key-value LevelDB 无废话 Thrift 之 Hello World( PHP 版). [转] putty 使用密钥登陆 OpenSSH 破一个行业ERP的感想 Practical Ext JS Projects with Gears中关于Gears描述。 七七前一天,搞定 PHP5 + Oracle 8.1.7 去掉PowerDesigner 15 在 Visual Studio 2008里的不兼容。 回家 庆祝自己通过驾驶员考试 2008.08.08.一个有记住意义的时刻。 adverbux.com 明天路考 blank.security 距离2008年8月8日还有8天。 随时10个可用线程--自己涂鸦的“线程池”
一个视图引发的血案
qufo · 2010-04-12 · via 博客园 - qufo

今天阳光不是很明媚,但也跟往常一样。

中午11点左右的时候,陆续有人打电话过来说数据库访问非常慢,慢到受不了,当时计划中午重启一下,于是,在中午吃完饭后就重启了一下。

没想到,重启一下之后数据库访问更慢了,服务器的数据库服务进程占用CPU 50%(双线程CPU) 。

一个简单的 select ,半天才出来数据,随便往界面一点,好了,程序不影响了。

查。

查。

查。

然后,上班了,领导下来批评来了。

想想算了,备份数据,准备重做吧,又快又方便 。

于是,开始备份,然后一边看看备份进程一边反复思考到底怎么回事。

看到备份视图的时候一直过不去。

一个大胆的思想跳进脑海。

一翻查找,找出惹祸的那个视图,直接删除之。

呼。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

呼。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

整个世界安静我。

可是,为什么呢?一个视图,又没人用这个视图查询,怎么会把服务器锁死呢?我已经把所有的连接全部中断掉了,一旦重启,服务器进程就占50%,然后客户端慢到不行。

为什么?

为什么?