Oracle pfile/spfile²ÎÊýÎļþÏê½â
ÔÚ´´½¨Êý¾Ý¿âʱ£¬SPFileÎļþÖв¿·Ö±ØÐ뿼ÂǵIJÎÊýÖµ£º
¡¡¡¡»ù±¾¹æÔò
¡¡¡¡a.ÔÚSPFileÎļþÖУ¬ËùÓвÎÊý¶¼ÊÇ¿ÉÑ¡µÄ£¬Ò²¾ÍÊÇ˵ֻÐèÒªÔÚ³õʼ»¯²ÎÊýÎļþÖÐÁгöÄÇЩÐèÒªÐ޸ĵIJÎÊý£¬ÆäËü±£³ÖĬÈÏÖµ¼´¿É¡£
¡¡¡¡b.SPFileÎļþÖÐÖ»ÄÜ°üº¬²ÎÊý¸³ÖµÓï¾äºÍ×¢ÊÍÓï¾ä¡£×¢ÊÍÓï¾äÒÔ“#”·ûºÏ¿ªÍ·£¬Êǵ¥ÐÐ×¢ÊÍ¡£
¡¡¡¡c.SPFileÎļþÖÐÁгöµÄ²ÎÊýÊDz»·Ö´ÎÐòµÄ¡£
¡¡¡¡d.SPFile²ÎÊýµÄÃû³ÆºÍÖµÊDz»Çø·Ö´óСдµÄ£¬Ö»ÓÐÔÚUnixϵͳÖУ¬ÓÉÓÚ²Ù×÷ϵͳ±¾ÉíÇø·ÖÎļþÃû³ÆºÍ·¾¶µÄ´óСд£¬²ÅÐèÒªÔÚÉèÖòÎÊýʱעÒâ´óСдÎÊÌâ¡£
¡¡¡¡e.ÈôÒªÔÚSPFileÎļþµÄͬһÐÐÉèÖöà¸ö²ÎÊý£¬ÐèҪʹÓÿոñ·Ö¸ô¡£±ÈÈ磺PROCESSES=100 CPU_COUNT=1 OPEN_CURSORS=10
¡¡¡¡f.¶ÔÓÚ¿ÉÒÔ¾ßÓжà¸öÖµµÄ³õʼ»¯²ÎÊý£¬ÐèÒª½«ËùÓеÄÖµ·ÅÔÚÒ»¸öÀ¨ºÅÄÚ£¬²¢Ê¹ÓöººÅ½øÐзָô£¬±ÈÈçROLLBACK_SEGMENTS=(SEG1,SEG2,SEG3,SEG4,SEG5)
¡¡¡¡g.ÔÚSPFileÎļþÖУ¬¿ÉÒÔʹÓÃIFILE²ÎÊýÒýÓÃÆäËüµÄSPFileÎļþ¡£
¡¡¡¡h.¶ÔÓÚ¾ßÓÐ×Ö·û´®ÀàÐÍÖµµÄ²ÎÊý£¬Èç¹û×Ö·û´®Öаüº¬¿Õ¸ñ»òÖƱí·û£¬±ØÐëʹÓõ¥ÒýºÅ»òË«ÒýºÅ½«×Ö·û´®À¨ÆðÀ´£¬±ÈÈ磺NLS_TERRITORY="CZECH REPUBLIC"
¡¡¡¡³£ÓòÎÊý£º
¡¡¡¡DB_NAMEºÍDB_DOMAIN
¡¡¡¡È«¾ÖÊý¾Ý¿âÃûͨ³£Óɱ¾µØÊý¾Ý¿â±êʶ£¨DB_NAME£©ºÍÍøÂçÓòÃû£¨DB_DOMAIN£©×é³É£¬ÔÚÍøÂçÖÐΨһ±êʶһ¸öOracle£¬ÔÚÖ»ÓÐÒ»¸öʵÀýµÄÇé¿öÏ£¬DB_NAMEÓëʵÀý±êʶSIDÏàͬ¡£
¡¡¡¡È«¾ÖÊý¾Ý¿âÃûÔÚÊý¾Ý¿â´´½¨ºó¿ÉÒÔ¸ü¸Ä£¬Ê¹Óá¾Alter DataBase RENAME GLOBAL_NAME¡¿Óï¾ä£¬Óï¾äÖ´Ðгɹ¦ºó£¬±ØÐëÖØÆôOracle²¢Öؽ¨¿ØÖÆÎļþ£¨Öؽ¨¿ØÖÆÎļþÊÇÒ»¼þ±È½ÏΣÏյŤ×÷£¬Òò´Ë£¬½¨Òé±ÜÃâÐÞ¸ÄÈ«¾ÖÊý¾Ý¿âÃû£©¡£
¡¡¡¡DB_NAMEͬʱ´æ´¢ÔÚÊý¾ÝÎļþ¡¢¿ØÖÆÎļþºÍÖØ×öÈÕÖ¾ÎļþÖУ¬Èç¹ûDB_NAME²ÎÊýÖ¸¶¨µÄÊý¾Ý¿âÃûÓë¿ØÖÆÎļþµÄ±£³Ö²»Ò»Ö£¬Oracle½«ÎÞ·¨Æô¶¯¡£
¡¡¡¡CONTROL_FILE
¡¡¡¡¿ØÖÆÎļþ±£´æÓйØÓÚÊý¾Ý¿âÎïÀí½á¹¹µÄ»ù±¾ÐÅÏ¢£¬Ã¿¸öOracle¶¼±ØÐëÖÁÉÙÓµÓÐÒ»¸ö¿ØÖÆÎļþ¡£Oracle½¨Òé´´½¨Á½¸ö¿ØÖÆÎļþ£¬²¢ÇÒÓ¦µ±½«ËûÃÇ·Ö±ð·ÅÖÃÔÚ²»Í¬µãÓ²ÅÌÉÏ¡£
¡¡¡¡DB_Block_Buffer
¡¡¡¡Õⲿ·ÖÄÚ´æµÄ×÷ÓÃÖ÷ÒªÊÇÔÚÄÚ´æÖлº´æ´ÓÊý¾Ý¿âÖжÁÈ¡µÄÊý¾Ý¿é£¬Êý¾Ý¿â»º³åÇøÔ½´ó£¬ÎªÓû§ÒѾÔÚÄÚ´æÀïµÄ¹²ÏíÊý¾ÝÌṩµÄÄÚ´æ¾ÍÔ½´ó£¬ÕâÑù¿ÉÒÔ¼õÉÙËùÐèÒªµÄ´ÅÅÌÎïÀí¶Áд´ÎÊý¡£
¡¡¡¡ÔÚOracle 9iÒÔÇ°°æ±¾Êý¾Ý¿âÖУ¬»º³åÊÇÓÉdb_block_buffers*db_block_sizeÀ´¾ö¶¨£¬db_block_size²ÎÊýÊÇÔÚ´´½¨Êý¾Ý¿âʱÉèÖõģ¬Ëü¾ö¶¨Êý¾Ý¿âÀïÿ¸ö¿éµÄ´óС£¬9iÒÔÇ°²»ÄܸıäÒѾ´æÔÚµÄÊý¾Ý¿âµÄ¿é´óС£¬
Ïà¹ØÎĵµ£º
1£®½¨±í¿Õ¼ä
create tablespace OSDB datafile 'F:\oracle\oradata\glsqjz\OSDB.ora' size 100m reuse default storage(initial 500k next 500k pctincrease 20);
2£®½¨Óû§
create user OSUSER identified by OSUSER;//identified by ºóÃæµÄÊÇÃÜÂ룬ǰÃæµÄÊÇÓû§Ãû
3£®Óû§ÊÚȨ
grant resource,connect,RECOVERY ......
Wrap¼ÓÃÜOracle´æ´¢¹ý³Ì
Oracle×Ô´øµÄÄÚ²¿°ü´ó¶àÊý¶¼ÊǾ¹ý¼ÓÃܵģ¬±È½ÏºÃÆ棬Á˽âÒ»ÏÂOracle½øÐмÓÃܵŤ¾ß¡£Ò»°ã¶¼Ê¹ÓÃwrap¹¤¾ß½øÐмÓÃÜ£¬Õâ¸öwrapµÄʹÓÃÓï
·¨·Ç³£¼òµ¥£¬Ö»ÓÐÊäÈëºÍÊä³öÁ½¸ö²ÎÊý£¬Ò²Ã»ÓжàÓàµÄ²Ù×÷¡ ......
Oracle EBS: EBS³£ÓÃSQL
×î½üÒ»Ö±ÔÚæÓÚ×öEBSµÄ¶þ´Î¿ª·¢£¬Àë²»¿ªÆ´Æ´湊湊µÄSQLÓï¾ä. ÕâЩ¶¼ÊÇ´ó¼Ò³£ÓõÄһЩSQL£¬Óë´ó¼Ò·ÖÏí,»¶ÓÖ¸Õý.
/* Formatted on 2009-11-03 23:10:34 (QP5 v5.114.809.3010) */
--1²éÕÒϵͳÓû§»ù±¾ÐÅÏ¢ author:dezai
Select USER_ID,
&nb ......
Oracle ÊÇÒ»¸öÅÓ´óµÄϵͳ£¬ÀïÃæµÄ֪ʶµãºÜ¶à£¬ÔÚѧϰµÄʱºò£¬¿´µ½Ò»Ð©ÖªÊ¶µã£¬¾ÍÌùÁËÏÂÀ´£¬¾¡²»ÖªÖÐÌùÁËÕâô¶à£¬¾ÍÏÈ×ö¸öС½á°É¡£ ÀïÃæÓеÄ֪ʶµãÒѾµ¥¶ÀÄóöÀ´Ð´³Éµ¥ÆªµÄblog(http://blog.csdn.net/tianlesoftware)ÁË¡£ÓеĻ¹Ã»ÓнøÐÐÕûÀí¡£ ºÃ¼ÇÐÔ²»ÈçÀñÊÍ·£¬²»¹ýÎÒÓõIJ»ÊDZʡ£ ^_^ ......