Need to size the Oracle RAC database settings and configurations as storage size % etc.

Hi Experts,

We have a requirment that we need size parameters of database to an Oracle database RAC 11g as the sizing of disk space, memory, and CPU (SAN), Cluster size etc what would the size of the recommendation for major banks or large project? Can you describe in sizes (TB). I'm not sure of the growth of the DB files on a daily basis and no customers.

Thanks in advance.

Viji

It is a bit of an oxymoron.

You ask for one RAC server sizing. When RAC architecture allows you to evolve by adding more servers.

So if you have treatment volumeX to do, you have only 2 servers fabricant1 RAC to deal effectively with him. Or you can need 4 servers Fabricant2 CAR care effectively. There are many factors (unique to this client) which determines the choices made.

So 'sizing' the server is not a matter to be treated, until you've decided just what type of server, you will use for your RAC (dual core, quad core, 8 cores, base 16, etc.), how much he must take care of the memory, the amount of energy, it would consume, it takes up the amount of space (rack units) in a Cabinet how much local diskspace, it must support, how many PCI slots must be to HBA and HCA and other cards, etc.

Once this is decided (1 rack unit, dual core processors 4, 2 PCI slots, etc), can you evaluate vendors and server models available and decide how much of these servers must be purchased to meet the needs of data processing envisaged.

If for example, the decision is 3 servers and after deployment, it is determined that server capacity has been underestimated, then a 4th server can be purchased and added to the cluster of 3 Server - and the cluster set scale to actually do deal with the volumes of data processing.

One of the fundamental reasons for RAC is scalability. This means that only one server sizing is much less important than choosing the correct h/w architecture which allows to evolve this cluster by adding more h/w.

It would be very stupid to buy and build a server 2 CARS which was 'size' for volumeX, then find that the volume is X + Y, and 2 servers can only be resized at great expense to 3 servers (for example 4 unit rack servers, rack unit space only 2 left in the cabinet, required for quad powersupply by server power cannot be satisfied for 3rd server) (, no fiber port more SAN, etc.).

Tags: Database

Similar Questions

  • Freezing of the Oracle RAC databases

    Hi all

    We use oracle database 11g version 11.2.0.1.0 RAC database standard edition having two active instances.

    Recently, we have been confronted with a database, freezing problem, the regular orders program has not run in DB.

    Can anyone suggest me how to find the reason of this problem and what needs to be monitored side DB for a few days?

    Thanks in advance.

    John, but this assumes that actually perform the jobs - would not quite the case.

    My meat with the question (as Konda explained), is owner of problem. Developers who seem to refuse to have their process not running problem, he blames on the database and now awaits the DBA to own the problem simply because of their opinion without merit (and a little ignorant) as the database "frozen".

    It is unfair to expect the DBA through all kinds of hoops to find the 'problem' in a bottom-up analysis of the problem.

    A fundamental question for developers should be, prove it. Showed the code to run (work performed). And then a question why there is no instrumentation in their code just to say what's happened...

  • listener down randomly on the oracle Rac database

    Hello

    Given that we have done a database migration BECAUSE we have a listener who crashes, on a single node.

    Operating system is oracle linux 5

    version Oracle 10.2.0.4

    First I thought it was because of the conflict on the system. That I thought it was the rman backup that uses 3 channels. I changed it to 1 channel. But this does not resolve the issue.

    The listener log files shows:

    October 24, 2014 02:45:47 * ping * 12547

    AMT-12547: TNS: lost contact

    AMT-12560: TNS:protocol adapter error

    AMT-00517: lost contact

    Linux error: 32: Broken pipe

    October 24, 2014 02:45:47 * ping * 0

    October 24, 2014 02:45:47 * (CONNECT_DATA = (CID = (PROGRAM =) (HOST =hostname... com)(User=Oracle))(Command=services) (arguments = 64) (service = (Description = (Address = (Protocol = TCP) (HOST = 10 *. *.7)(PORT=1521)))(VERSION=169870336)) * services * 0)

    October 24, 2014 02:45:47 * (CONNECT_DATA = (CID = (PROGRAM =) (HOST = __jdbc__)(USER=)) (SERVICE_NAME = EX... com)) * (ADDRESS = (PROTOCOL = tcp) (HOST = 10 *. *.5)(PORT=26441)) * establish * example. com * 0

    October 24, 2014 02:45:47 * (CONNECT_DATA = (CID = (PROGRAM =) (HOST =hostname... com)(User=Oracle))(Command=Status) (arguments = 64)(service=LISTENER_hostname) (version = 169870336)) * status * 0

    Is no longer listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1)))

    Is no longer listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.**.**.7) (PORT = 1521)))

    Is no longer listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.**.**.5) (PORT = 1521)))

    Listener completed notification to the CRS stop



    and


    20 October 2014 02:07:59 * ping * 12547

    AMT-12547: TNS: lost contact

    AMT-12560: TNS:protocol adapter error

    AMT-00517: lost contact

    Linux error: 32: Broken pipe

    20 October 2014 02:07:59 * ping * 0

    20 October 2014 02:07:59 * (CONNECT_DATA = (CID = (PROGRAM =) (HOST = __jdbc__)(USER=)) (SERVICE_NAME = EX... com)) * (ADDRESS = (PROTOCOL = tcp (PORT = 25180))(HOST=10.**.**.5)) * establish * E.G. * .com * 0

    20 October 2014 02:07:59 * (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME=EX.**.com) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)(RETRIES=180) (DELAY = 5)) (CID = (PROGRAM = C:\H2)(USER=Administrator))) * (ADDRESS = (PROTOCOL = tcp (PORT = 51520))(HOST=10.**.**.222)) * establish * exodus.))) com * 0

    20 OCTOBER 2014 02:07:59 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EX... com) (FAILOVER_MODE = (type = SELECT) (Method = Basic)(RETRIES=180) (Delay = 5)) (CID = (PROGRAM = C:\er.exe)(HOST=-13)(USER=Administrator))) * (ADDRESS = (PROTOCOL = tcp (PORT = 58005))(HOST=10.**.**.23)) * establish * exodus.))) com * 0

    20 OCTOBER 2014 02:07:59 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EX... com) (FAILOVER_MODE = (type = SELECT) (Method = Basic)(RETRIES=180) (Delay = 5)) (CID = (PROGRAM = C:\er.exe)(HOST-05)(USER=Administrator))(INSTANCE_NAME=EX1)) * (ADDRESS = (PROTOCOL = tcp (PORT = 62958))(HOST=10.**.**.15)) * establish * exodus.))) com * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12571: failure of TNS:packet writer

    AMT-12560: TNS:protocol adapter error

    AMT-00530: Protocol adapter error

    Linux error: 104: connection reset by peer

    20 OCTOBER 2014 02:07:59 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EX... com) (FAILOVER_MODE = (type = SELECT) (Method = Basic)(RETRIES=180) (Delay = 5)) (CID = (PROGRAM = C:\MServer.exe)(HOST=MEDIASTOR-02)(USER=Administrator))) * (ADDRESS = (PROTOCOL = tcp (PORT = 64954))(HOST=10.**.**.12)) * establish * exodus.))) com * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12571: failure of TNS:packet writer

    AMT-12560: TNS:protocol adapter error

    AMT-00530: Protocol adapter error

    Linux error: 104: connection reset by peer

    20 OCTOBER 2014 02:07:59 * (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EX... com) (FAILOVER_MODE = (type = SELECT) (Method = Basic)(RETRIES=180) (Delay = 5)) (CID = (PROGRAM = C:\Mnge.exe)(HOST=-14)(USER=Administrator))) * (ADDRESS = (PROTOCOL = tcp (PORT = 49566))(HOST=10.**.**.24)) * establish * exodus.))) com * 12518

    TNS-12518: TNS:listener could not hand off client connection

    AMT-12571: failure of TNS:packet writer

    AMT-12560: TNS:protocol adapter error

    AMT-00530: Protocol adapter error

    My crsd.log shows:

    2014-10-22 02:04:57.670: [CRSEVT] [687806784] 0CAAMonitorHandler: 0:Action Script/u01/src/bin/racgwrap (check) has expired for ora.amcmstvdb01.vip! (timeout = 60)

    2014-10-22 02:04:57.671: 0CheckResource error [CRSAPP] [687806784] ora.amcmstvdb01.vip = - 2 Error Code

    2014-10-24 02:19:13.940: 0CheckResource error [CRSAPP] [685705536] ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr = 1 error Code

    2014-10-24 02:19:13.967: [CRSRES] [685705536] 0 in stateChanged, target of ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr is online

    2014-10-24 02:19:13.969: [CRSRES] [685705536] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr on amcmstvdb01 went OFFLINE unexpectedly

    2014-10-24 02:19:13.973: [CRSRES] [685705536] 0StopResource: set the values of the CLI

    2014-10-24 02:19:13.981: 0Attempting [CRSRES] [685705536] to stop the "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01".

    2014-10-24 02:28:16.221: [CRSRES] [685705536] 0Stop "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01" has succeeded.

    2014-10-24 02:28:16.223: [CRSRES] [685705536] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr RESTART_COUNT = 0 RESTART_ATTEMPTS = 5

    2014-10-24 02:28:16.224: [CRSRES] [685705536] 0Restarting ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr on amcmstvdb01

    2014-10-24 02:28:16.227: [CRSRES] [685705536] 0startRunnable: set the values of the CLI

    2014-10-24 02:28:16.228: 0Attempting [CRSRES] [685705536] to launch "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01".

    2014-10-24 02:45:03.791: [CRSEVT] [685705536] 0CAAMonitorHandler: 0: could not enter oracle/10.2.0/db_1/bin/racgwrap(start)

    Category: 1234, operation: scls_process_join, loc: childcrash, operating system error: 0, other: an abnormal termination of the child

    2014-10-24 02:45:03.791: [CRSEVT] [685705536] 0CAAMonitorHandler: 0:Action Script oracle/10.2.0/db_1/bin/racgwrap(start) expired for ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr! (timeout = 600)

    2014-10-24 02:45:03.792: 0StartResource error [CRSAPP] [685705536] ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr = - 2 Error Code

    2014-10-24 02:45:21.220: [CRSEVT] [687806784] 0CAAMonitorHandler: 0: could not enter oracle/10.2.0/db_1/bin/racgwrap(check)

    Category: 1234, operation: scls_process_join, loc: childcrash, operating system error: 0, other: an abnormal termination of the child

    2014-10-24 02:45:21.222: [CRSEVT] [687806784] 0CAAMonitorHandler: 0:Action Script oracle/10.2.0/db_1/bin/racgwrap(check) expired for ora. EX. EX1.inst! (timeout = 600)

    2014-10-24 02:45:21.223: 0CheckResource error [CRSAPP] [687806784] to the ora. EX. EX1.inst = - 2 Error Code

    2014-10-24 02:45:50.080: [CRSRES] [685705536] "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01" 0Start failed.

    2014-10-24 02:45:50.084: [CRSRES] [685705536] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr broken amcmstvdb01 moving.

    2014-10-24 02:45:50.103: 0Cannot [CRSRES] [685705536] move ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnrStopping dependants

    2014-10-24 02:45:50.111: [CRSRES] [685705536] 0StopResource: set the values of the CLI

    2014-10-24 11:23:09.036: [CRSRES] [687806784] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr target the OFFLINE value before stop action

    2014-10-24 11:23:09.037: [CRSRES] [687806784] 0StopResource: set the values of the CLI

    2014-10-24 11:23:09.046: 0Target [CRSRES] [687806784] the OFFLINE value for "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr".

    2014-10-24 11:23:09.115: [CRSRES] [687806784] 0ora.amcmstvdb01.ons target the OFFLINE value before stop action

    2014-10-24 11:23:09.116: [CRSRES] [687806784] 0StopResource: set the values of the CLI

    2014-10-24 11:23:09.124: 0Attempting [CRSRES] [687806784] to stop the "ora.amcmstvdb01.ons" Member "amcmstvdb01".

    2014-10-24 11:23:10.142: [CRSRES] [687806784] 0Stop "ora.amcmstvdb01.ons" Member "amcmstvdb01" has succeeded.

    2014-10-24 11:23:10.212: [CRSRES] [687806784] 0ora.amcmstvdb01.vip target the OFFLINE value before stop action

    2014-10-24 11:23:10.213: [CRSRES] [687806784] 0StopResource: set the values of the CLI

    2014-10-24 11:23:10.221: 0Attempting [CRSRES] [687806784] to stop the "ora.amcmstvdb01.vip" Member "amcmstvdb01".

    2014-10-24 11:23:11.232: [CRSRES] [687806784] 0Stop "ora.amcmstvdb01.vip" Member "amcmstvdb01" has succeeded.

    2014-10-24 11:23:11.268: [CRSRES] [687806784] 0ora.amcmstvdb01.gsd target the OFFLINE value before stop action

    2014-10-24 11:23:11.269: [CRSRES] [687806784] 0StopResource: set the values of the CLI

    2014-10-24 11:23:11.277: 0Attempting [CRSRES] [687806784] to stop the "ora.amcmstvdb01.gsd" Member "amcmstvdb01".

    2014-10-24 11:23:12.284: [CRSRES] [687806784] 0Stop "ora.amcmstvdb01.gsd" Member "amcmstvdb01" has succeeded.

    2014-10-24 11:23:23.714: [CRSRES] [687806784] 0startRunnable: set the values of the CLI

    2014-10-24 11:23:23.723: 0Attempting [CRSRES] [687806784] to launch "ora.amcmstvdb01.gsd" Member "amcmstvdb01".

    2014-10-24 11:23:24.740: [CRSRES] [687806784] "ora.amcmstvdb01.gsd" Member "amcmstvdb01" 0Start succeeded.

    2014-10-24 11:23:24.840: [CRSRES] [687806784] 0startRunnable: set the values of the CLI

    2014-10-24 11:23:24.847: 0Attempting [CRSRES] [687806784] to launch "ora.amcmstvdb01.vip" Member "amcmstvdb01".

    2014-10-24 11:23:26.857: [CRSRES] [687806784] "ora.amcmstvdb01.vip" Member "amcmstvdb01" 0Start succeeded.

    2014-10-24 11:23:26.962: [CRSRES] [687806784] 0startRunnable: set the values of the CLI

    2014-10-24 11:23:26.971: 0Attempting [CRSRES] [687806784] to launch "ora.amcmstvdb01.ons" Member "amcmstvdb01".

    2014-10-24 11:23:27.017: [OCRUTL] [683604288] u_freem: mem passed is null

    2014-10-24 11:23:28.983: [CRSRES] [687806784] "ora.amcmstvdb01.ons" Member "amcmstvdb01" 0Start succeeded.

    2014-10-24 11:23:29.093: [CRSRES] [687806784] 0startRunnable: set the values of the CLI

    2014-10-24 11:23:29.099: 0Attempting [CRSRES] [687806784] to launch "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01".

    2014-10-24 11:23:30.110: [CRSRES] [687806784] "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01" 0Start succeeded.

    2014-10-27 03:07:00.415: 0CheckResource error [CRSAPP] [687806784] ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr = 1 error Code

    2014-10-27 03:07:00.421: [CRSRES] [687806784] 0 in stateChanged, target of ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr is online

    2014-10-27 03:07:00.423: [CRSRES] [687806784] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr on amcmstvdb01 went OFFLINE unexpectedly

    2014-10-27 03:07:00.424: [CRSRES] [687806784] 0StopResource: set the values of the CLI

    2014-10-27 03:07:00.430: 0Attempting [CRSRES] [687806784] to stop the "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01".

    2014-10-27 03:07:02.437: [CRSRES] [687806784] 0Stop "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01" has succeeded.

    2014-10-27 03:07:02.439: [CRSRES] [687806784] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr RESTART_COUNT = 0 RESTART_ATTEMPTS = 5

    2014-10-27 03:07:02.440: [CRSRES] [687806784] 0Restarting ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr on amcmstvdb01

    2014-10-27 03:07:02.443: [CRSRES] [687806784] 0startRunnable: set the values of the CLI

    2014-10-27 03:07:02.444: 0Attempting [CRSRES] [687806784] to launch "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01".

    2014-10-27 03:07:04.564: [CRSRES] [687806784] "ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr" Member "amcmstvdb01" 0Start succeeded.

    2014-10-27 03:07:04.566: [CRSRES] [687806784] rebooted 0Successfully ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr on amcmstvdb01, RESTART_COUNT = 1

    2014-10-27 03:07:04.571: [CRSRES update] [687806784] 0ora.amcmstvdb01.LISTENER_AMCMSTVDB01.lsnr LAST_RESTART time in ocr

    2014-10-28 02:17:25.278: [CRSEVT] [875006272] 0CAAMonitorHandler: 0: could not enter/u01/src/bin/racgwrap (check)

    Category: 1234, operation: scls_process_join, loc: childcrash, operating system error: 0, other: an abnormal termination of the child

    It could be because:

    https://support.Oracle.com/epmos/faces/DocumentDisplay?_afrLoop=380194821865447 & ID = 985170.1 & DisplayIndex = 2 & _afrWindowMod...

    https://support.Oracle.com/epmos/faces/SearchDocDisplay?_adf.CTRL-State=drbucptmm_436 & _afrLoop = 385944517854402 #SYMPTOM

    I hope you can give me a hint or two on how to solve this problem.

    Regards and thanks in advance.

    The problem was the backup script that was executed on the server.

    He used a linux 'cp' command to copy the tar.gz (compressed backup file) file to a share that has been configured as automount. Don't ask me why.

    For some reason, this caused the CPU up to 250% which of course killed any response from the server.

    I replaced the command copy with rsync and everything seems to work fine now.

    Kind regards

  • Add a new instance to the NON-RAC database?

    I could create a new instance to the non-rac database?

    I tried to use dbca to create the second instance, but I read, help, that is not possible.

    There is no way to create the second instance in a single database? (No. - CARS, no. - ASM, just a normal database)

    Thanks in advance.

    Instance = process and memory
    Basis of data = all data files.

    For a database no CARS, there is a one-to-one mapping between the instance and database.

    If you don't want to use an existing database to store the new patterns, you need to create a new database.

  • What mobile framework Oracle version and JDeveloper are needed to customize the Oracle EBS R12.2.2 and superior?

    What mobile framework Oracle version and JDeveloper are needed to customize the Oracle EBS R12.2.2 and superior?

    If you want to extend the pages of EBS, you need to use the OA framework for 12.2 version.  There is no native support for the extension of EBS by using ADF pages.

    If you want to build the ADF custom applications that integrate with EBS you can watch using the SDK of the EBS (see My Oracle Support) that offers a number of design patterns to allow you to do.

    With respect to the version of Fusion Middleware based on EBS 12.2, take a look at the notes 1911660.1.  11.1.1.6 is currently the base version supplied with 12.2.4 with the 11.1.1.7 version is the highest version supported.

  • In features of style the layer maximum photoshop to 250 pixels. But I need to make the biggest race that I need to make a large logo of a warehouse. Any idea?     Thank you very much for your help!

    In features of style the layer maximum photoshop to 250 pixels. But I need to make the biggest race that I need to make a large logo of a warehouse. Any idea?Thank you very much for your help!

    And why you even do it in PS? What you wrote means that you need something big which will be made using cutting of vinyl or other techniques of signage and it requires to work with vectors, which means you use Illustrator, not Photoshop.

    Mylenium

  • Import of XML in the oracle 11g database

    I have some difficulty parsing of an XML file in the oracle 11g database.

    Currently using Oracle 11 g Express Edition (XE)

    Here's how my XML file looks like this:


    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    -< AccountMap xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
    -< account >
    -< AccountMapping >
    < AccountID > 0000000000000 - 000 < / AccountID >
    < AccountName > XLS < / AccountName >
    Excel < AccountType > < / AccountType >
    < AccountOwner > system < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >
    < AccountID > 0000000000000 - 001 < / AccountID >
    < AccountName > XLSS < / AccountName >
    Excel2 < AccountType > < / AccountType >
    System2 < AccountOwner > < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >

    and so now the file continues... I have the xml file that is saved on my hard drive

    I created a package in SQL Developer

    create or replace
    PACKAGE XML_FILEHANDLER AS

    type TRecord is (record
    Account_ID varchar2 (100)
    , Varchar2 (100) AccountName
    , Varchar2 (30) AccountType
    , AccountOwner varchar2 (100)
    );

    type TRecordTable is table of the TRecord;

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipeline;

    END XML_FILEHANDLER;

    -BODY

    create or replace
    PACKAGE BODY XML_FILEHANDLER AS

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable AS pipeline

    nb_rec NUMBER: = 1;
    tmp_xml CLOB.
    tmp_file CLOB.
    REC TRecord;

    BEGIN

    DBMS_LOB.CREATETEMPORARY (tmp_file, true);
    tmp_file: = dbms_xslprocessor.read2clob (p_directory, p_filename);

    recomm. Account_ID: = regexp_replace (tmp_file, '. * <>(. *) Account_ID < / Account_ID >. *', '\1', 1, 1, 'n');
    recomm. AccountName: = regexp_replace (tmp_file, '. * < AccountName >(.*) < / AccountName >. *', '\1', 1, 1, 'n');
    recomm. AccountType: = regexp_replace (tmp_file, '. * < AccountType >(.*) < / AccountType >. *', '\1', 1, 1, 'n');
    recomm. AccountOwner: = regexp_replace (tmp_file, '. * < AccountOwner >(.*) < / AccountOwner >. *', '\1', 1, 1, 'n');

    loop

    -This regexp is instance (s) of this model: "<? XML...? ' > < root_tag >... < / root_tag >.
    tmp_xml: = regexp_substr ([tmp_file, ' < \?xml[^?] +------? > \s+ < ([^ >] +) >. *? < / \1 > ', 1, nb_rec, 'n');
    When the output length (tmp_xml) = 0;
    -dbms_output.put_line (tmp_rec);
    nb_rec: = nb_rec + 1;

    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );

    line (CRE);

    end loop;

    DBMS_LOB.freeTemporary (tmp_file);

    GetRows END;

    END XML_FILEHANDLER;

    -I call my function using the following sql query

    Select * from table (XML_FileHandler.getRows ("XML", "test.xml"));

    Here is the error I get

    ORA-29283: invalid file operation
    ORA-06512: at "SYS." UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "XDB". DBMS_XSLPROCESSOR', line 265
    ORA-06512: at "user. XML_FILEHANDLER', line 13
    29283 00000 - "invalid file operation.
    * Cause: An attempt was made to read from a file or a directory which is
    not exist, or the file or directory access was denied by the
    Operating system.
    * Action: Check access privileges to the file and directory on the file system
    and if reading, check that the file exists.

    I did the following

    -Provided appropriate access to the user (read, write), including directory access rights
    -ensure that the directory exists
    -to ensure the existence of the file

    I have searched all over google and metalink but am unable to get this to run... Help, please!

    >
    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );
    >
    implement

    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    );
    
    SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
      2  --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
      3  from xmltable(
      4  'AccountMap/Accounts/AccountMapping' passing
      5  xmltype('
      6  
      7  
      8  
      9  0000000000000-000
     10  XLS
     11  Excel
     12  System
     13  
     14  
     15  0000000000000-001
     16  XLSS
     17  Excel2
     18  System2
     19  
     20  
     21  ')
     22  columns
     23  Account_ID varchar2(100) path 'Account_ID'
     24  , AccountName varchar2(100) path 'AccountName'
     25  , AccountType varchar2(30) path 'AccountType'
     26  , AccountOwner varchar2(100) path 'AccountOwner'
     27  );
    
    ACCOUNT_ID                                                                       ACCOUNTNAME                                                                      ACCOUNTTYPE                    ACCOUNTOWNER
    -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------ --------------------------------------------------------------------------------
                                                                                     XLS                                                                              Excel                          System
                                                                                     XLSS                                                                             Excel2                         System2
    
    SQL> 
    

    AccountID use AccountID not Account_ID

    Account_ID varchar2(100) path 'AccountID'
    

    Published by: Alexandr on August 9, 2012 12:35 AM

  • Is is possible to connect Netbean IDE to the Oracle XE database.

    Is possible to connect Netbean IDE to the Oracle XE database uses drivers provided with Netbean network.

    I m giving continuation of input to Netbean parameter.

    Data entry mode: entry field
    Driver name: JAVA DB (Network)
    Host: light-LMO
    Port: 1521
    Database: XE
    Username:lightweight
    Password: xxxxx


    When tried connecting the Oracle XE using netbean I got following error.


    ubable to add a connection. Could not establish a connection to the jdbc:derby://lightweight-ovm:1521 / XE
    using org.apache.derby.jdbc.ClientDriver (insufficient during the reading of the network - wait a minimum)
    6 bland and received only 1 byrtes. the connection has been lost.


    However, I can able to connect in the jsp pages using the following connection string.

    Class.forName ("oracle.jdbc.driver.OracleDriver");
    Conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:XE", "light", "oracle");


    What's not here?

    Please post this in

    Database connectivity - Java Database Connectivity (JDBC) Forums...

    http://forums.Sun.com/forum.jspa?forumid=48&start=0

    Concerning
    Rajesh

  • PC health check-up according to my monitor does not have the minimum required display settings and change the DPI by default survey

    Original title: DPIdefsault level

    I am trying to install a pc health check-up for my laptop but it says my monitor does not have the minimum required display settings and change the default DPI level.  How do I do that?

    What version of Windows?  You can change the DPI on Windows XP but right click on your desktop, choose Properties, selecting the tab settings, clicking on advanced and change the dropdown to DPI.  Other versions of Windows have similar steps.

  • Hi, I need to download the acrobat PDF after registration and cc payment, I get the new which is not available for mac ist... How can I solve this problem... I use only the mac...

    Hi, I need to download the acrobat PDF after registration and cc payment, I get the new which is not available for mac ist... How can I solve this problem... I use only the mac...

    If you had bought subscription Acrobat Standard / stand-alone product , you need to cancel the subscription / order and re - register / re - order subscription Acrobat Pro DC / stand-alone product.

  • Need information about the Tables in database in Oracle Apps

    Hello

    I am looking for information about the Tables in database in Oracle Apps.

    Is it possible that we could see the (column name, description of each column, the primary key, foreign key etc.) the table structure in database (e.g. HZ_PARTIES, CS_INCIDENTS_ALL_B, csf_debrief_headers) used in Oracle 11i applications?

    ETRM. Oracle.com

    concerning

    Pravin

  • Restore the Oracle XE database to another machine

    I have an Oracle XE server on a Windows XP computer, and I want to copy it to a Windows 7 computer.
    On XP, I did a backup through the database "backup" interface graph user (BACKUP. (BAT). The Oracle backup created 3 new folders under C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET

    I installed XE on the Windows 7 machine and it seems to work.
    Then I had to face the 3 files to backup on a USB and put them in the folder structure on the new Windows 7 machine. I ran the restore from the GUI as administrator (RESTORATION. (BAT). Restore failed, and I can't understand why. I don't know what are the sequence numbers.

    Now I can't get into Apex or Apex_Admin

    Thanks for taking a peek at this.

    The contents of the OXE_RESTORE file is as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6031 M / 8183 M, Ph + FCP: 13737 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: xe (unassembled)

    RMAN > set the echo;
    2 > restore (spfile to autobackup db_recovery_file_dest = 'C:\oraclexe\app\oracle\flash_recovery_area\');
    3 > strength of startup nomount;
    4 > restore (automatic backup controlfile);
    5 > change the editing of the database;
    6 > configure controlfile autobackup.
    7 > restore database;
    8 >
    echo on

    From restoration to January 8, 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 37 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area\
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore SPFILE full automatic backup
    Finished restore at 8 January 11

    Oracle instance started

    Total System Global Area 805306368 bytes

    Bytes of size 1289996 fixed
    239075572 variable size bytes
    562036736 of database buffers bytes
    Redo buffers 2904064 bytes

    From restoration to January 8, 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 36 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore full automatic backup of control file
    name of the output file = C:\ORACLEXE\ORADATA\XE\CONTROL. DBF
    Finished restore at 8 January 11

    mounted database
    output channel: ORA_DISK_1

    RMAN old configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP
    new RMAN configuration settings are stored successfully

    From restoration to January 8, 11
    From implicit overlapping Backup 8 January 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 35 devtype = DISK
    Cut objects 1
    Backup of implicit overlap ended in January 8, 11

    Starting copy of implicit cross-8 Jan 11
    using channel ORA_DISK_1
    Copy of implicit overlap finished-8 Jan 11

    the search for all files in the recovery area
    cataloging files...
    cataloging done

    List of cataloged files
    =======================
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP

    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM. DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO. DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX. DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS. DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: backup C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_ piece reading. BKP
    channel ORA_DISK_1: restored the backup part 1
    piece handle = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_. Tag BKP = TAG20110107T194642
    channel ORA_DISK_1: restore complete, duration: 00:00:56
    Finished restore at 8 January 11

    Complete recovery manager.

    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6021 M / 8183 M, Ph + FCP: 13238 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: XE (DBID = 2604800077, is not open)

    RMAN > set the echo;
    2 > restore database;
    3 > alter database open resetlogs;
    4 >
    echo on

    From back-8 Jan 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 38 devtype = DISK

    starting media recovery

    Archive journal 1 sequence 375 thread is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    archive log thread 1 sequence 376 is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. Wire ARC = 1 sequence = 375
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. Wire ARC = 1 sequence = 376
    Cannot find the log archiving
    archive log thread = 1 sequence = 377
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 08/01/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 377 lowscn 11715842

    Complete recovery manager.

    After playing a bit, I solved the problem.
    There are a total of four records in \FLASH_RECOVERY_AREA\XE\ I had copied only three of the four.
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET

    Windows services store the files in open ONLINELOG, so I had to shut down services and then work with the folder. That's why four files must be moved and copied onto the new machine:
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    ONLINELOG

    If you are running as an administrator "Backup" of the GUI, it runs the BACKUP. BEATS, a batch file called RMAN. Once that is done, copy the four files to the same location on the target computer, and then run as administrator 'Restore' (RESTORATION. (BAT).

    In another forum someone told to be sure that the 'archive logs' are copied. It should be interpreted to mean not only the folder 'ARCHIVELOG', but all four files.

    Published by: PhilMan2 on January 11, 2011 11:28

  • Installation of the node2 RAC database

    Hello

    I installed grid infrastructure, Oracle RAC cluster db software.

    Then in the node 1 installed listener and created / the set up db using dbca.

    I have sucessfully created database and db info written in/etc/oratab.

    Question: should I create an another data base using dbca in node 2? for example, if istalled node1 PROD1 db, should install PROD2 instance in node2?

    What are the next steps after the installation of database in node1?

    Thank you

    Hello

    Check if the ORACLE_HOME parameter is correctly set

    On srv01

    Export ORACLE_HOME =

    export ORACLE_SID = PROD11

    export ORACLE_BASE =

    Or you can add PROD11 entered oratab copying PROD1 and the same mounting on srv01 PROD11

    then run

    . oraenv

    The above sets the env

    Then connect as

    sqlplus / as sysdba

    To connect via the application, please refer to the

    Ref: How to integrate a database of the RAC 10 g / 11 GR 1 material with 11 GR 2 clusterware (SCAN) (Doc ID 1058646.1)

    Ref: 11.2 Scan and node TNS Listener of installation examples (Doc ID 1070607.1)

    Ref: How to solve the problem of connectivity with the name SCAN 11 GR 2 (Doc ID 975457.1)

    Kind regards

    Vautrin - Oracle

  • B2B - BAM integration does not work with the Oracle XE database

    Hello

    Can someone explain the reasons in detail, 'the B2B - BAM integration does not work with the database Oracle XE'?

    Can't we use XE POC simple to demonstrate BAM?

    Published by: 975946 on December 27, 2012 04:14

    Hi Nithin,

    The main reason for this Oracle XE database can't handle such a huge process. Same Oracle XE is not supported in production.
    Note that SOA requires 300 process and BAM more than 100 processes (400 total), which is in addition to any other requirement its 500 to parameter.but process during the installation of Oracle SOA RCU, I hope you gave 300 single right.so his can't handle as much load if use B2B BAM integration.

    The ultimate goal is to have need to display active data in the right BAM reports? so, if you are using Oracle XE DB its may be not possible to show the active data.that the reason Oracle recommended use / works with Oracle 10 g Oracle 11 g versions EE and EE.

    Best regards
    Siva San.

  • License for the Oracle ODBC database gateway

    Hello world!

    I am using Oracle Database Gateway for ODBC (Oracle 11 g Gateway) to create dblink Oracle 10.2.0.4

    According to this price list, I do not see the price details for the database gateway for ODBC Oracle

    http://www.Oracle.com/us/corporate/pricing/technology-price-list-070617.PDF
    Please refer to page 3 and 4

    and according to the guidelines of it, I don't need a separate license. Could someone shed some light. I have the database and the gateway in the same machine

    http://download.Oracle.com/docs/CD/E11882_01/license.112/e10594.PDF

    Please refer to page 1-7, which says

    Gateway for ODBC Oracle database
    Database gateway for ODBC Oracle can be installed and used on a different machine
    the machine where the database Oracle is installed and used. Should not be
    to obtain a separate license for the machine running Oracle Gateway for ODBC

    Please shed some light.

    Thanks in advance.

    Hello
    As it is said, as long as you have a license of RDBMS, you need not a separate license for DG4ODBC. If confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a different machine," then it is just to clarify that you run the gateway on a machine completely separated from the performer the RDBMS under license, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
    If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed in an another ORACLE_HOME.

    If this still isn't clear, so please come back and let us know exactly what you need to clarify.

    Kind regards
    Mike

Maybe you are looking for

  • Why do you have Vista 32 bit my native resolution of 1680 x 1050, but 64-bit Vista is not?

    I was already running 32 bit Vista Home Basic and I've now changed to 64-bit Home Premium and for some reason that I have more my 1680 x 1050 Native resolution monitors in the list of available resolutions. The closest available resolutions are 1600

  • Change of the Windows Mail spelling checker dictionaries

    I've recently set up a new computer with Vista 32 bit and Windows mail.  I live in Australia, and my regional settings in the control panel have made English of Australia, however the spell checker in Windows Mail is rejected my spelling and wanting

  • You can install Windows Virtual PC and Windows XP with Windows 7 Home Premium Mode?

    Windows 7 Home Premium with Windows Virtual PC and Windows XP Mode. I'm currently under Vista Premium and just-ordered Windows 7 Premium.  I noticed that Microsoft offers only the XP Mode in their professional, Ultimate and Enterprise versions. Once

  • Reg: regular expr doubt-

    Hi Experts,I have a doubt of simple query. A play with regular expressions and assigning independent assignments. with t as (txt) ( Select 'my name is Vanessa and a good buoy' from dual UNION ALL Select "nordine Bolduc" dual UNION ALL Select 'a' out

  • Replaced my Mac and the need to install CS6

    My Mac and backup is gone belly up and I'll try to find a copy of the CS6 to put on my new Macbook.Where can I download a copy?I have my serial number Adobe Photoshop, but it doesn't help without downloading.