oracle¹ÜÀí±í¿Õ¼äºÍÊý¾ÝÎļþ
'
ALTER TABLESPACE app_data
ADD DATAFILE 'u01/oradata/userdata03.dbf'
SIZE 200M;
'´´½¨±í¿Õ¼ä
CREATE TABLESPACE userdata
DATAFILE 'u01/oradata/userdata03.dbf' SIZE 100M
AUTOEXTEND ON NEXT 5M MAXSIZE 200M;
'´´½¨»Ø¹ö±í¿Õ¼ä
CREATE UNDO TABLESPACE undo1
DATAFILE 'u01/oradata/undo101.dbf'SIZE 40m;
AlTER TABLESPACE userdata OFFLINE;
'±í¿Õ¼äÐÅÏ¢
-DBA_TABLESPACES
-V$TABLESPACE
'Êý¾ÝÎļþÐÅÏ¢
-DBA_DATA_FILES
-V$DATAFILE
Ïà¹ØÎĵµ£º
ORACLEʵÀýÓÐϵͳȫ¾ÖÇø£¨SGA£©ºÍһЩºǫ́½ø³Ì×é³É.
ϵͳȫ¾ÖÇø£¨SGA£©Óй²Ïí³Ø£¨shared pool£©,Êý¾Ý¿â¸ßËÙ»º³åÇø£¨database buffer cache£©,ÖØ×öÈÕÖ¾»º³åÇø£¨redo log buffer£©.¹²Ïí³ØÓÖÓпâ¸ßËÙ»º´æ£¨library cache£©ºÍÊý¾Ý×Öµä¸ßËÙ»º´æ£¨dictionary cache£©×é³É¡£
ORACLE ʵÀý5¸ö±ØÐèµÄºǫ́½ø³Ì£ºSMON,PMON,DBWR,LGWR, ......
¡¡ÈçÏ£¬±íaÊÇÊý¾Ý¿âÖÐÒѾ´æÔÚµÄ±í£¬bÊÇ×¼±¸¸ù¾Ý±ía½øÐи´ÖÆ´´½¨µÄ±í£º
¡¡¡¡1¡¢Ö»¸´ÖƱí½á¹¹µÄsql
¡¡¡¡create table b as select * from a where 1<>1
¡¡¡¡2¡¢¼´¸´ÖƱí½á¹¹ÓÖ¸´ÖƱíÖÐÊý¾ÝµÄsql
¡¡¡¡create table b as select * from a
¡¡¡¡3¡¢¸´ÖƱíµÄÖƶ¨×ֶεÄsql
¡¡¡¡create table b as select row_id ......
£¨Ò»£©Data blocks £¬Extents£¬Segment
Õâ¾ÍÊÇËûÃÇÖ®¼äµÄÂß¼½á¹¹¡£
ÏÈ¿´Data blocks£¨Ò²½ÐÂß¼¿é£¬oracle¿é£¬Ò³£©°É£¬oracle´æ´¢Êý¾Ý¶¼ÊÇÔÚÕâЩÊý¾Ý¿éÖУ¬Ò»¸öÊý¾Ý¿éÊÇ´ÅÅÌÉÏÊý¾Ý¿âÎïÀí¿Õ¼äһϵÁÐÎïÀí×Ö½ÚµÄ×é³É¡£
±ÈData blocks¸ü¸ßÒ»²ãµÄÂß¼Êý¾Ý¿é¿Õ¼äÊÇe ......
ÓÉÓÚ¹«Ë¾ÒµÎñÔö³¤½Ï¿ì£¬Êý¾Ý¿âoracleѹÁ¦Ô½À´Ô½´ó£¬¹«Ë¾¿¼ÂÇÔÚÓ¦Ó÷þÎñÆ÷ Websphere ºÍ Êý¾Ý¿âoracleÖ®¼äÔö¼Ó timestenÊý¾Ý¿âÀ´ÊµÏÖÊý¾ÝµÄ¶Áд·ÖÀ룬ÁíÍâÓÉÓÚtimestenÊÇÄÚ´æÊý¾Ý¿â£¬ËùÒÔ²éѯËÙ¶ÈÉÏÒªÓÅÓÚ oracle Êý¾Ý¿â£¬Á½¸öÊý¾Ý¿âËäÈ»¶¼ÊÇoracle¹«Ë¾µÄ²úÆ·£¬µ«ÊÇÔںܶàsqlµÄд·¨ÉÏÊDz»ÏàͬµÄ£¬Ï ......
1¡¢ÐÞ¸ÄOracle×î´óÁ¬½ÓÊýµÄ·½·¨
a¡¢ÒÔsysdbaÉí·ÝµÇ½PL/SQL »òÕß Worksheet
b¡¢²éѯĿǰÁ¬½ÓÊý
show parameter processes;
c¡¢¸ü¸ÄϵͳÁ¬½ÓÊý
alter system set processes=1000 scope=spfile;
......