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

ORACLE±¸·ÝÖеÄѹËõ

     ĬÈϵÄÇé¿öÏ£¬Èç¹ûûÓÐÅäÖÃѹËõ±¸·Ý£¬»òÕß±¸·ÝµÄʱºòûÓз¢³öcompressed ÃüÁÄÇôORACLE»á²ÉÓÃNULLÊý¾Ý¿éµÄѹËõ·½·¨À´±¸·ÝÊý¾Ý¿â£¬²ÉÓÃÕâÖÖ·½·¨±¸·Ý£¬ORACLE¾Í²»»á±¸·Ý´ÓδʹÓùýµÄÊý¾Ý¿é¡£ÁíÍâÒ»ÖÖ±¸·Ý¾ÍÊDzÉÓÃcompressedÃüÁîѹËõ±¸·Ý£¬²ÉÓÃÕâÖÖ·½·¨£¬ORACLE»áʹÓÃѹËõËã·¨À´±¸·ÝÊý¾Ý£¬Í¨³£»áѹËõ´óÔ¼70%¡£11gµÄ±¸·ÝÓÖÓÐÁËÌá¸ß£¬ÌرðÊǶÔÓÚUNDO±í¿Õ¼äµÄ±¸·Ý£¬ÕâÀï²»×öÌÖÂÛ£¬ÏÂÃæÀ´±È½ÏÒ»ÏÂNULLÊý¾Ý¿éµÄѹËõ±¸·ÝÓëCOMPRESSEDѹËõ±¸·Ý
RMAN> show all;
RMAN ÅäÖòÎÊýΪ:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP OFF;   ---ûÓÐÉèÖÿØÖÆÎļþ×Ô¶¯±¸·Ý
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default  -----ûÓÐÅäÖÃCOMPRESSED
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SNCFROBINSON.ORA'; # default
RMAN> backup database; ----ÆÕͨµÄ±¸·Ý(NULLÊý¾Ý¿éѹËõ)
Æô¶¯ backup ÓÚ 30-10ÔÂ-09
·ÖÅäµÄͨµÀ: ORA_DISK_1
ͨµÀ ORA_DISK_1: sid=147 devtype=DISK
ͨµÀ ORA_DISK_1: Æô¶¯È«²¿Êý¾ÝÎļþ±¸·Ý¼¯
ͨµÀ ORA_DISK_1: ÕýÔÚÖ¸¶¨±¸·Ý¼¯ÖеÄÊý¾ÝÎļþ
ÊäÈëÊý¾ÝÎļþ fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROBINSON\DATAFILE\O1_MF_UNDOTBS1_5CLYNO9G_.DBF
ÊäÈëÊý¾ÝÎļþ fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROBINSON\DATAFILE\O1_MF_SYSTEM_5CLYNO0Q_.DBF
ÊäÈëÊý¾ÝÎļþ fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROBINSON\DATAFILE\O1_MF_SYSAUX_5CLYNO3J_.DBF
ÊäÈëÊý¾ÝÎļþ fno=00005 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROBINSON\DATAFILE\O1_MF_ROBINSON_5CMKM0DV_.DBF
ÊäÈëÊý¾ÝÎļþ fno=


Ïà¹ØÎĵµ£º

Oracleѧϰ±Ê¼Çժ¼10

 <1>Âß¼­±¸·Ý
  ²»ÓÃÈ¥¿½±´Êý¾Ý¿âµÄÎïÀíÎļþ
  ±¸·ÝÂß¼­ÉϵĽṹ
  ÍⲿµÄ¹¤¾ß:µ¼³öºÍµ¼ÈëµÄ¹¤¾ß
  DOSϵÄÃüÁî cmdÏÂÖ´ÐÐ
    µ¼³öexp  exportËõдÐÎʽ
²é¿´°ïÖú exp help=y
    ʹÓòÎÊýÎļþµ¼³ö
     exp parfile=c:\ab ......

oracle·ÖÒ³²éѯ

OracleµÄ·ÖÒ³²éѯÓï¾ä»ù±¾ÉÏ¿ÉÒÔ°´ÕÕ±¾Îĸø³öµÄ¸ñʽÀ´½øÐÐÌ×Óá£
·ÖÒ³²éѯ¸ñʽ£º
SELECT * from
(
SELECT A.*, ROWNUM RN
from (SELECT * from TABLE_NAME) A
WHERE ROWNUM <= 40
)
WHERE RN >= 21
ÆäÖÐ×îÄÚ²ãµÄ²éѯSELECT * from TABLE_NAME±íʾ²»½øÐз­Ò³µÄԭʼ²éѯÓï¾ä¡£ROWNUM <= 40ºÍRN >= 21 ......

Oracle Job Óï·¨ºÍʱ¼ä¼ä¸ôµÄÉ趨

³õʼ»¯Ïà¹Ø²ÎÊýjob_queue_processes
alter system set job_queue_processes=39 scope=spfile;//×î´óÖµ²»Äܳ¬¹ý1000 ;job_queue_interval = 10 //µ÷¶È×÷ҵˢÐÂƵÂÊÃëΪµ¥Î»
job_queue_process ±íʾoracleÄܹ»²¢·¢µÄjobµÄÊýÁ¿£¬¿ÉÒÔͨ¹ýÓï¾ä¡¡¡¡
show parameter job_queue_process;
À´²é¿´oracleÖÐjob_queue_processµÄÖµ¡ ......

½âÎöoracleµÄrownum

¶ÔÓÚrownumÀ´ËµËüÊÇoracleϵͳ˳Ðò·ÖÅäΪ´Ó²éѯ·µ»ØµÄÐеıàºÅ£¬·µ»ØµÄµÚÒ»ÐзÖÅäµÄÊÇ1£¬µÚ¶þÐÐÊÇ2£¬ÒÀ´ËÀàÍÆ£¬Õâ¸öα×ֶοÉÒÔÓÃÓÚÏÞÖƲéѯ·µ»ØµÄ×ÜÐÐÊý£¬¶øÇÒrownum²»ÄÜÒÔÈκαíµÄÃû³Æ×÷Ϊǰ׺¡£
¾ÙÀý˵Ã÷£º
ÀýÈç±í£ºstudent(ѧÉú)±í£¬±í½á¹¹Îª£º
ID¡¡¡¡¡¡    char(6)¡¡¡¡¡¡¡¡¡¡ --ѧºÅ
name¡¡¡¡¡¡¡¡VA ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ