Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

С²¼ÀÏʦoracleÊÓÆµ½²×ù±Ê¼Ç£¨¶þ£©

Oracle Process Structure
Oracle takes advantage of various types of processes:
¡¡—User process: Started at the time a database user requests connection to the Oracle server
  —Server process: Connects to the Oracle instance and is started when a user establishes a session
—Background processes: Started when an Oracle instance is started
User Process: A progrm that requests interaction with the Oracle server, Must first establish a connection, Does not interact directly with the Oracle server.
Server Process: A program that directly interacts with the Oracle Server
  —Fulfills calls generated and returns results
—Can be deficated or shared server
IPC: Inter Process Communication, °üÀ¨¹²ÏíÄÚ´æ¡¢¶ÓÁС¢ÐźÅÁ¿µÈ¼¸ÖÖÐÎʽ¡£
Background Process
Maintains and enforces relationships between physical and memory structures:
   —Mandatory background processes
      DBWn PMON CKPT LGWR SMON
   —Optional background processes
ARCn  LMDn  QMNn  CJQ0  LMON  RECO  Dnnn   LMS  Snnn
LCKn  Pnnn
DBWn(Database Writer), DBWn writes when:
   —Checkpoint occurs
   —Dirty buffers reach threshold
   —There are no free buffers
   —Timeout occurs
   —RAC ping request is made
   —Tablespace OFFLINE
   —Tablespace READ ONLY
   —Table DROP or TRUNCATE
   —Tablespace BEGIN BACKUP
Log Witer(LGWN), LGWR writes:
   —At commit
   —When one-third full
   —When there is 1MB of redo
   --Every three seconds
   --Before DBWn writes
System Monitor(SMON)
Responsibilities
   —Instance recovery
   —Rolls forward changes in noline redo log files
   —Opens database fo


Ïà¹ØÎĵµ£º

oracle ÅÅÐòÄÚ´æ

ÎÒÔÚhttp://zhidao.baidu.com/question/123262452.html?fr=msg¡¡ÌáµÄÎÊÌ⣬ÕûÀíµ½ÕâÀï¡¡·Ç³£¸Ðл zjwssg
µÄ»Ø´ð
ÅÅÐòÄÚ´æÉæ¼°µ½PGA¡£
ʲôʱºòʹÓÃ×Ô¶¯PGAÄÚ´æ¹ÜÀí£¿Ê²Ã´Ê±ºòʹÓÃÊÖ¶¯PGAÄÚ´æ¹ÜÀí£¿
  °×ÌìϵͳÕý³£ÔËÐÐʱÊʺÏʹÓÃ×Ô¶¯PGAÄÚ´æ¹ÜÀí£¬ÈÃOracle¸ù¾Ýµ±Ç°¸ºÔØ×Ô¶¯¹ÜÀí¡¢·ÖÅäPGAÄÚ´æ¡£
  Ò¹ÀïÓû§Êý ......

oracleÉó¼ÆÏê½â

Ô­Ìû: http://blog.chinaunix.net/u2/66903/showart_2082884.html
OracleʹÓôóÁ¿²»Í¬µÄÉ󼯷½·¨À´¼à¿ØÊ¹ÓúÎÖÖȨÏÞ£¬ÒÔ¼°·ÃÎÊÄÄЩ¶ÔÏó¡£É󼯲»»á·ÀֹʹÓÃÕâЩȨÏÞ£¬µ«¿ÉÒÔÌṩÓÐÓõÄÐÅÏ¢£¬ÓÃÓÚ½ÒʾȨÏÞµÄÀÄÓúÍÎóÓá£
ϱíÖÐ×ܽáÁËOracleÊý¾Ý¿âÖв»Í¬ÀàÐ͵ÄÉ󼯡£
Éó ¼Æ Àà ÐÍ
˵    Ã÷
Óï¾äÉó¼Æ ......

oracle command window Êä³öÏÔʾoutput²ÎÊý

fmobileÊäÈë²ÎÊý£¬msgÊä³ö²ÎÊý
--·½·¨1
 variable msg varchar2(100)
variable fmobile varchar2(100):='13424242890'
exec smsrun.PKG_SETNEIZHI.p_Whynomt(fmobile,msg)
print msg
--·½·¨2
set serveroutput on;
  declare
  FMOBILE varchar2(100):='13424242890';
  msg varchar2(100):= ......

¡¾ÊÕ²ØÕûÀí¡¿OracleÊý¾Ý¿âÌåϵ¼Ü¹¹

 Ô­Îļûhttp://blog.csdn.net/kele1121/archive/2009/10/30/4742051.aspxÓëhttp://www.itpub.net/thread-1105403-1-1.html
 Ëùν
Oracle
µÄÌåϵ¼Ü¹¹£¬ÊÇÖ¸
Oracle
Êý¾Ý¿â¹ÜÀíϵͳµÄµÄ×é³É²¿·ÖºÍÕâЩ×é³É²¿·ÖÖ®¼äµÄÏ໥¹ØÏµ£¬°üÀ¨
ÄÚ´æ½á¹¹¡¢ºǫ́½ø³Ì¡¢ÎïÀíÓëÂß¼­½á¹¹µÈ¡£
Oracle
Êý¾Ý¿âµÄÌåϵºÜ¸´ÔÓ£¬¸´Ô ......

ORACLE ÓαêºÍÓαê±äÁ¿µÄÇø±ð

ÈçºÎ¶¨ÒåÓαêÀàÐÍ
TYPE ref_type_name IS REF CURSOR [RETURN return_type];
ÉùÃ÷Óαê±äÁ¿
cursor_name ref_type_name;
´Ó¼¼Êõµ×²ã¿´£¬Á½ÕßÊÇÏàͬµÄ¡£ÆÕͨplsql cursorÔÚ¶¨ÒåʱÊÇ“¾²Ì¬”µÄ¡£¶øRef cursors¿ÉÒÔ¶¯Ì¬´ò¿ª¡£
ÀýÈçÏÂÃæÀý×Ó£º
Declare
type rc is ref cursor;
cursor c is select * from dual ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ