internal/oracle
ys/change_on_install
ystem/manager
cott/tiger
ysman/oem_temp
administrator/administrator
用orainst
dbassist
dbca
裸設備就是繞過文件系統直接訪問的儲存空間
$ sqlplus
SQL*Plus: Release
(c) Copyright
Connected to:
Oracle
With the Partitioning option
JServer Release
SQL> select * from v$version;
BANNER
Oracle
PL/SQL Release
CORE
TNS for Solaris: Version
NLSRTL Version
SQL>
vrmgrl
qlplus /nolog
變為歸檔日志型的
SELECT machine
desc table_name 可以查詢表的結構
elect field_name
elect * from all_tables where table_name like
elect * from all_tab_columns where table_name=
desc user_source
user_triggers
elect owner
NUM_ROWS
BLOCKS*AAA/
EMPTY_BLOCKS
LAST_ANALYZED
from dba_tables
where table_name=
Here: AAA is the value of db_block_size ;
XXX is the table name you want to check
SELECT * FROM V$PARAMETER WHERE NAME LIKE
SQL>
SQL> show parameter processes
NAME TYPE VALUE
aq_tm_processes integer
db_writer_processes integer
job_queue_processes integer
log_archive_max_processes integer
rocesses integer
這裡為
elect * from v$license;
其中sessions_highwater紀錄曾經到達的最大會話數
elect * from v$locked_object ;
init
log_archive_start = true
RESTART DATABASE
elect username from v$session;
表或視圖中的最大列數為
elect name from v$database;
也可以直接查看 init
elect sys_context(
如果是登陸本機數據庫
u
date
elect remark from oms_flowrec where trim(
UPDATE AAA SET BNS_SNM=(SELECT BNS_SNM FROM BBB WHERE AAA
HERE BBB
將SYMCJIT
SELECT * FROM V$OPTION;
如果PARALLEL SERVER=TRUE則有OPS能
SELECT * FROM DBA_SYS_PRIVS;
ALTER TABLE TABLE_NAME MOVE TABLESPACE_NAME;
ALTER INDEX INDEX_NAME REBUILD TABLESPACE TABLESPACE_NAME;
OEMAPP DBASTUDIO
V$LOCK
查詢鎖的表的方法:
SELECT S
ow
O_CHAR(LMODE)) MODE_HELD
QUEST)) MODE_REQUESTED
S
TS O
ALTER SYSTEM KILL SESSION
DEFINE _EDITOR=
來定義新的編輯器
永久有效
DBMS_RANDOM
Sar
ar
SELECT * FROM USER_OBJECTS;
SELECT * FROM DBA_SEGMENTS;
SELECT * FROM USER_ERRORS;
SELECT * FROM DBA_DB_LINKS;
SELECT * FROM NLS_DATABASE_PARAMETERS;
SELECT * FROM V$NLS_PARAMETERS;
SELECT * FROM DBA_DATA_FILES;
修改 SQLNET
SQLNET
一般是將ORACLEORAHOMEXIHTTPSERVER改成手工啟動可以的
X是
SQL>comment on table 表 is
注釋已創建
SQL>comment on column 表
注釋已創建
SQL> select * from user_tab_comments where comments is not null;
SQL> col tablespace format a
SQL> select
(b
um(nvl(a
um(nvl(a
from dba_free_space a
where a
group by b
From:http://tw.wingwit.com/Article/program/Oracle/201311/17493.html