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

推荐订阅源

The Last Watchdog
The Last Watchdog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
Y
Y Combinator Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
博客园_首页
小众软件
小众软件
I
InfoQ
J
Java Code Geeks
月光博客
月光博客
S
Secure Thoughts
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
N
News and Events Feed by Topic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
T
Threat Research - Cisco Blogs
A
About on SuperTechFans
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Latest news
Latest news
G
GRAHAM CLULEY
IT之家
IT之家
C
Cisco Blogs
Last Week in AI
Last Week in AI
Engineering at Meta
Engineering at Meta
L
LangChain Blog
The Register - Security
The Register - Security
SecWiki News
SecWiki News
M
MIT News - Artificial intelligence
NISL@THU
NISL@THU
T
Tenable Blog
博客园 - Franky
美团技术团队
I
Intezer
U
Unit 42
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security

博客园 - 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日志时,最容易发生误删事件了.