Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚÔ¶³Ì°²×°oracleÓë´íÎóµÄ´¦Àí

Linuxϵͳɾ³ýoracle 10g£¨°üÀ¨Èí¼þºÍʵÀý£©
Èí¼þ»·¾³£ºLinuxϵͳ¡¡Oracle 10.0.1.0
Éæ¼°Óû§£ºroot oracle
ɾ³ýoracleÈí¼þºÍʵÀý²½Ö裺
1¡¢oracleÓû§µÇ½sqlplusÍ£Ö¹Êý¾Ý¿â£ºshutdown
2¡¢oracleÓû§Í£Ö¹¼àÌý·þÎñ£ºlsnrctl stop£¨Èç¹û¼àÌý·þÎñÆô¶¯µÄ»°£©
3¡¢rootÓû§
 É¾³ý/tmpÏÂora*Îļþ
 É¾³ý/optÏÂOR*Îļþ
 É¾³ý/etcÏÂoraInst.locºÍoratabÎļþ
 £¨ÕâÁ½¸öÎļþÊÇ°²×°oracleʱִÐÐ$ORACLE_HOME/root.sh½Å±¾²úÉúµÄ£©
 É¾³ý/usr/local/binÏÂcoraenv¡¢dbhome¡¢oraenv
 £¨ÕâÈý¸öÎļþÊÇ°²×°oracleʱִÐÐ$ORACLE_BASE/oraInventory/orainstRoot.sh½Å±¾²úÉúµÄ£©
 É¾³ý$ORACLE_BASEÏÂadmin¡¢flash_recovery_area¡¢oradata¡¢oraInventory
 £¨¼ÇסÕâÀﲻҪɾ³ýoracleÓû§Ä¬ÈÏĿ¼£¬Ï´ÎÖØа²×°oracleÈí¼þʱ»¹ÒªÊ¹ÓÃoracleÓû§ÄØ£©
 Ìرð×¢ÒâµÄÊDz»ÒªÉ¾³ý$ORACLE_BASEÏÂoracleÓû§Ä¬ÈÏĿ¼£¬Ï´ÎÖØа²×°oracleÈí¼þʱ»¹ÒªÊ¹ÓÃoracleÓû§¡£
ɾ³ýoracleʵÀý£¬²»É¾³ýoracleÈí¼þ
1¡¢oracleÓû§Ö´ÐÐ$ORACLE_HOME/bin/dbca£¬É¾³ýʵÀý
2¡¢²é¿´$ORACLE_BASEĿ¼ÏÂadmin¡¢oradataĿ¼ÊÇ·ñ»¹´æÔÚÎļþ£¬Èç¹û´æÔÚrmÒ»ÏÂɾ³ý¼´¿É¡£Èç¹ûÓöµ½“Ô­ÎÄÎļþÕýÔÚ±»Ê¹ÓõĻ°”£¬Í£Ö¹·þÎñÔÙɾ³ý¡£
&&&&&&&&&&&&&&&&&&&&&&
ÓÃXmanagerÁ¬½ÓÔ¶³Ì·þÎñÆ÷¶Ë×ÀÃæ°²×°oracle¿ÉÄܻᱨ´í.
Èç¹ûÐèҪͼÐΰ²×°,ÐèÒªµÄ½â¾ö·½·¨£º°²×°ÒÔÏÂÁ½¸ö°ü
[root@dbatest1 tmp]# rpm -ivh xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm
warning: xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
Preparing...                ########################################### [100%]
   1:xorg-x11-deprecated-lib########################################### [100%]
[root@dbatest1 tmp]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ###########################


Ïà¹ØÎĵµ£º

oracleË÷ÒýËéƬ

author£ºskate
time£º2010-05-31
Ë÷ÒýÒ³¿éËéƬ£¨Index Leaf Block Fragmentation£©
ÕâƪÎÄÕ½«»á»Ø´ðÈçÏÂÎÊÌ⣺
ʲôÊÇË÷ÒýÒ³¿éËéƬ£¿Ê²Ã´Ê±ºò±»ÖØÓã¿
ʲôÊÇ°ë¿ÕË÷ÒýËéƬ£¿Ê²Ã´Ê±ºò±»ÖØÓã¿
oracleµÄ±ê×¼Ë÷Òý½á¹¹ÊÇB×tree½á¹¹£¬Ò»¸öB×tree½á¹¹ÓÉÈýÖÖblock×é³É
¸ù¿é(root block):ÔÚB×treeÀïÓÐÇÒÖ ......

oracle 10g em¡¢isqlplus·ÃÎʲ»Á˵ÄÎÊÌâ½â¾ö

Èç¹ûweb·½Ê½µÄem£¬isqlplus·ÃÎʲ»ÁË¡£
1. ¼ì²éÖ÷»úÃû/IP¡¢¶Ë¿ÚÊÇ·ñÕýÈ·
°²×°Ê±µÄÖ÷»úÃû/IP¡¢¶Ë¿Ú¼Ç¼ÔÚ$ORACLE_HOME/install/portlist.ini ÎļþÖС£
ȱʡÊÇ£º
Ò»°ãÓû§                    
http://ip:5560/isq ......

oracle ×Ô¶¯½¨¿â

Ê×ÏÈдºÃ½¨¿â½Å±¾c.sql
¡¡¡¡
¡¡¡¡create database mydb
¡¡¡¡controlfile reuse
¡¡¡¡maxinstances 1
¡¡¡¡maxloghistory 1
¡¡¡¡maxlogfiles 5
¡¡¡¡maxlogmembers 5
¡¡¡¡maxdatafiles 100
¡¡¡¡datafile '$ORACLE_HOME/oradata/system01.dbf'size 325M reuse
¡¡¡¡autoextend on next 10240K maxsize unlimited
¡¡¡¡u ......

linux oracleËõС»Ø¹ö±í¿Õ¼ä´óСundotbs01.dbf


http://hi.baidu.com/lu_xinzhong/blog/item/4ff92b1725dec505c83d6d09.html
»Ø¹ö±í¿Õ¼ä´óС
-- ´´½¨Ò»¸öеÄС¿Õ¼äµÄUNDO TABLESPACE
Create UNDO TABLESPACE UNDOTBS2 DATAFILE '/u01/app/oracle/oradata/orcl/UNDOTBS02.DBF' SIZE 100M REUSE AUTOEXTEND ON;
-- ÉèÖÃеıí¿Õ¼äΪϵͳUNDO_TABLESPACE
Alter SYSTE ......

oracleÃüÁî²Ù×÷

‘¿ªÊ¼’-->‘ÔËÐÐ’--> ÊäÈë‘cmd’ ´ò¿ªcmd.exe -->ÊäÈë‘cd c:\’ Çл»µ½ c:\>
Æô¶¯Oracle
c:\> svrmgrl
svrmgrl> connect   internal/oracle
svrmgrl> startup
svrmgrl> exit
Æô¶¯¼àÌýÆ÷
c:\> lsnrctl   start ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ