ORACLEѧϰ±Ê¼Ç ORACLE£¨»ù±¾ÃüÁ ORACLEµÚÒ»Õ£º
--
²é¿´VGAÐÅÏ¢£º
show sga;
select
*
from
v$sgastat;
--
¿ÉÒÔͨ¹ýÒÔϼ¸¸ö¶¯Ì¬ÐÔÄÜÊÓͼ²é¿´ÐÅÏ¢£º
V$sysstat ϵͳͳ¼ÆÐÅÏ¢
V$sesstat Óû§»á»°Í³¼ÆÐÅÏ¢
V$pgastat ÏÔʾÄÚ´æʹÓÃͳ¼ÆÐÅÏ¢
V$sql_workarea SQLÓαêËùÓù¤×÷ÇøµÄÐÅÏ¢
V$ sql_workarea_active µ±Ç°ÏµÍ³¹¤×÷ÇøµÄÐÅÏ¢
data_file:dba_data_files;
control_file:´Óinit.oraÀïÃæ¿ÉÒÔ¿´µ½£¬D:ora92adminora92pfileinit.ora.
redo_log:v$logfile;
ʵ¼ÊÉÏD:ora92oradataora92ÀïÃæ·ÅןܶණÎ÷¡£
select
*
from
v$
database
;ÀïÃæ¿ÉÒÔ²éѯarchivelogµÄÐÅÏ¢¡£
¶Î£ºdba_segments
Çø£ºdba_extents
--
ÔÚV$process¶¯Ì¬ÐÔÄÜÊÓͼÖпÉÒÔ²éѯµ½Ã¿¸öOracle½ø³ÌµÄPGA·ÖÅäµÄÄÚ´æºÍÒÑʹÓõÄÄÚ´æÇé¿ö£¬
--
ÆäÖÐPGA_used_mem±íʾÒÑʹÓõģ¬pag_alloc_mem±íʾÒÑ·ÖÅäµÄ£¬pga_max_men±íʾPGAµÄ×î´óÖµ¡£
SQL
>
select
pid,pga_used_mem,pga_alloc_mem,pga_max_mem
from
v$process;
--
²é¿´ºǫ́½ø³Ì£º
SELECT
*
from
v$bgprocess
WHERE
paddr
<>
'
00
'
;
--
²é¿´ËùÓеıí¿Õ¼ä£»
SQL
>
select
tablespace_name
from
dba_data_files
order
by
tablespace_name;
--
²é¿´±í¿Õ¼äµÄÃû×Ö¼°´óС:
SQL
>
select
t.tablespace_name,
round
(
sum
(bytes
/
(
1024
*
1024
)),
0
) ts_size
from
dba_tablespaces t, dba_data_files d
where
t.tablespace_name
=
d.tablespace_name
group
by
t.
Ïà¹ØÎĵµ£º
(1)µÇ½µ½mysql
C:\Documents and Settings\Administrator>mysql -h localhost -u root -p
Enter password: *****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 69
Server version: 5.0.51a-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' fo ......
´ÓÉÏÖÜ¿ªÊ¼£¬ÎÒÏÂÔØÁËС²¼ÀÏʦµÄ½²¿ÎÊÓƵ£¬¿ªÊ¼ÁËѧϰORACLEµÄ¼Æ»®¡£
ѧϰORACLEµÄÄ¿µÄ£¬Ò»·½ÃæÊÇÌá¸ß×Ô¼ºµÄ¼¼ÊõÄÜÁ¦£¬¹¤×÷ÉϾ³£¿ÉÒÔÓõõ½£¨ËäÈ»²»ÊÇרÃÅDBAµÄ¹¤×÷£¬µ«ÊǾ³£ÐèҪʹÓÃÊý¾Ý¿â×÷Ϊ±¨±íͳ¼Æ·ÖÎöµÄ¹¤¾ß£©£»ÁíÒ»·½Ã棬ҲÊÇΪÌø²Û×öºÃ¼¼ÊõÄÜÁ¦µÄ´¢±¸£¬ÏÖÔڵŤ×÷ÒѾ¿ìÈ ......
[¾«»ª] ORACLEµÄ¼¸ÖÖÆô¶¯·½Ê½
http://www.chinaunix.net ×÷Õß:wuwenlong ·¢±íÓÚ£º2003-07-27 16:58:57
¡¾·¢±íÆÀÂÛ¡¿ ¡¾²é¿´ÔÎÄ¡¿ ¡¾OracleÌÖÂÛÇø¡¿¡¾¹Ø±Õ¡¿
1¡¢startup nomount
·Ç°²×°Æô¶¯£¬ÕâÖÖ·½Ê½Æô¶¯Ï¿ÉÖ´ÐУºÖؽ¨¿ØÖÆÎļþ¡¢Öؽ¨Êý¾Ý¿â
¶ÁÈ¡ ......
17:00:59 SQL> desc dbms_random;
Element Type
---------- ---------
SEED PROCEDURE
VALUE FUNCTION
NORMAL FUNCTION
STRING FUNCT ......
OracleÊý¾Ý¿âÖÐÖÐÎĺº×ÖÏÔʾÂÒÂëÎÊÌâ
Õª Òª
×Ö·û¼¯µÄÉèÖò»µ±ÊÇÓ°ÏìORACLEÊý¾Ý¿âºº×ÖÏÔʾµÄ¹Ø¼üÎÊÌâ¡£±¾ÎÄ´Óʵ¼ù¾Ñé³ö·¢£¬½éÉÜÁËORACLE¹ØÓÚ×Ö·û¼¯µÄ·ÖÀà¡¢¹¹³É¼°É趨·½·¨£¬·ÖÎöÁËORACLEÊý¾Ý¿âºº×ÖÏÔʾÂÒÂëµÄ³£¼ûÏÖÏó¼°ÔÒò£¬²¢Õë¶Ô¸÷ÖÖÏÖÏó¼°ÔÒòÌá³öÁËÐÐÖ®ÓÐЧµÄ½â¾ö°ì·¨¡£
¹Ø¼ü×Ö: ORACLE ×Ö·û¼¯ ÖÐÎÄ ÂÒÂë ½â¾ö UTF ......