¡¾×ª¡¿³õʶ oracle ÖеÄË÷Òý×éÖ¯±í
http://fangrn.javaeye.com/blog/514448
³õʶ oracle ÖеÄË÷Òý×éÖ¯±í
Ë÷Òý×éÖ¯±í£¨ IOT £©ÓÐÒ»ÖÖÀà B Ê÷µÄ´æ´¢×éÖ¯·½·¨¡£ÆÕͨµÄ¶Ñ×éÖ¯±íÊÇÒÔÒ»ÖÖÎÞÐòµÄ¼¯ºÏ´æ´¢¡£¶ø IOT ÖеÄÊý¾ÝÊÇ°´Ö÷¼üÓÐÐòµÄ´æ´¢ÔÚ B Ê÷Ë÷Òý½á¹¹ÖС£ÓëÒ»°ã B Ê÷Ë÷Òý²»Í¬µÄµÄÊÇ£¬ÔÚ IOT ÖÐÿ¸öÒ¶½áµã¼´ÓÐÿÐеÄÖ÷¼üÁÐÖµ£¬ÓÖÓÐÄÇЩ·ÇÖ÷¼üÁÐÖµ¡£
ÈçÏÂͼËùʾ£¬ÔÚ IOT Ëù¶ÔÓ¦µÄ B Ê÷½á¹¹ÖУ¬Ã¿¸öË÷ÒýÏî°üÀ¨ < Ö÷¼üÁÐÖµ£¬·ÇÖ÷¼üÁÐÖµ > ¶ø²»ÊÇ ROWID £¬¶ÔÓÚÆÕͨ¶Ñ×éÖ¯±í£¬ oracle »áÓжÔÓ¦µÄË÷ÒýÓëÖ®¶ÔÓ¦£¬ÇÒ·Ö¿ª´æ´¢¡£»»¾ä»°Ëµ£¬ IOT ¼´ÊÇË÷Òý£¬ÓÖÊÇʵ¼ÊµÄÊý¾Ý¡£
ÆÕͨ±íË÷ÒýÓë±íÊý¾ÝµÄ¶ÔÓ¦¹Øϵ
IOT µÄË÷ÒýÏîºÍ±íÊý¾ÝµÄ¶ÔÓ¦¹Øϵ
IOT ºÍÆÕͨ±í¶ÔÓÚÓ¦ÓóÌÐòÀ´Ëµ£¬ÀýÈç sql ²éѯÓï¾ä£¬ÊÇûÓÐÇø±ðµÄ¡£Ò²¾ÍÊÇ˵ oracle ÖжԱíµÄ×éÖ¯ÐÎʽ¶ÔÓ¦ÓÃÀ´ËµÊÇ͸Ã÷µÄ¡£
ϱí×ܽáÁË IOT ÓëÒ»°ã±íµÄÇø±ð£º
ÆÕͨ±í
IOT
ROWID Ψһȷ¶¨Ò»Ðм
Ö÷¼üΨһȷ¶¨Ò»ÐмǼ
¿ÉÒÔ²»Ö¸¶¨Ö÷¼ü
±ØÐëÖ¸¶¨Ö÷¼ü
ROWID αÁÐÖб£´æÎïÀí rowid £¬¿ÉÒÔ¹¹½¨¶þ¼¶Ë÷Òý
ROWID αÁÐÖб£´æÂß¼ rowid £¬¿ÉÒÔ¹¹½¨¶þ¼¶Ë÷Òý
»ùÓÚ rowid ½øÐзÃÎÊ
»ùÓÚÂß¼ rowid ½øÐзÃÎÊ
˳ÐòɨÃè²ÅÄܵõ½ËùÓÐÐÐ
Ö»ÐëɨÃèË÷Òý¼´¿É·µ»ØËùÓÐÐÐ
¿ÉÒÔºÍÆäËü±íÒ»Æð¾Û¼¯´æ´¢
²»Äܴ洢Ϊ¾Û¼¯±í
¿ÉÒÔ°üº¬ long ºÍ lob ÀàÐ͵ÄÁÐ
¿ÉÒÔ°üº¬ lob ÀàÐ͵«²»¿ÉÒÔ°üÀ¨ long ÀàÐ͵ÄÁÐ
ʹÓà IOT µÄºÃ´¦£º
1 ¡¢ÓÉÓÚË÷ÒýÏîºÍÊý¾Ý´æ´¢ÔÚÒ»Æð£¬ËùÒÔÎÞÂÛÊÇ»ùÓÚÖ÷¼üµÄµÈÖµ²éѯ»¹ÊÇ·¶Î§²éѯ¶¼ÄÜ´ó´ó½ÚÊ¡´ÅÅÌ·ÃÎÊʱ¼ä¡£
2 ¡¢ÎªÁËÄܹ»¸ü¿ìµØ·ÃÎÊÄÇЩƵ·±·ÃÎʵÄÁУ¬¿ÉÒÔʹÓÃÒç³ö´æ´¢Ñ¡ÏÄÇЩ·ÃÎʲ»Æµ·±µÄÁзÅÔÚ B Ê÷Ò¶½áµãÊý¾Ý¿éÖ®ÍâµÄÒç³ö¶Ñ¿Õ¼äÖС£ÕâÑùÒ»À´±ã¿ÉÒԵõ½¸üСµÄ B Ê÷£¬ÒÔ¼°°üº¬¸ü¶àÐеÄÒ¶½áµã
3 ¡¢ºÍ¶Ñ×éÖ¯±íºÍË÷Òý²»Í¬£¬Ö÷¼ü²»ÐèÒª±»´æ´¢Á½´Î¡£
4 ¡¢ ROWID
Ïà¹ØÎĵµ£º
extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î» --segment management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......
´ò¿ªRman
·½·¨1£º¿ªÊ¼²Ëµ¥--ÔËÐÐ--“ÊäÈë”rman£¬»Ø³µ£¬´ò¿ªrmanÃüÁîÐÐÌáʾ´°¿Ú£¬ÊäÈ룺connect target;Á¬½ÓÉÏÊý¾Ý¿â£¬½ÓÏÂÀ´¾Í¿ÉÒÔ½øÐвÙ×÷ÁË¡£
·½·¨2£º¿ªÊ¼²Ëµ¥--ÔËÐÐ--“ÊäÈë” rman target username/userpwd@Orcl £¬£¨ºìÉ«×ÖÌå±íʾÊý¾Ý¿âʵÀýÃû£©»Ø³µ£¬´ò¿ªµÄrmanÃüÁîÐд°¿Ú£¬ÒѾÁ¬½ÓÉÏÊ ......
http://hi.baidu.com/wzbg/blog/item/005f9c098e31a12f6b60fbfb.html
Oracle±í½éÉÜ--Ë÷Òý×éÖ¯±í
2010-01-12 16:03
Ë÷Òý×éÖ¯±í(IOT)²»½ö¿ÉÒÔ´æ´¢Êý¾Ý£¬»¹¿ÉÒԴ洢Ϊ±í½¨Á¢µÄË÷Òý¡£Ë÷Òý×éÖ¯±íµÄÊý¾ÝÊǸù¾ÝÖ÷¼üÅÅÐòºóµÄ˳Ðò½øÐÐÅÅÁеģ¬ÕâÑù¾ÍÌá¸ßÁË·ÃÎʵÄËٶȡ£µ«ÊÇÕâÊÇÓÉÎþÉü²åÈëºÍ¸üÐÂÐÔÄÜΪ´ú¼ÛµÄ(ÿ´ÎдÈëºÍ¸üкó¶¼Òª ......
1.²éѯÓû§£¨Êý¾Ý£©±í¿Õ¼ä
SELECT UPPER(F.TABLESPACE_NAME) "±í¿Õ¼äÃû",
D.TOT_GROOTTE_MB "±í¿Õ¼ä´óС(M)",
D.TOT_GROOTTE_MB - F.TOTAL_BYTES "ÒÑʹÓÿռä(M)",
TO_CHAR(ROUND((D.TOT_GROOTTE_ ......
ÔÚ¶ÔÊý¾Ý¿â½øÐвÙ×÷¹ý³ÌÖÐÎÒÃÇ¿ÉÄÜ»áÓöµ½ÕâÖÖÇé¿ö£¬±íÖеÄÊý¾Ý¿ÉÄÜÖظ´³öÏÖ£¬Ê¹ÎÒÃǶÔÊý¾Ý¿âµÄ²Ù×÷¹ý³ÌÖдøÀ´ºÜ¶àµÄ²»±ã£¬ÄÇôÔõôɾ³ýÕâЩÖظ´Ã»ÓÐÓõÄÊý¾ÝÄØ?
¡¡¡¡Öظ´Êý¾Ýɾ³ý¼¼Êõ¿ÉÒÔÌṩ¸ü´óµÄ±¸·ÝÈÝÁ¿£¬ÊµÏÖ¸ü³¤Ê±¼äµÄÊý¾Ý±£Áô£¬»¹ÄÜʵÏÖ±¸·ÝÊý¾ÝµÄ³ÖÐøÑéÖ¤£¬Ìá¸ßÊý¾Ý»Ö¸´·þÎñˮƽ£¬·½±ãʵÏÖÊý¾ÝÈÝÔֵȡ£ Öظ´µÄÊý¾Ý ......