當(dāng)前位置:首頁 > IT技術(shù) > 數(shù)據(jù)庫 > 正文

Oracle 查看數(shù)據(jù)庫文件 SQL語句
2021-09-13 10:31:18

Oracle 數(shù)據(jù)庫文件主要分為:

  • 表空間數(shù)據(jù)文件(包括臨時表空間和UNDO表空間)
  • 控制文件
  • 日志文件(包括重做日志和standby日志)

可以通過 SQL 來查詢:

set line222
col pagesize1000
select name from v$datafile 
union all
select name from v$tempfile 
union all
select member from v$logfile 
union all
select name from v$controlfile;

本次分享到此結(jié)束啦~

如果覺得文章對你有幫助,點贊、收藏、關(guān)注、評論,一鍵四連支持,你的支持就是我創(chuàng)作最大的動力。

?? 技術(shù)交流可以 關(guān)注公眾號:Lucifer三思而后行 ??

本文摘自 :https://blog.51cto.com/l

開通會員,享受整站包年服務(wù)立即開通 >