oracleÁ¬½Ó×Ö·û´®½âÎö
ÔÚÒ»¸ö»ùÓÚTCP/IPÐÒéµÄÍøÂç»·¾³ÖУ¬oracleÊý¾Ý·þÎñÆ÷ÔÚһ̨¼ÆËã»úÉÏ£¬¿Í»§¶ËÔÚÁíÍâһ̨¼ÆËã»úÉÏ£¬¿Í»§¶ËÒªÁ¬½Óµ½oracle·þÎñÆ÷ÎÒÃǾ³£»áÊäÈ룺"C£º\sqlplus scott/tiger@shanghai"£¬ÕâÊÇoracle¿Í»§¶ËÁ¬½Ó·þÎñÆ÷ʱʹÓõÄÁ¬½ÓÃüÁÆäÖÐsqlplusÊÇoracle¿Í»§¶Ë³ÌÐò£¬scott/tigerÊǵǽ·þÎñÆ÷µÄÓû§ÃûºÍÃÜÂ룬@shanghaiÊDZ¾µØÍøÂç·þÎñÃû£¬Ëü´ú±íÁËÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µÄÐÅÏ¢£¬ËüµÄÁíÍâÒ»Öֽз¨½Ð×ötns·þÎñÃû³Æ¡£tnsÓ¢ÎÄÈ«³ÆÊÇtransparent network substrate£¬Òë×÷͸Ã÷ÍøÂç´«Êäµ×²ã£¬ËüÊÇÄÚ½¨ÓÚoracle¿Í»§¶ËµÄÒ»¸ö³ÌÐò£¬ËüÓÃÓÚ½øÐÐÔ¶³ÌÁ¬½Ó²¢½«@shanghai·Òë³ÉÓÐÓõÄÁ¬½ÓÐÅÏ¢¡£Ò»°ãÀ´Ëµ¿Í»§¶Ë¶¼ÓÐÒ»¸öÃû³ÆΪtnsnames.oraµÄÎļþ£¬ÕâÊÇÒ»¸öÎı¾ÎļþÔÚ[oracle_home]\network\adminÏÂÃæ¿ÉÒÔÕÒµ½£¬ÄÚÈÝÈçÏ£º
SHANGHAI=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 205.220.98.96)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = Products)
)
)
Á¬½ÓoracleÊý¾Ý¿â·þÎñÆ÷ʱ¸Ã³ÌÐò¼ÓÔظÃÎļþ£¬²¢½«¶ÔÓ¦µÄtns·þÎñÃû³Æת»»³ÉÁ¬½ÓÐÅÏ¢Á¬½ÓÊý¾Ý¿â¡£Òò´Ë¿Í»§¶Ë³ÌÐòÖªµÀ¸ÃÈçºÎÁ¬½Óµ½oracleÊý¾Ý¿âÁË£¬Ëü½«´ò¿ª1521¶Ë¿Úµ½205.220.98.96Á¬½ÓµÄTCP/IPÌ×½Ó×Ö£¬´Ëʱ·þÎñÆ÷¶ËµÄ¼àÌý³ÌÐòÒ²ÔÚÔËÐУ¬¼àÌýµ½¿Í»§¶ËµÄÁ¬½Óºó¾Í»á½ÓÊÜÔÚÇëÇ󣬲¢¼ì²éÁ¬½ÓÐÅÏ¢ÊÇ·ñÕýÈ·¼°ºÏ·¨¡£Á¬½ÓÕýÈ·Ôò½ÓÊܸÃÇëÇ󣬷ñÔò¾Ü¾ø¡£
Ïà¹ØÎĵµ£º
ÏÂÔØ·½·¨£ºÔÚÏÂÃæµÄÁ¬½ÓÉϵã»÷ÓÒ¼ü£¬Ñ¡ÔñʹÓÃѸÀ×ÏÂÔØ¡£Ê¹ÓñðµÄÏÂÔع¤¾ßÎÞ·¨ÏÂÔØ¡£
oracle 10.2.0.4 ²¹¶¡ÏÂÔØ£¨ÊÊÓÃÓÚËùÓвÙ×÷ϵͳ£©:
ftp://updates.oracle.com/6810189/p6810189_10204_AIX5L.zip
ftp://updates.oracle.com/6810189/p6810189_10204_HPUX-IA64.zip
ftp://updates.oracle.com/6810189/p6810189_10204 ......
À´Ô´ÓÚhttp://hi.baidu.com/edeed/blog/item/33576327d1b73d00918f9dd4.html
±¾ÊÓͼ×ÔÆô¶¯¼´±£³Ö²¢¼Ç¼¸÷»Ø¹ö¶Îͳ¼ÆÏî¡£ÔÚѧϰ±¾ÊÓͼ֮ǰ£¬ÎÒÃÇÏÈÀ´Á˽âһϻعö¶Î(rollback segment)µÄÏà¹Ø¸ÅÄ
»Ø¹ö¶Î¸ÅÊö
»Ø¹ö¶ÎÓÃÓÚ´æ·ÅÊý¾ÝÐÞ¸Ä֮ǰµÄÖµ£¨°üÀ¨Êý¾ÝÐÞ¸Ä֮ǰµÄλÖúÍÖµ£©¡£»Ø¹ö¶ÎµÄÍ·²¿°üº¬ÕýÔÚʹÓõĸûعö¶ÎÊÂÎñµÄÐ ......
1¡¢²é¿´±í¿Õ¼äµÄÃû³Æ¼°´óС
select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
from dba_tablespaces t, dba_data_files d
......
RAW£¬ÀàËÆÓÚCHAR£¬ÉùÃ÷·½Ê½RAW(L)£¬LΪ³¤¶È£¬ÒÔ×Ö½ÚΪµ¥Î»£¬×÷ΪÊý¾Ý¿âÁÐ×î´ó2000£¬×÷Ϊ±äÁ¿×î´ó32767×Ö½Ú¡£
¡¡¡¡LONG RAW£¬ÀàËÆÓÚLONG£¬×÷ΪÊý¾Ý¿âÁÐ×î´ó´æ´¢2G×Ö½ÚµÄÊý¾Ý£¬×÷Ϊ±äÁ¿×î´ó32760×Ö½Ú
¡¡¡¡½¨±í²Ù×÷:
¡¡¡¡create table raw_test (id number, raw_date raw(10));
¡¡¡¡²åÈërawÊý¾Ý²Ù×÷:
¡¡¡¡insert into raw ......
Êý¾ÝÎļþºÍÈÕÖ¾ÎļþÊÇÊý¾Ý¿âÖÐ×îÖØÒªµÄÎļþ¡£ËüÃÇÊÇÊý¾Ý´æ´¢µÄµØ·½¡£Ã¿¸öÊý¾Ý¿âÖÁÉÙÓÐÒ»¸öÓëÖ®Ïà¹ØµÄÊý¾ÝÎļþ£¬Í¨³£Çé¿öϲ»Ö»Ò»¸ö£¬ÓкܶࡣÊý¾ÝÔÚÊý¾ÝÎļþÖÐÊÇÈçºÎ×éÖ¯µÄ£¿ÒªÁ˽âÕâЩÄÚÈÝÎÒÃÇÊ×ÏȱØÐëÀí½âʲôÊDZí¿Õ¼ä£¨tablespace£©¡¢¶Î£¨segment£©¡¢Çø£¨extent£©¡¢¿é£¨block£©£¬ÕâЩ¶¼ÊÇoracl ......