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

oracleµÄÂß¼­½á¹¹ºÍÎïÀí½á¹¹

1¡¢Êý¾Ý¿âµÄÂß¼­½á¹¹ºÍÎïÀí½á¹¹£º
   Oracle logically divides the database into a smaller units to manage ,store,and retreive
data efficently.
  Tablespace\Blocks\Extents\segment\
ÓÐËÄÖÖsegment:
data segment¡¢Index segment¡¢Temporay segment¡¢Rollback Segment
temporary segment:
Are created when Oracle needs a temporary work area,such as for sorting,during a query,
to complete execution of a SQL statement.These segments are freed when the execution completes.
Rollback segment£ºUsed to store undo information.When you roll back the changes madde to the
database,the information in the rollback segment is used to undo the changes.
 
   The physical daabase structure consists of three types of physcial files
   data files
   control files
   redo log files
The control file contains the database name and timestamp of database creation as well as the name and location of every data file and redo log file.


Ïà¹ØÎĵµ£º

ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)

ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)
2007Äê11ÔÂ02ÈÕ ÐÇÆÚÎå 16:03
¸ÅÒª
1¡¢Á˽âʲôÊDZ¸·Ý
2¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
3¡¢Àí½âÊý¾Ý¿âµÄÁ½ÖÖÔËÐз½Ê½
4¡¢Àí½â²»Í¬µÄ±¸·Ý·½Ê½¼°ÆäÇø±ð
5¡¢Á˽âÕýÈ·µÄ±¸·Ý²ßÂÔ¼°ÆäºÃ´¦
  
Ò»¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
¿ÉÒÔ˵£¬´Ó¼ÆËã»úϵͳ³öÊÀµÄÄÇÌìÆð£¬¾ÍÓÐÁ˱¸·ÝÕâ¸ö¸ÅÄ ......

oracle¸ù¾ÝÍâ¼üÃû²é¹ØÁªµÄ±í

1¡¢²éÕÒ±íµÄËùÓÐË÷Òý£¨°üÀ¨Ë÷ÒýÃû£¬ÀàÐÍ£¬¹¹³ÉÁУ©£º
select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name = i.index_name and t.table_name = i.table_name and t.table_name = Òª²éѯµÄ±í
2¡¢²éÕÒ±íµÄÖ÷¼ü£¨°üÀ¨Ãû³Æ£¬¹¹³ÉÁУ©£º
select cu.* from user_cons_columns cu, user_constr ......

ORACLEÍâÁ¬½Ó

         ½ñÌ쿪·¢¹ý³ÌÖÐÓöµ½ÁËÒ»¸öºÜÂé·³µÄÍâÁ¬½ÓµÄÎÊÌ⣬µ½×îºó¶¼Ã»ÓÐÕÒµ½ºÜºÃµÄ½â¾ö·½·¨£¬×îºóÖ»ÄÜÓÃunion all ʵÏÖÁË£¬ËäÈ»ÐÔÄܲ»±ÈÍâÁ¬½Ó£¬µ«ÖÁÉÙÍØÕ¹ÁËÍâÁ¬½ÓµÄ¾ÖÏÞÐÔ¡£ Ê×Ïȸø³öÎÒ²âÊÔÓõÄÈý¸ö±íºÍÊý¾Ý£¨×óÓÒÍâÁ¬½ÓµÀÀíÊÇÒ»ÑùµÄ£¬ÎÒÖ»×ܽáÁË×óÁ¬½Ó£©£º KC21±í£º crea ......

LINUXÏÂOracle¿â±¸·Ý½Å±¾

vi /opt/back.sh(oracleÓû§)
#!/bin/ksh
tim=`date +%Y%m%d`
unset USERNAME
#export DISPLAY=0.0.0.0:0.0
#export ORACLE_BASE=/home/oraprod3
#export ORACLE_HOME=/prod/oracle/prod3db/9.2.0
#export ORACLE_SID=PROD3_db
#export LD_LIBRARY_PATH=/prod/oracle/prod3db/9.2.0/lib
#export ORACLE_TERM=vt100 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ