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

ORACLE ±¾µØ¹ÜÀí±í¿Õ¼äÓë×Öµä¹ÜÀí±í¿Õ¼äµÄ±È½Ï


±¾µØ¹ÜÀí±í¿Õ¼äÓë×Öµä¹ÜÀí±í¿Õ¼äÏà±È´ó´óÌá¸ßÁ˹ÜÀíЧÂʺÍÊý¾Ý¿âÐÔÄÜ£¬ÆäÓŵãÈçÏ£º
1.¼õÉÙÁ˵ݹé¿Õ¼ä¹ÜÀí
±¾µØ¹ÜÀí±í¿Õ¼äÊÇ×Ô¼º¹ÜÀí·ÖÅ䣬¶ø²»ÊÇÏó×Öµä¹ÜÀí±í¿Õ¼äÐèҪϵͳÀ´¹ÜÀí¿Õ¼ä·ÖÅ䣬±¾µØ±í¿Õ¼äÊÇͨ¹ýÔÚ±í¿Õ¼äµÄÿ¸öÊý¾ÝÎļþÖÐά³ÖÒ»¸öλͼÀ´¸ú×ÙÔÚ´ËÎļþÖпéµÄÊ£Óà¿Õ¼ä¼°Ê¹ÓÃÇé¿ö¡£²¢¼°Ê±×ö¸üС£ÕâÖÖ¸üÐÂÖ»¶Ô±í¿Õ¼äµÄ¶î¶ÈÇé¿ö×öÐ޸Ķø²»¶ÔÆäËûÊý¾Ý×Öµä±í×öÈκÎupdate²Ù×÷£¬ËùÒÔ²»»á²úÉúÈκλØÍËÐÅÏ¢£¬´Ó¶ø´ó´ó¼õÉÙÁË¿Õ¼ä¹ÜÀí£¬Ìá¸ßÁ˹ÜÀíЧÂÊ¡£Í¬Ê±ÓÉÓÚ±¾µØ¹ÜÀí±í¿Õ¼ä¿ÉÒÔ²ÉÓÃͳһ´óС·ÖÅ䷽ʽ(UNIFORM),Òò´ËÒ²´ó´ó¼õСÁË¿Õ¼ä¹ÜÀí£¬Ìá¸ßÁËÊý¾Ý¿âÐÔÄÜ¡£
2.ϵͳ×Ô¶¯¹ÜÀíextents´óС»ò²ÉÓÃͳһextents´óС
±¾µØ¹ÜÀí±í¿Õ¼äÓÐ×Ô¶¯·ÖÅä(AUTOALLOCATE)ºÍͳһ´óС·ÖÅä(UNIFORM)Á½ÖÖ¿Õ¼ä·ÖÅ䷽ʽ£¬×Ô¶¯·ÖÅ䷽ʽ(AUTOALLOCATE)ÊÇÓÉϵͳÀ´×Ô¶¯¾ö¶¨extents´óС£¬¶øͳһ´óС·ÖÅä(UNIFORM)ÔòÊÇÓÉÓû§Ö¸¶¨extents´óС¡£ÕâÁ½ÖÖ·ÖÅ䷽ʽ¶¼Ìá¸ßÁË¿Õ¼ä¹ÜÀíЧÂÊ¡£
3.¼õÉÙÁËÊý¾Ý×ÖµäÖ®¼äµÄ¾ºÕù
ÒòΪ±¾µØ¹ÜÀí±í¿Õ¼äͨ¹ýά³Öÿ¸öÊý¾ÝÎļþµÄÒ»¸öλͼÀ´¸ú×ÙÔÚ´ËÎļþÖпéµÄ¿Õ¼äÇé¿ö²¢×ö¸üУ¬ÕâÖÖ¸üÐÂÖ»Ð޸ıí¿Õ¼äµÄ¶î¶ÈÇé¿ö£¬¶ø²»Éæ¼°µ½ÆäËûÊý¾Ý×Öµä±í£¬´Ó¶ø´ó´ó¼õÉÙÁËÊý¾Ý×Öµä±íÖ®¼äµÄ¾ºÕù£¬Ìá¸ßÁËÊý¾Ý¿âÐÔÄÜ¡£
4.²»²úÉú»ØÍËÐÅÏ¢
ÒòΪ±¾µØ¹ÜÀí±í¿Õ¼äµÄ¿Õ¼ä¹ÜÀí³ý¶Ô±í¿Õ¼äµÄ¶î¶ÈÇé¿ö×ö¸üÐÂÖ®Íâ²»ÐÞ¸ÄÆäËüÈκÎÊý¾Ý×Öµä±í£¬Òò´Ë²»²úÉú»ØÍËÐÅÏ¢£¬´Ó¶ø´ó´óÌá¸ßÁËÊý¾Ý¿âµÄÔËÐÐËٶȡ£
5.²»ÐèºÏ²¢ÏàÁÚµÄÊ£Óà¿Õ¼ä
ÒòΪ±¾µØ¹ÜÀí±í¿Õ¼äµÄextents¿Õ¼ä¹ÜÀí»á×Ô¶¯¸ú×ÙÏàÁÚµÄÊ£Óà¿Õ¼ä²¢ÓÉϵͳ×Ô¶¯¹ÜÀí£¬Òò¶ø²»ÐèҪȥºÏ²¢ÏàÁÚµÄÊ£Óà¿Õ¼ä¡£Í¬Ê±£¬±¾µØ¹ÜÀí±í¿Õ¼äµÄËùÓÐextents»¹¿ÉÒÔ¾ßÓÐÏàͬµÄ´óС£¬´Ó¶øÒ²¼õÉÙÁË¿Õ¼äËéƬ¡£
6.¼õÉÙÁË¿Õ¼äËéƬ
7.¶ÔÁÙʱ±í¿Õ¼äÌṩÁ˸üºÃµÄ¹ÜÀí
jackblog ·¢±íÓÚ:2007.05.24 14:16 ::·ÖÀà: ( ORACLEÊý¾Ý¿â )


Ïà¹ØÎĵµ£º

oracle ±í¿Õ¼ä²Ù×÷

oracle±í¿Õ¼ä²Ù×÷Ïê½â
  1
  2
  3×÷Õߣº   À´Ô´£º    ¸üÐÂÈÕÆÚ£º2006-01-04 
  5
  6 
  7½¨Á¢±í¿Õ¼ä
  8
  9CREATE TABLESPACE data01
 10DATAFILE '/ora ......

Oracle Êý¾ÝÀàÐÍ


Êý¾ÝÀàÐÍ
²ÎÊý
ÃèÊö
char(n)
n=1 to 2000×Ö½Ú
¶¨³¤×Ö·û´®£¬n×Ö½Ú³¤£¬Èç¹û²»Ö¸¶¨³¤¶È£¬È±Ê¡Îª1¸ö×Ö½Ú³¤£¨Ò»¸öºº×ÖΪ2×Ö½Ú£©
varchar2(n)
n=1 to 4000×Ö½Ú
¿É±ä³¤µÄ×Ö·û´®£¬¾ßÌ嶨ÒåʱָÃ÷×î´ó³¤¶Èn£¬
ÕâÖÖÊý¾ÝÀàÐÍ¿ÉÒÔ·ÅÊý×Ö¡¢×ÖĸÒÔ¼°ASCIIÂë×Ö·û¼¯(»òÕßEBCDICµÈÊý¾Ý¿âϵͳ½ÓÊܵÄ×Ö·û¼¯±ê×¼)ÖеÄËùÓзûºÅ¡£
Èç¹ ......

Oracle´´½¨´¥·¢Æ÷

½ñÌìÔÚ°Ù¶ÈÉÏËÑË÷ÁËÏÂoracleдµÄ´¥·¢Æ÷£¬¸Ð¾õ»¹¿ÉÒÔ¡£
¾ÍÊղؿ©¡£
Óû§±í£º´´½¨´¥·¢Æ÷֮ǰÊ×ÏÈÒª´´½¨ÐòÁÐ
Óû§±íÐòÁУº
create sequence users_seq;
Óû§±í´¥·¢Æ÷£º
create or replace trigger bifer_users_userid_pk
before insert
on users
for each row
begin
select users_seq.nextval into:new.userid from ......

ɱËÀOracleÊý¾Ý¿âÖпͻ§¶ËÓû§Á¬½Ó½ø³Ì

<Ò»>ʵÏÖɱËÀij¸öÓû§µÄ¿Í»§¶ËÁ¬½Ó½ø³Ì
1.ÒÔ¹ÜÀíÔ±Éí·ÝµÇ¼ºó²é¿´V$SESSIONµÄÊÓͼ½á¹¹
SQL> desc v$session;
 Ãû³Æ                             &n ......

¹Ø±ÕÊý¾Ý¿â(Ô®ÒýOracleÁª»úÎĵµ)

Close a Database
When you close a database, Oracle writes all database data and recovery data in the SGA to the datafiles and redo log files, respectively. Next, Oracle closes all online datafiles and redo log files. (Any offline datafiles of any offline tablespaces have been closed already. If you ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ