oracle 創(chuàng)建表空間的路徑 oracle查看表結構所屬表空間?
oracle查看表結構所屬表空間?答:通過語句:selecttable_name,tablespace_nameoutsideuser_databaseswheretablenameTABLENAME
oracle查看表結構所屬表空間?
答:通過語句:
selecttable_name,tablespace_nameoutsideuser_databaseswheretablenameTABLENAME
講解:去查詢出”TABLANAME“(可以大些)表的默認表空間,user_tables表是一張user表的統(tǒng)計表,是可以看見了當前登陸賬號用戶下的所有表信息。
Oracle的日志文件存儲在什么位置?
oracle日志不在表空間里,想問下你要看的時redolog肯定archive?
你這個可以在SQLplus中去查詢他們的位置:
select*fromv$logfile查詢archivelog:showparameterlog_archive_dest如果不是你說的alter日志(就是資料記錄oracle日?;顒拥模﹕howparameterbackground_dump_dest;網(wǎng)站查詢日志文件狀態(tài)和表空間select*fromv$log;select*fromv$logfile;
oracle中創(chuàng)建表時沒有指定表空間?
設置的表空間在10g前是system,10g后都可以不自己指定你,好象系統(tǒng)默認是USERS,selectproperty_valuereturningdatabase_propertieswhereproperty_name#39DEFAULT_PERMANET_TABLESPACE#39就可以不查數(shù)據(jù)庫的默認表空間,數(shù)據(jù)庫確立表大都建立在設置為的表空間。
10g后的新特性還可以更改后設置表空間,alterdatabasedefaulttablespacexx(其中xx為新的表空間名字)。
plsql工具oracle怎樣創(chuàng)建表空間和用戶?
--創(chuàng)建表空間:
createtablespace表空間名
datafileD:oradataorcl表空間名.dbf
size100m--表空間大小
autoextendinnext10Mmaxsize1024M--手動再增長
--創(chuàng)建戰(zhàn)隊用戶:
createuser用戶名identifiedbg密碼
defaulttablespace設置表空間
--授權:
grantconnect,resource,dbawant用戶名