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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Recent Announcements
Recent Announcements
IT之家
IT之家
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
大猫的无限游戏
大猫的无限游戏
U
Unit 42
罗磊的独立博客
博客园 - Franky
WordPress大学
WordPress大学
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
SecWiki News
SecWiki News
V
Vulnerabilities – Threatpost
P
Privacy International News Feed
P
Palo Alto Networks Blog
F
Fortinet All Blogs
P
Proofpoint News Feed
博客园 - 叶小钗
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
Spread Privacy
Spread Privacy
S
Securelist
C
Cisco Blogs
I
Intezer
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Engineering at Meta
Engineering at Meta
S
Schneier on Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
GbyAI
GbyAI
T
Troy Hunt's Blog
T
Threatpost
博客园 - 司徒正美
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
AWS News Blog
AWS News Blog
T
The Blog of Author Tim Ferriss
G
GRAHAM CLULEY
N
Netflix TechBlog - Medium
酷 壳 – CoolShell
酷 壳 – CoolShell
Google DeepMind News
Google DeepMind News
Know Your Adversary
Know Your Adversary
S
SegmentFault 最新的问题

博客园 - ShaDowiCool

Italy Sends Soldiers to Naples 那不勒斯 to Fight Organized Crime Sarah Palin, Governor of Alaska, Is McCain's Surprise Choice 测试流程-转载 黑盒测试外包的工作初见 个人面试经历总结 Mysql忘记root密码的解决办法 take the bull by the horns blow one's own horn like a house on fire bring down the house or bring the house down burn a hole in one's pocket & burned hook, line and sinker lock, stock and barrel 测试心得(国内软件产品的需求不明确) 黄金的18K和24K是什么意思 freeBSD时区设置与时间设置 freeBSD与linux下mysql命令 测中策---我的Web自动化测试思路 测试经验总结 我的测试心得
Linux误删数据文件的处理方法
ShaDowiCool · 2008-02-28 · via 博客园 - ShaDowiCool

    在lunix系统下,删除是没有提示的, 所以经常有删除数据文件的事情发生,导致数据库无法启动. 可以使用下面方法进行处理.

用系统用户进入系统.

在归档模式ARCHIVELOG下.

SQL>alter database datafile '/opt/oracle/data/SRV_BSS001' offline;

非归档模式UNARCHIVELOG下.

SQL>alter database datafile '/opt/oracle/data/SRV_BSS001' offline drop;

可以查询数据文件联、脱机状态.
SQL> select file#,name,status from v$datafile;

最后删除数据库表空间.

SQL> drop tablespace tablespace_name;

这里只是可以重新启动数据库, 但数据是没有办法恢复的, 所以大家在删除文件的时候一定要多加注意. 尤其是在删除LOG日志时,最容易发生误删事件了.