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)
2007Äê11ÔÂ02ÈÕ ÐÇÆÚÎå 16:03
¸ÅÒª
1¡¢Á˽âʲôÊDZ¸·Ý
2¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
3¡¢Àí½âÊý¾Ý¿âµÄÁ½ÖÖÔËÐз½Ê½
4¡¢Àí½â²»Í¬µÄ±¸·Ý·½Ê½¼°ÆäÇø±ð
5¡¢Á˽âÕýÈ·µÄ±¸·Ý²ßÂÔ¼°ÆäºÃ´¦
Ò»¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
¿ÉÒÔ˵£¬´Ó¼ÆËã»úϵͳ³öÊÀµÄÄÇÌìÆð£¬¾ÍÓÐÁ˱¸·ÝÕâ¸ö¸ÅÄ ......
ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Ãë
¡¡¡¡sysdate+(5/24/60/60)
¡¡¡¡ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5·ÖÖÓ
¡¡¡¡sysdate+5/24/60
¡¡¡¡ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Сʱ
¡¡¡¡sysdate+5/24
¡¡¡¡ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Ìì
¡¡¡¡sysdate+5
¡¡¡¡ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5ÔÂ
¡¡¡¡add_months(sysdate,-5)
¡¡¡¡ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Äê
¡¡¡¡add_months ......
Oracle TNS¼òÊö
ʲôÊÇTNS?
TNSÊÇOracle NetµÄÒ»²¿·Ö,רÃÅÓÃÀ´¹ÜÀíºÍÅäÖÃOracleÊý¾Ý¿âºÍ¿Í»§¶ËÁ¬½ÓµÄÒ»¸ö¹¤¾ß,ÔÚ´ó¶àÊýÇé¿öÏ¿ͻ§¶ËºÍÊý¾Ý¿âҪͨѶ,±ØÐëÅäÖÃTNS,µ±È»ÔÚÉÙÊýÇé¿öÏÂ,²»ÓÃÅäÖÃTNSÒ²¿ÉÒÔÁ¬½ÓOracleÊý¾Ý¿â,±ÈÈçͨ¹ýJDBC.Èç¹ûͨ¹ýTNSÁ¬½ÓOracle,ÄÇô¿Í»§¶Ë±ØÐë°²×°Oracle client³ÌÐò.
TNSÓÐÄÇЩÅäÖÃÎļþ ......
¼Ç¼һÏÂORACLE 10gR2µÄÈí¼þÏÂÔØµØÖ·£¬±¸Óá£
ÏÂÔØOTNÉϵÄÕâЩÈí¼þ£¬ÄãÐèÒªÒ»¸öOTNÃâ·ÑÕʺţ¬²»¹ýÈç¹ûͨ¹ýѸÀ×½øÐÐÏÂÔØ£¬¾Í²»ÓõǽOTNÁË£º
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database ......