ÔÚϵͳÔËÐеÄʱºò×ÜÊÇÓÐÒ»¿é´ÅÅÌʼÖÕÉÁºìµÆ£¬½øÈëϵͳºó
#topas²é¿´×ÜÊÇÓÐÒ»¿é´ÅÅÌ%BUSYΪ90%ÒÔÉÏ£¬
Êý¾Ý¿â°æ±¾£ºoracle 9.2.0.7
Êý¾ÝÎļþ¹ÒÔصĽڵ㣺/oradata/pcs/ Âß¼¾íºÅlv04
#lslv -l lv04
¶ÔÓ¦µÄÎïÀí´ÅÅÌΪhdisk9¡¢hdisk10¡¢hdisk11¡¢hdisk4
ÔÚÊý¾Ý¿âÔËÐеÄʱºò×ÜÊÇÏÔʾhdisk9 µÄ%busyΪ90%£¬´ÅÅÌI/O·Ç³£Í»³ö£¬ÆäËüÈý¿éÓ²Å̼¸ºõΪ0%
Çë¸ßÊÖ°ïæ·ÖÎöÒ»ÏÂ
ÎÒÎÒÔÚ´´½¨Êý¾ÝÎļþʱÔÚ/oradataq/pcs/½¨Á˶à¸öÊý¾ÝÎļþ£¬°´µÀÀíÓ¦¸ÃÊǽ«Õâ½âÊý¾ÝÎļþ¾ùÔÈ·Ö²¼µ½lv04Õâ¸ö¾í±êϵÄÿ¸öÎïÀíÓ²ÅÌÉÏ£¬²»ÖªµÀÔõô²é¿´Êý¾ÝÎļþµ½µ×´æ·Åµ½Ê²Ã´µØ·½£¬±ÈÈ磺datafile1´æ·ÅÔÚÄÄ¿éÎïÀíÓ²ÅÌÉÏ£¬ÈôÄܹ»Á˽⵽Îļþʵ¼Ê´æ·ÅµÄÎïÀí×´¿ö£¬Õâ¸öÎÊÌâ¾ÍºÃ°ìÁË¡£
SQL> select name from v$datafile;
NAME
--------------------
/data/oradata/orcl/s
ystem01.dbf
/data/oradata/orcl/u
ndotbs01.dbf
/data/oradata/orcl/s
ysaux01.dbf
/data/oradata/orcl/u
sers01.dbf
/data/oradata/orcl/e
xample01.dbf
SQL>
busyÌØæµÄÄǸö¿ÉÄÜÊÇÄãµÄË÷ÒýÎļþ·ÅµÄÄÇ¿éÓ²ÅÌ¡£Ò²ÓпÉÄÜÊÇÊý¾Ý¿âÈÕÖ¾Îļþ·ÅµÄÓ²ÅÌ
iostatÏÔʾ¶ÁдµÄËٶȶ¼¶àÉÙ£¿
busy%µÄʱºòÏà¹ØµÄdbÖÐʲôÇé¿ö£¿
Ïà¹ØÎÊ´ð£º
¸÷λoracle¸ßÊÖ£¬Çë½ÌÒ»ÏÂΪʲôoracle 10gÔÚ°²×°µ½°Ù·ÖÖ®°ËÊ®ÎåµÄʱºò¾Í±¨´í²»ÄܼÌÐø°²×°£¿
ÄÚ´æ¶à´ó£¿¡¡ÖØÐÂϸöÊý¾Ý¿â°²×°ÊÔÊÔ..
ÒýÓÃ
¸÷λoracle¸ßÊÖ£¬Çë½ÌÒ»ÏÂΪʲôoracle 10gÔÚ°²×°µ½°Ù·ÖÖ®°ËÊ®ÎåµÄʱ ......
´ó¼ÒºÃ£¬ÎÒ×î½üά»¤Ò»¸öÏîÄ¿£¬100¶à¸ö±í
Ö»ÄÜÓÃjdbcÖ±Á¬
Óöµ½Á˶à¸ö±í ¹ØÁª ²éѯµÄÇé¿ö Çë´ó¼ÒÖ¸½Ì
±ÈÈç
student(studentid,classid)
class(classid,classname)
class_teacher(classid,teacherid)Õâ¸öÊÇÖмä±í ......
ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......
ÈçÏÂVC6²Ù×÷ORACLEÁ¬½Ó·½·¨Îª¿É±¨´í£º
_bstr_t connStr£»
connStr="Provider=OraOLEDB.Oracle;User ID=scott;Password=tiger;Data Source=192.168.0.120;";
m_SqlConn->Open(_bstr_t(connStr),(_b ......
score±í
scoreid course studentid score
1 Êýѧ 2 99
2 Êýѧ 3 60
3 Êýѧ 4 80
4 ÓïÎÄ 5 79
5 ÓïÎÄ 6 58
6 ÓïÎÄ 1 66
7 Ó¢Óï 6 76
8 Ó¢Óï 4 87
9 Ó¢Óï 3 100
10Ó¢Óï 2 69
ÔõÑùµÃµ½Ã»ÃÅ¿ÎÖзÖÊý×î¸ßµÄÄÇ ......