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

Oracle³õ²½½Ó´¥Ê±Óöµ½µÄÎÊÌâ¼°½â¾ö°ì·¨

½ñÌìÔÚ»úÆ÷ÉÏ×°Oracle 10g£¬°²×°Íê³ÉÒÔºó³öÏÖ´íÎóÌáʾ¡°ORA-00988: ¿ÚÁîȱʧ»òÎÞЧ¡±£¬È»ºó¾ÍÎÞ·¨½øÈë¿ØÖÆ̨½øÐÐÏàÓ¦µÄ²Ù×÷ºÍ¹ÜÀí£¬ÎÒÒÔÇ°ÔÚ°²×°Oracle 9ʱ²¢Ã»ÓгöÏÖ¹ý
Õâ¸ö´íÎó¡£È»ºóжÔغóÖØа²×°£¬ÎÊÌâÒÀ¾É£¬ÕÛÌÚÁ˺ôóÒ»ÕóÖÕÓÚŪÃ÷°×ÊÇÔõôһ»ØÊÂÁË¡£
ÕâÖÖÇé¿öͨ³£·¢ÉúÓÚ´´½¨ Oracle Àý³Ìʱָ¶¨ÁË·ÇÕý³£µÄÈ«¾ÖÊý¾Ý¿âÃû³Æ»òϵͳÓû§ÃÜÂë¡£Çë×¢ÒâÈ«¾ÖÊý¾Ý¿âÃû³Æ²»ÄÜÒÔÊý×Ö¿ªÍ·£¬¿ÚÁîÃÜÂëÒ²²»ÄÜÓÉÊý×Ö¿ªÍ·£¨ÎÒ¾ÍÊÇÓÉÓÚ½«¿Ú
ÁîÃÜÂëÉèÖÃΪÒÔÊý×Ö¿ªÍ·µÄÔ­Òò£©¡£
ÆäʵʹÓÃiSQL*Plus·Ç³£·½±ã£¬¼¸ºõ²»ÓÃʲôÅäÖ㬵«ÊÇÒòΪDBAÓû§ºÍÆÕͨÓû§Ê¹ÓõÄÊDz»Í¬µÄURL£¬¿ÉÄÜ»áÔì³ÉÒ»²¿·ÖÈ˵ÄÒÉ»ó£¬ËùÒÔÔÚÕâÀï°Ñ¹ØÓÚiSQL*PlusµÄ¸÷·½ÃæÔÙÏêϸ˵
һϡ£
1¡£È·ÈÏ°²×°ÁËOracle HTTP ServerºÍiSQL*Plus Server
2¡£ÔÚ°²×°µÄ½áβ²¿·Ö½«»áÏÔʾµÇ½iSQL*PlusµÄĬÈ϶˿ڣ¬Èç¹ûûÓп´µ½»òÕßÍü¼ÇÁË£¬ÄÇô¿ÉÒÔ¼ì²éÈçÏÂÎļþÀ´È·ÈÏ£º
NT£º%ORACLE_HOME%\Apache\Apache\conf\httpd.conf
UNIX£º$ORACLE_HOME/Apache/Apache/bin/conf/httpd.conf
²é¿´PortºÍListen µÄ²ÎÊýÖµ£¬Ä¬ÈÏÓ¦¸ÃÊÇ£º
Port 7778
Listen 7778£¨HTTP£©
Listen 4443£¨HTTPS£©
¿ÉÒÔͨ¹ý±à¼­oracle_apache.confÅäÖÃÎļþÆôÓûò½ûÓà iSQL*Plus£¬×¢ÊÍÒÔÏÂÐм´¿É½ûÓÃ
include "ORACLE_HOME\sqlplus\admin\isqlplus.conf
3¡£iSQL*Plus µÄÅäÖÃÎļþÔÚ
NT£º%ORACLE_HOME%\sqlplus\admin\isqlplus.conf
UNIX£º$ORACLE_HOME/sqlplus/admin/isqlplus.conf
4¡£È·ÈÏÒѾ­Æô¶¯ÁËOracle HTTP Server
5¡£µÇ¼
µÇÈëÆÕͨÓû§£¬ÊäÈëÒÔÏÂURL£º
http://machine_name.doman:port/isqlplus
µÇÈëDBAÓû§£¬ÊäÈëÒÔÏÂURL£º
http://machine_name.domain:port/isqlplusdba
»ñÈ¡ServerµÄͳ¼ÆÐÅÏ¢£º
http://machine_name.domain:port/isqlplusdba?statistics= {active|full} [&refresh=number]
ÆäÖÐrefreshµÄ×îСֵÊÇ10Ãë
6¡£Èç¹ûÒªµÇ¼ʹÓà SYSDBA »ò SYSOPER ȨÏ޵Ǽµ½ iSQL*Plus£¬ÒÔͨ¹ý iSQL*Plus Ö´ÐÐÊý¾Ý¿â¹ÜÀí²¢ÔËÐÐ DBA ÃüÁÔò±ØÐëÒªOracle HTTP ServerÑéÖ¤£¬Õâ¸öÓû§ÃûºÍÃÜÂë¸ú
Êý¾Ý¿âµÄÓû§ÃûÃÜÂëÎ޹ء£µ±È»Í¨¹ýÑéÖ¤Ö®ºó£¬»¹ÐèÒªÊäÈëOracleÊý¾Ý¿âÖеľßÓÐSYSDBA»òÕßSYSOPERȨÏÞµÄÓû§ÃûºÍÃÜÂë¡£
Ҫͨ¹ýOracle HTTP ServerÑéÖ¤£¬Ôò±ØÐ뽫Óû§ÃûºÍ¿ÚÁîÌí¼Óµ½ Oracle HTTP Server ÑéÖ¤ÎļþÖУ¨Óû§ÑéÖ¤ÎļþλÓÚ%ORACLE_HOME%\sqlplus\admin\iplusdba.pw£©£¬×÷ÈçϲÙ×÷
£º
a¡£½øÈë%ORACLE_HOME%\Apache\A


Ïà¹ØÎĵµ£º

OracleÖеĴø²ÎÊýµÄÊÓͼ

OracleµÄÊÓͼ²»Ö§³Ö²ÎÊý
ÕâÀïÓÐÒ»¸öÁíÀàµÄ·½·¨£¬²»ÊǺܺ㬵«ÊÇ»¹ÊÇÒ»ÖÖ½â¾ö·½°¸
ͨ¹ýpackageʵÏÖ
create or replace package pkg_pv is
¡¡¡¡procedure set_pv(pv varchar2);
¡¡¡¡function get_pv return varchar2;
¡¡¡¡end;
¡¡¡¡create or replace package body pkg_pv is
¡¡¡¡v varchar2(20);
¡¡¡¡procedure set ......

Oracle RAC °²×°Îĵµ


Ò». ÓйØRACµÄÏà¹Ø¸ÅÄî
RAC:È«³ÆÊÇReal Application Cluster¡£RAC²¢·ÇÊǸöм¼Êõ£¬ÆäÇ°Éí½ÐOPS(Oracle Parallel Server)£¬´Ó9i¿ªÊ¼²Å¸ÄÃû½ÐRAC,oracle Data GuardÔÚ9i֮ǰ½Ð×öStandby
¸ÃÌåϵʵÏÖÁ˶à¸öʵÀýͬʱ·ÃÎʺ͹ÜÀíͬһÊý¾Ý¿â£¬¶à¸öʵÀý¿ÉÒÔ´æÔÚÓÚ²»Í¬½Úµã£¬Ò²¿ÉÒÔÔÚÏàͬµÄ½Ú ......

oracle systemÃÜÂëÍü¼Ç½â¾ö

1.ÓÃOracleÓû§µÇ½Linux·þÎñÆ÷;
2.ÔÚÖն˴°¿ÚÊäÈë sqlplus /nolog
   [oracle@hylinux ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on ÐÇÆÚ¶þ 7ÔÂ 29  14:26:16 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
& ......

¹ØÓÚoracleµÄ±í¿Õ¼ä£¬·ÖÇø±í£¬ÒÔ¼°Ë÷ÒýµÄ×ܽá


±í¿Õ¼ä£º
OracleµÄUNDOTBS01.DBFÎļþÌ«´óµÄ½â¾ö°ì·¨
1¡¢.½ûÖ¹undo tablespace×Ô¶¯Ôö³¤
alter   database   datafile   'full_path\undotbs01.dbf'   autoextend   off;
2.-- ´´½¨Ò»¸öеÄС¿Õ¼äµÄundo tablespace
create undo tablespace undotBS2 datafile ......

OracleÖÐstart with...connect by prior×Ó¾äÓ÷¨

connect by Êǽṹ»¯²éѯÖÐÓõ½µÄ£¬Æä»ù±¾Óï·¨ÊÇ£º
select ... from tablename start with Ìõ¼þ1
connect by Ìõ¼þ2
where Ìõ¼þ3;
Àý£º
select * from table
start with org_id = 'HBHqfWGWPy'
connect by prior org_id = parent_id;
¼òµ¥ËµÀ´Êǽ«Ò»¸öÊ÷×´½á¹¹´æ´¢ÔÚÒ»ÕűíÀ±ÈÈçÒ»¸ö±íÖдæÔÚÁ½¸ö×Ö¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ