suseϵͳÏ£ºoracle ´Ó10.2.0.2 µ½ 10.2.0.4 Éý¼¶Ïê½â
oracle ´Ó10.2.0.2 µ½ 10.2.0.4 Éý¼¶
Ò»¡¢ÏÂÔØÉý¼¶°ü
ÏÂÔØµØÖ·£º
ftp://updates.oracle.com/6810189/p6810189_10204_Linux-x86.zip
×¢Ò⣺²»ÒªÓÃflashgetÏÂÔØ£¬ÓÃѸÀ×ÏÂÔØ¡£Îļþ´óС1G¶à¡£
¶þ¡¢¹Ø±ÕÊý¾Ý¿â
ÒÔoracleÓû§Ô¶³ÌµÇ¼suseϵͳ:
1. sqlplus /nolog
SQL> connect /as sysdba
SQL> shutdown immediate;
Ò»°ãÇé¿öÏ¿ÉÒÔÕý³£¹Ø±Õ¡£Èç¹û²»Äܹرգ¬¿ÉÒÔÇ¿ÖÆ¹Ø±Õ¡£
¹Ø±ÕËùÓÐµÄ oracle ½ø³Ì£º
ps -ef|grep orac*
Èç¹ûÓеϰ£¬ÓÃkilÃüÁî¡£
2. Õý³£¼àÌý
lsnrctl stop
Èý¡¢½âѹÉý¼¶°ü
unzip p6810189_10204_Linux-p6810189_10204_Linux-x86.zip
ÔÚĿ¼Ï½«»áÉú³ÉÒ»¸öDisk1µÄÎļþ¼Ð¡£
ËÄ¡¢°²×°Ç°×¼±¸
Èç¹ûÊÇÔÚÖն˰²×°Éý¼¶°üµÄ»°£¬ºÜÓпÉÄÜ»áÅöµ½ÏÂÃæµÄ´íÎó£º
Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
ÔÚ°²×°Ö®Ç°Òª»¹Òª×öЩ¹¤×÷¡£ÎÒÊÇͨ¹ýsshÀ´·ÃÎʰ²×°»úÆ÷µÄ£¬Òò´ËÐèÒªÔÚWINDOWS»úÆ÷ÏÂÅäÖÃÒ»¸ö¿ÉÒÔת·¢X11µÄÈí¼þ¡£
ÏÂÔØµØÖ·£º
1. xmingÏÂÔØ×îаæsourceforge.net/projects/xming/
°²×°ºÃºó£¬Æô¶¯Ëü¾Í¿ÉÒÔÁË¡£
2. ÎÒÓõÄÊÇsecureCRTÖÕ¶Ë£¨puttyÒ²¿ÉÒÔ£©
sessionÀïµÄhost nameΪҪ°²×°Êý¾Ý¿âÖ÷»úIP ¡£
windowÀïwhen window is resized ÀïÎÒÑ¡change the size of the font ÕâÀï»á¸ù¾ÝÄã´°¿ÚµÄ´óСÀ´¸Ä±ä×ÖÌå´óС ¡£
window--translationÀïµÄreceived dataµÄÏÂÀÑ¡Ïî Ñ¡ÔñUTF-8 ¿ÉÒÔ½â¾öÖÐÎÄÂÒÂëµÄÎÊÌâ
ÌØ±ð×¢Ò⣺
×îÖØÒªµÄÊÇSSHϵÄX11ÀïÒ»¶¨Òª°ÑEnable X11 forwardingÑ¡ÉÏ ·ñÔòת·¢Ò»¶¨²»»á³É¹¦
3. ÉèÖúúóÖØÐÂÆô¶¯ÖÕ¶Ë
²âÊÔ£º Äã¿ÉÔڵǼϵͳºó£¬¼üÈ룺 xclock (»òÊÇxedit, xcacl)
Èç¹ûÒ»ÇÐ˳ÀûµÄ»°£¬½«»áÓÐÒ»¸öͼÐνçÃæµÄʱÖÓµ¯³ö¡£Õâ±íÃ÷°²×°³É¹¦¡£
Îå¡¢°²×°Éý¼¶°ü£º
1. ÔÚDisk1Ŀ¼Ï¼üÈ룺
./runInstaller
Õâʱ»á³öÏÖ°²×°½çÃæ£¬Ò»Â·°²×°ºÃ¾Í¿ÉÒÔÁË¡£µ½×îºóµÄʱºò£¬ÓÐÒ»²½Ìáʾ¡£
ÒªÖ´ÐÐһϣº
/opt/oracle/product/10.2.0/root.sh
È»ºóµã»÷°²×°Íê³É¡£
2. ¿ªÆô¼àÌý lsnrctl start
3. ¼ÈëÊý¾Ý¿â£¬Ö´ÐÐÏÂÃæÃüÁî
startup upgrade;
ÐÞ¸Äjava_pool_size / large_pool_size=150M Õâ¸öÎÒûÓÐÕÒµ½ËùÒÔûÓÐÖ´ÐУ¬Èç¹û¿ÉÒԵϰ»¹ÊǸĹýÀ´¡£
4. ÔËÐнű¾@/opt/oracle/product/10.2.0/rdbms/admin
Ïà¹ØÎĵµ£º
extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î» --segment management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......
ͨ¹ýJAVAµ÷ÓÃORACLEµÄ´æ´¢¹ý³Ì£¬ÔÚORACLEµÄ´æ´¢¹ý³ÌÄÚ²¿×öÁËÒ»¸ö²éѯÔÚJAVAÖлñÈ¡¸Ã²éѯ½á¹û£¬Õâ¸öºÍSYBASE¡¢SQLSERVERµÄ»ñÈ¡²»Ò»Ñù£¬µÈÎÒµÄÏÂһƪÎÄÕÂÎÒ»á½éÉÜÈçºÎ»ñÈ¡SYBASE¡¢SQLSERVERÔÚ´æ´¢¹ý³ÌÖÐÖ´ÐÐÁ˲éѯºóÈçºÎ»ñÈ¡Æä½á¹û¼°´æ´¢¹ý³ÌµÄ±àд¡£
ÔÚOracleÖÐÐèÒª·µ»Ø²éѯ½á¹û¼¯£¬±ØÐ뽫ÆäÒÔÓαêµÄÐÎʽ·µ»Ø£¬µ«ÓαêÓÖ²»ÊÇ ......
SqlServer,Oracle ³£Óú¯Êý±È½Ï
Êýѧº¯Êý£º
1.¾ø¶ÔÖµ
¡¡¡¡ Sql Server: SELECT abs(-1) value
¡¡¡¡ Oracle: SELECT abs(-1) value from dual
2.È¡Õû(´ó)
¡¡¡¡ Sql Server: SELECT ceiling(-1.001) value
¡¡¡¡ Oracle: SELECT ceil(-1.001) value from dual
3.È¡Õû£¨Ð¡£©
¡¡¡¡ Sql Server: SELECT f ......
oracleʵÏÖºº×Ö°´ÕÕÆ´Òô¡¢±Ê»ºÍ²¿Ê×ÅÅÐò
ÕÒÁËÏà¹ØµÄһЩ×ÊÁÏ£¬¶¼ËµµÄ²»ÊǺÜÇå³þ£¬×Ô¼ºÒ²Ñо¿ÁËÏ£¬ÖÕÓÚ¸ãÃ÷°×ÁË£¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£
ÐèҪ˵Ã÷µÄÊÇÏÂÃæµÄ·½·¨ÐèÒªORACLE9iºÍÒÔÉϵİ汾²ÅÖ§³Ö¡£
Oracle9i֮ǰ£¬ÖÐÎÄÊǰ´ÕÕ¶þ½øÖƱàÂë½øÐÐÅÅÐòµÄ¡£
ÔÚoracle9iÖÐÐÂÔöÁ˰´ÕÕÆ´Òô¡¢²¿Êס¢±Ê»ÅÅÐò¹¦ÄÜ¡£ÉèÖÃNLS_SORTÖµ
......
Just a few days ago a got to two Oracle DBAs discussing why the have so much “PX Deq Credit : send blkd” on a system. And if that is causing their performance problems.
The are some blog on the internet claiming it has to do with qc distribution and what ever.
But in many cases, especi ......