ÔÚAIX»·¾³ÎªOracle±í¿Õ¼äÔö¼ÓÂãÉ豸£¨Âß¼¾í£©
µ±Ö´ÐвåÈëµÈ²Ù×÷ʱ³öÏÖ´íÎóÌáʾ“unable to extand table ……” £¬Ôò˵Ã÷¸Ã±íËùÔÚ±í¿Õ¼ä¿Õ¼ä²»×ãÁË¡£
Èç¹ûÊÇÔÚwinserverÏÂÔòΪ±í¿Õ¼äÔö¼ÓÎļþ¼´¿É£¨±¾ÎIJ»×ö½éÉÜ£©¡£
±¾ÎÄÖ÷Òª½éÉÜÊý¾Ý¿â·þÎñÆ÷»·¾³ÎªAIXʱ£¬ÈçºÎΪ±í¿Õ¼äÔö¼ÓÂãÉ豸¡£
͉˕
°üº¬AIXϵͳ´æ´¢¹ÜÀíµÄ»ù±¾½éÉÜ£»
AIXͨ¹ýÈý¸ö²ã´Î¶Ô´æ´¢½øÐйÜÀí£ºÎïÀí¾í£¨PV£©¡¢¾í×飨GV£©£¬Âß¼¾í£¨LV£©£»
Êý¾Ý¿â¿Õ¼ä²»×ãÁ˾ÍÐèÒª¸ø±í¿Õ¼äÔö¼ÓÂãÉ豸£¨Âß¼¾í£©£¬ÔÚsqlplusÖÐͨ¹ýalterÃüÁLVÔö¼Ó¸ø±í¿Õ¼ä£»
´óÌå·ÖΪÒÔϼ¸²½£º
1¡¢²é¿´¿ÉÓþí×é
ÔÚAIXÃüÁîÐÐÖÐÖ´ÐУº
££lsvg – o //²é¿´ËùÓпÉÓþí×é
2¡¢²é¿´¾í×éÖеÄÂß¼¾í
ÔÚAIXÃüÁîÐÐÖÐÖ´ÐУº
lsvg –l datavg03
ÆäÖÐdatavg03Ϊ1Öв鿴µ½Ä³¾í×éÃû³Æ£¬¹ÜÀíÈËԱϣÍû½«´Ë¾í×é·ÖÅä¸øÊý¾Ý¿âʹÓá£
·µ»Ø½á¹ûÖÐSTATE MOUNTÁбíÃûÁËÂß¼¾íµÄÕ¼ÓÃ״̬£¬open/syncd±íʾÒѱ»±í¿Õ¼äÕ¼Óã¬closed/syncd±íʾδʹÓÃ
3¡¢²é¿´Âß¼¾íÈÝÁ¿´óС
ÔÚAIXÃüÁîÐÐÖÐÖ´ÐУº
££lslv lvdata0315
ÆäÖÐlvdata0315Ϊ2Öв鿴µ½µÄijδ·ÖÅäÂß¼¾í£¬ÔÚ·ÖÅä¸ø±í¿Õ¼ä֮ǰÐèÒªÏÈÈ·¶¨ËüµÄÈÝÁ¿¡£
ÈÝÁ¿´óСΪLPs×PPSIZE
4¡¢½«Î´Ê¹ÓõÄÂß¼¾í¼ÓÈë±í¿Õ¼ä
ÔÚsqlplusÖÐÒÔsysdbaÖ´ÐУº
SQL>alter tablespace tablespacename add datafile ‘/dev/rlvdata0318’ size 4090
×¢Ò⣺½«ÉϾäÖÐ/dev/rlvdata0318Ìæ»»³É2Öв鵽δռÓõÄÂß¼¾íÃû³Æ£¬½«¸ÃÂß¾íÃû³ÆÇ°¼Ó“/dev/r”£»
Âß¼¾íÃû³Æ×¢Òâ´óСд
sizeָʾµÄ´óСӦÂÔСÓÚ3ÖмÆËãÂß¼¾í´óС
5¡¢²é¿´ÊÇ·ñÌí¼Ó³É¹¦
ÔÚsqlplusÖÐÖ´ÐУº
select t1.name , t2.name from system.v$tablespace t1,system.v$datafile t2 where t1.ts#=t2.ts# ;
·µ»Ø½á¹û°üº¬Á½ÁУº±í¿Õ¼äÃû¡¢ÎļþÃû£»Èç¹û½á¹ûÖÐijÐаüº¬ÁË4ÖвÙ×÷µÄ±í¿Õ¼ä¼°4ÖÐÔö¼ÓµÄÂß¼¾íÃû£¬ÄǾÍ˵Ã÷Ôö¼Ó³É¹¦ÁË¡£
Ïà¹ØÎĵµ£º
±¾ÎÄÀ´×Ôhttp://www.cnblogs.com/rootq/articles/1177562.html
Oracle Êý¾Ý¿âµÄ°ó¶¨±äÁ¿ÌØÐÔ¼°Ó¦ÓÃ
¹Ø¼ü´Ê:
°ó¶¨±äÁ¿(binding variable),¹²Ïí³Ø(shared buffer pool), SGA(system global area);
ÔÚ¿ª·¢Ò»¸öÊý¾Ý¿âϵͳǰ,ÓÐ˶ÔOracle ϵͳÁ˽âºÜ¶à,ÓÈÆäÊÇËüµÄÌØÐÔ,ºÃÏóºÜÉÙ°É;¶Ô³õѧÕßÀ´½²,Õâ¸üÊDz»¿ÉÄܵÄÊÂÇé;½ö½ö¼òµ ......
Using Oracle Trace Analyzer (trcanlzr.sql)
Dave Moore: Author of Oracle Utilities
Oracle has provided another utility initially designed for performance tuning Oracle Applications. Trace Analyzer is provided in the form of a PL/SQL package (TRCA$ ). The Trace Analyzer utility i ......
×î½ü´ÓExcelÖе½ÁËһЩÊý¾Ý£¬½á¹ûÒ»¸öÁеÄÊý¾ÝÊÇÒÔ¶ººÅ·Ö¸ôµÄ×Ö·û´®£¬Ïë°ÑËü²ð·Ö¿ªÕÒµ½ÁËϱߵķ½·¨£¬Ìù³öÀ´·ÖÏíһϣº
CREATE OR REPLACE PROCEDURE sptstr (srcstr varchar2) as
stmp varchar2(2000);
begin &n ......
1.½¨±í
CREATE TABLE qq(
qq_num integer
);
2.²åÈëÊý¾Ý
²åÈëÊý¾ÝµÄ·½·¨ÓкܶàÖÖ£¬µ«ÊÇÒª²åÈë3ÒÚÊý¾Ý£¬±ØÐëÒªÓиßЧµÄËã·¨¡£ÔÚ²åÈëÊý¾ÝʱÎÒÓÃÁË×µÄ°ì·¨£¬²ÉÓÃPL/SQLÀûÓÃÁ÷³Ì¿ØÖƵÄLOOPÓï¾ä²åÈ롣ͬʱÎÒÒ²¿´ÁËÍøÉϵIJåÈëЧÂʵÄÓÅ»¯£¬ÔõÑùÀûÓýÏÉÙµÄʱ¼äÉú³É½Ï¶àµÄ²âÊÔÊý¾Ý¡£¸ø ......
spool d:\deletetb.sql;
select 'delete ' || table_name || ' where to_char(col,'||'''yyyy'''||')='||'''2007'''||';'
from user_tables
where table_name in (select 'HS_' || lpad(rownum, '2', '0')
from dual
  ......