Adding RAM for Oracle 9i

Hi,
I have an oracle database 9iR2 installed in my server (32 bits processor, 4GB ram). And I want to add more RAM for oracle database. It is possible? and do I need to do any setting for the previous oracle instance to fit the newly added RAM (Swap space)?
Thank you.
~ vincent.

Hello,
yes, you can add more RAM without any problem. Take into account that if the O.S. it's windows 32b. , it will only see 3,3 GB (unless using PAE). Linux OS has no problem with that.
You don't have to make any previous settings or changes in the database. Just add RAM. After you've added the RAM, the database just will continue using the same amount as before. You'll have to change this modifying all the memory related parameters (SGA, ...)
Regards

Similar Messages

  • Use more than 2 GB ram for oracle

    I have 16 GB ram but I only can use 2 GB of that for oracle database , how can i increase that ???

    Don't merely go for increasing the size for Oracle (SGA) Memory. You need to keep collect the usage/statistics of your Oracle SGA, for any contention/or slow performance.
    Until and unless users/clients reports that their reports/programs/queries are running slow, then think of increasing memory for Oracle. Moreover, instead of anticipating that the user reports the problem, you from your side need to check the hits of the memory allocated for Oracle.
    By the way, you didn't specify your Database Version and OS Details.
    If assumed, you are on Oracle 10g, then please take a look at the below Oracle Documentations links.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#ADMIN00207
    Regards,
    Sabdar Syed.

  • Adding Box for Oracle RAC(Clustering) to BIW 3.5 Oracle/Linus

    Hai Gurus,
    Suppose if we have 1 box with Bw3.5 Linux/Oracle and add another box to do Oracle RAC(clustring). Do we need to re-instal the Box 1 also or we can do that with small configuration changes.
    Guide me.
    Regards,
    Mano

    Hi Mano
    As in most cases there is a short answer and a longer one. Short:
    If your system is RAC ready, switching from single instance to cluster database and adding a new node is quite simple. From pure application side there will not be major changes necessary.
    Long:
    What do i need for oracle RAC, what do i have to do to make my system RAC ready?
    Hardware / OS
    You will need shared disks, cluster fs, on linux mostly OCFS2. If you don't have it yet, you need to get it and move your database on to it. You would probably need an additional lan interface for the interconnect.
    Oracle / Database
    You would have to install CRS, that is the oracle cluster software. Your oracle instance, listener will run as services controlled by CRS when RAC is enabled. You will need to configure separate redo threads and undo tablespaces for each node you add. Not least you would probably need an additional costly RAC extension license from your favorite oracle sales rep.
    SAP
    You should think about separate enqueue server and enqueue replication, although this is not mandatory. This is dependent on your reasons for using RAC. If it is high availability you should go for it.
    This is not a complete list, i just wanted to give you an initial idea, please ask if you need further details. If you start into RAC just now, you will have a long way to go, otherwise the short answer will apply.
    Best regards
    Michael

  • RAM for oracle on linux

    512 MB RAM is mandatory for installing oracle 9 on linux 8.
    Thanks,
    Regards,
    Akshat

    Hi,
    When we use some processes that uses a lot of Linux filesystem (not direct I/O or Automatic Storage mangement) the operating system uses the "cached" RAM memory.
    Example :- If you taking a backup of on linux using tar, since based on your Sufficient RAM size, the Linux File System is going to be used and Free Memory goes to Zero (0), when you remove the tar file the Cache Memory moves to Free Memory. During some process of work the Free memory will be reduced.
    Cached RAM is also considered as free, and will be used by OS when it needs. Oracle processes prefers use Swap Space (allocated).
    Coming to the Point " limit the size of Cached Area" is not available in Linux as per my knowledge. Never experienced.
    Try for this
    Execute "/proc/sys/vm/drop_caches" => which will move cached memory to free.
    Further I did not have much experience to comment out the problem. Let's see the comments from other friends too.
    - Pavan Kumar N

  • I have found that my Mac Book Pro 15 inch late 2011 is slower than my PC Windows 7 for certain downloads, and working with iPhoto.  Would adding RAM be helpful in speeding up this process.  Currently I have the stock 4GB RAM, and storage 500GB HD drive.

    I have found that my Mac Book Pro late 2011 15 inch is slower than I expected with certain downloads, or working with iPhoto than expected compared to my previous Windows 7 PC.  Would adding RAM be of any value in speeding up the process?

    how to tell if your mac needs more ram

  • Adding custom Adapter information Parameters for Oracle Inbound Telephony

    Hello,
    I am implementing a custom adapter for Oracle Inbound telephony. I need to configure a few information parameters for my custom adapter. I am using the "Adapter Server Info <1-6>" fields on the Call Center html administration page (under the "Middleware" section). But I need to configure more than 6 parameters for my adapter. Does anyone know if we can add more "Adapter Server Info" fields?

    You may explore using a BPEL process to set the so header for calling the web service instead of directly calling it from BPMN process.
    Steps.
    1)Create a BPEL process.
    2)Select the checkbox "Expose as a SOAP service"
    3)In the BPEL process, set the SOAP header parameters that are expected by the called web service.
    Refer section
    6.22.2 How to Send SOAP Headers in BPEL
    of
    Oracle® Fusion Middleware
    Developer’s Guide for Oracle SOA Suite
    11g Release 1 (11.1.1.6.3)
    E10224-15
    4)Now in your BPM web service adapter , instead of calling the web service directly, call the web service endpoint of the newly created BPEL process.
    Hope this helps.
    Regards.

  • Adding RAM to 1.6 GHz G5

    I just finished a rather strange process of adding RAM to my G5 which I thought I would share, in case it helps others:
    First of all, I have a 1.6 GHz CPU machine, which has 4 DIMM slots. According to the Setup Guide, since there are only 4 slots (not 8), you need to use 333 MHz, PC2700 DIMMs (not 400 MHz, PC3200 DIMMs).
    When I first got my G5, it came with 256 MB of RAM (2 x 128 MB 333 MHz, PC2700). About a year ago, I added 512 MB (2 x 256 MB 333 MHz, PC2700), bringing the total up to 768 MB. This addition went smoothly, without any problems.
    Recently, I decided to replace the original 256 MB of RAM, with two more 256 MB modules, bringing the total up to 1.5 GB, so I ordered "1 GB DDR400 PC3200 2x512 DIMMS" (Part # M9653G/A) directly from Apple. Note that the RAM Apple currently sells is 400 MHz, PC3200, not 333 MHz, PC2700. In fact, before placing the order online, I called Apple to ask about this, and the person I talked to assured me that this would not be a problem, and that my 1.6 GHz would work with the 400 MHz, PC3200, despite what the manual says, so I ordered them.
    Upon receipt, I removed the original pieces, installed the new ones, and my G5 would not acknowledge their presence. It said I only had 512 MB. I called Apple to report the problem, and they suspected it was simply faulty RAM, so they sent replacements. When I got them, I installed them, and got the same results. I called Apple to tell them it still wasn't working, and they had no idea why. Once again, I pointed out that they were sending me 400 MHz, PC3200, not 333 MHz, PC2700, and they still insisted that this was not the problem, but I started to suspect even more that it was, especially after trying to upgrade twice.
    In order to test this theory, I ordered RAM from MacMall. This time I ordered 1 GB, in the form of 2 x 512 MB, 333 MHz, PC2700 (made by Kingston, Manufacturer Part No. KTA-G5333/1G). When I received these, I moved the original replacement RAM up into the top two slots, where the original ones were, and placed the two new ones in the bottom two slots. When I tried to turn the computer back on, it wouldn't. The light on the front would flash once, then pause, then flash once again, then pause, etc. When I checked the manual's troubleshooting section, it described what two, three, four, and 5 or 6 flashes meant, but not one. URGH!
    At this point, I had no idea what was wrong, so I took my G5 to my local Apple store to ask them. The guy there had the idea of putting one of the original replacement RAM in one of the two top slots, and one of the new replacement RAM in the other top slot. Then he put one of the original ones in one of the two bottom slots, and one of the new ones in the other bottom slot. Believe it or not, not only did the computer turn back on, but it also recognized the new total of 1.5 GB of RAM!!!
    This was such a strange process that I thought I would share it, in case someone is also currently going through this process, or wants to in the future.
    Hope this helps, and I also hope I've made it clear exactly what happened. If anything isn't clear, please let me know, and I'll try again.
    Trent
    Power Mac G5   Mac OS X (10.4.4)  

    PC3200 is fine for that system. The problem was that you were installing the RAM in the wrong slots.
    The RAM must be installed in matched pairs, one in the top, one in the bottom, working out from the middlemost pair.
    Viewed from the side
    ======== Slot J14
    ======== Slot J12
    ======== Slot J11
    ======== Slot J13
    So, one pair of identical parts goes in J11/J12, and another pair goes in J13/J14. Doesn't matter if the bigger pair is first or second.
    This wasn't in the manual for your Mac?
    Quad G5 2.5Ghz 4.5GB 2x250G, PB 15" 1.5Ghz,80G,1.5G   Mac OS X (10.4.4)  

  • Using a SQL for Oracle in Microsoft Excel Query

    I am having the most difficult time (in fact, I can't get it to work) trying to use an SQL I created in Toad for Oracle. It works fine in Toad for Oracle...gives me all the data I need. I am trying to use it in Excel for users that don't know SQL or Oracle so they can use the query to extract data they need for Charts, Graphs, etc.
    Here is the SQL code from Toad for Oracle:
    /* Formatted on 2006/09/22 11:42 (Formatter Plus v4.8.6) */
    SELECT a_compl_summary.incident_number, a_compl_summary.case_number,
           a_compl_summary.part_sequence, a_compl_summary.part_number,
           a_compl_summary.lot_number, a_compl_summary.alert_date,
           a_compl_summary.entry_date, a_compl_summary.NAME,
           a_compl_summary.MONTH, a_compl_summary.product_family,
           a_compl_summary.complaint, a_compl_summary.reportable,
           a_compl_summary.product_returned, a_compl_summary.case_desc,
           a_compl_summary.failure_invest_desc, a_compl_summary.lhr_search,
           a_compl_summary.root_cause, a_compl_summary.corrective_action,
           a_compl_summary.region,
           rp_qa_reported_device_codes.reported_device_code,
           rp_qa_reported_device_codes.reported_dev_clarification,
           rp_qa_reported_device_codes.reported_dev_code_desc,
           rp_qa_patient_codes.patient_code,
           rp_qa_patient_codes.patient_code_clarif,
           rp_qa_patient_codes.patient_code_severity,
           rp_qa_patient_codes.description
      FROM chsuser.a_compl_summary,
           chsuser.rp_qa_patient_codes,
           chsuser.rp_qa_reported_device_codes
    WHERE (    (a_compl_summary.product_division = 'CP')
            AND (    a_compl_summary.entry_date >= :date1
                 AND a_compl_summary.entry_date <= :date2
            AND (   a_compl_summary.product_family LIKE :pf1
                 OR a_compl_summary.product_family LIKE :pf2
                 OR a_compl_summary.product_family LIKE :pf3
                 OR a_compl_summary.product_family LIKE :pf4
                 OR a_compl_summary.product_family LIKE :pf5
            AND (a_compl_summary.region = :r1)
            AND (   a_compl_summary.NAME = :c1
                 OR a_compl_summary.NAME = :c2
                 OR a_compl_summary.NAME = :c3
                 OR a_compl_summary.NAME = :c4
                 OR a_compl_summary.NAME = :c5
            AND (a_compl_summary.complaint = :yorn)
            AND (   rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl1
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl2
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl3
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl4
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                                                                              :cl5
            AND (rp_qa_reported_device_codes.reported_dev_clarification NOT LIKE
                                                                              :dc1
            AND (a_compl_summary.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (a_compl_summary.case_number = rp_qa_patient_codes.case_number)
            AND (a_compl_summary.part_sequence = rp_qa_patient_codes.part_sequence
            AND (a_compl_summary.incident_number =
                                       rp_qa_reported_device_codes.incident_number
            AND (a_compl_summary.case_number =
                                           rp_qa_reported_device_codes.case_number
            AND (a_compl_summary.part_sequence =
                                         rp_qa_reported_device_codes.part_sequence
            AND (rp_qa_reported_device_codes.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (rp_qa_reported_device_codes.case_number =
                                                   rp_qa_patient_codes.case_number
            AND (rp_qa_reported_device_codes.part_sequence =
                                                 rp_qa_patient_codes.part_sequence
           )Can someone help me...maybe point out what I'm doing wrong.
    Note: I also tried creating this query in Microsoft Query (the simple way) and when I first create it...it works...But then if I go back in to edit the query, and refresh the query or try to Return data to Excel, it gives me a ORA-00936 error message.
    Why it works when I first create the query in Excel, I don't know. But I have to validate the queries I'm creating (SQL or not) and I can't validate it if every time I go into edit the query (which may have to happen; that's why I have to fix this before I can submit my validation).
    Anyway, any help would be greatly appreciated.

    Okay, I know I'm replying to my own threads here...but I want to add a little bit more information again.
    I was successful in figuring out that changing the :criteria to a ? worked.
    I tested this on 1 criteria at a time. Adding one more scenario ? at at time.
    It only worked up until about 3 scenarios of each criteria.
    Then when I refreshed the query in Microsoft Excel Query, I got an "out of memory" error, and then it ended up just erasing the SQL I had been using.
    Here's the SQL I had where it gave me this error. Am I possibly just making Excel work too hard? It just doesn't make sense because Toad for Oracle handled it in like 4 seconds. Which brings me back to an intial question I had. Can Excel use Toad for Oracle somehow?
    Here's the code:
    SELECT a_compl_summary.incident_number, a_compl_summary.case_number,
           a_compl_summary.part_sequence, a_compl_summary.part_number,
           a_compl_summary.lot_number, a_compl_summary.alert_date,
           a_compl_summary.entry_date, a_compl_summary.NAME,
           a_compl_summary.MONTH, a_compl_summary.product_family,
           a_compl_summary.complaint, a_compl_summary.reportable,
           a_compl_summary.product_returned, a_compl_summary.case_desc,
           a_compl_summary.failure_invest_desc, a_compl_summary.lhr_search,
           a_compl_summary.root_cause, a_compl_summary.corrective_action,
           a_compl_summary.region,
           rp_qa_reported_device_codes.reported_device_code,
           rp_qa_reported_device_codes.reported_dev_clarification,
           rp_qa_reported_device_codes.reported_dev_code_desc,
           rp_qa_patient_codes.patient_code,
           rp_qa_patient_codes.patient_code_clarif,
           rp_qa_patient_codes.patient_code_severity,
           rp_qa_patient_codes.description
      FROM chsuser.a_compl_summary,
           chsuser.rp_qa_patient_codes,
           chsuser.rp_qa_reported_device_codes
    WHERE (    (a_compl_summary.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (a_compl_summary.case_number = rp_qa_patient_codes.case_number)
            AND (a_compl_summary.part_sequence = rp_qa_patient_codes.part_sequence
            AND (a_compl_summary.incident_number =
                                       rp_qa_reported_device_codes.incident_number
            AND (a_compl_summary.case_number =
                                           rp_qa_reported_device_codes.case_number
            AND (a_compl_summary.part_sequence =
                                         rp_qa_reported_device_codes.part_sequence
            AND (rp_qa_reported_device_codes.incident_number =
                                               rp_qa_patient_codes.incident_number
            AND (rp_qa_reported_device_codes.case_number =
                                                   rp_qa_patient_codes.case_number
            AND (rp_qa_reported_device_codes.part_sequence =
                                                 rp_qa_patient_codes.part_sequence
    AND (a_compl_summary.product_division = 'CP')
            AND (    a_compl_summary.entry_date >= ?
                 AND a_compl_summary.entry_date <= ?
            AND (   a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
                 OR a_compl_summary.product_family LIKE ?
            AND (a_compl_summary.region = ?)
            AND (   a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
                 OR a_compl_summary.NAME = ?
            AND (a_compl_summary.complaint = ?)
            AND (   rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
                 OR rp_qa_reported_device_codes.reported_dev_clarification LIKE
            AND (rp_qa_reported_device_codes.reported_dev_clarification NOT LIKE
               ))

  • How to choose a right server for Oracle Database!

    Hi all,
    Is there any formular that allows me to find the appropriate server configuration for Oracle database 11g?
    Please help!
    Thank you all.
    Dan.
    Edited by: Dan on 01:45 06-01-2013

    Simply put ... no.
    Determining the correct server is a dance between hardware vendors (one point of input to be treated with general distrust), internal expertise and experience working with similar systems, and most importantly understanding the behaviour of what you are building.
    Here are some sample questions to start the ball rolling.
    1. What operating system expertise does your organization have?
    2. What operating system expertise is readily available in the community from which you hire applicants?
    3. What type of application?
    4. What are up-time expectations?
    5. Requirements for high availability?
    6. Requirements for time to perform a full recovery?
    7. Requirements for security?
    8. Storage footprint (dictates internal storage versus SAN, NAS, or ZFS)
    9. Anticipated growth (3-7 years)
    Everyone wants to sell you CPU clock-ticks, more RAM, more IOPS, etc. But the first thing you need to understand is the capabilities you require that are generic: Required of any solution. Only when you have a clear understanding of these factors are you ready to discuss whether the solution is a pizza box or an ODA ... an Exadata or an IBM System Z.
    Far too often I find people purchasing RAM they don't need with CPU speeds that exceed the ability of their network infrastructure to move the data so pay special attention when you are ready to make your purchase to engineered systems like the ODA.

  • During the installation of grid infra(cluster) for Oracle 11.2 RAC one.

    Good Day All, and thanks in advance…
    During the installation of grid infrastructure(cluster) for Oracle 11.2 RAC One Node on AIX6.1 ( PROD) , ASM used. I am getting below errors when executing ./root.sh
    Upon investigation ,I managed to get note: 1068212.1 from the support oracle site ( see below for details) . I might be hitting Unpublished bug 8670579. I also logged Severity 2 SR with Oracle support to get the bug/patch fix and no one has attended the call.
    This might be configuration issue or otherwise , if you have experienced the same issue please assist ? ( if you need more logfiles please feel free to request)….
    I ran the Cluster Verify Check – all passed.
    Many Thanks
    Ezekiel Filane
    /u01/app/11.2.0/grid#./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME= /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2010-10-19 10:33:11: Parsing the host name
    2010-10-19 10:33:11: Checking for super user privileges
    2010-10-19 10:33:11: User has super user privileges
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    User grid has the required capabilities to run CSSD in realtime mode
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'system'..
    Operation successful.
    root wallet
    root wallet cert
    root cert export
    peer wallet
    profile reader wallet
    pa wallet
    peer wallet keys
    pa wallet keys
    peer cert request
    pa cert request
    peer cert
    pa cert
    peer root cert TP
    profile reader root cert TP
    pa root cert TP
    peer pa cert TP
    pa peer cert TP
    profile reader pa cert TP
    profile reader peer cert TP
    peer user cert
    pa user cert
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-2672: Attempting to start 'ora.gipcd' on 'csgipm'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'csgipm'
    CRS-2676: Start of 'ora.gipcd' on 'csgipm' succeeded
    CRS-2676: Start of 'ora.mdnsd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'csgipm'
    CRS-2676: Start of 'ora.gpnpd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'csgipm'
    CRS-2676: Start of 'ora.cssdmonitor' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'csgipm'
    CRS-2672: Attempting to start 'ora.diskmon' on 'csgipm'
    CRS-2676: Start of 'ora.diskmon' on 'csgipm' succeeded
    CRS-2676: Start of 'ora.cssd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'csgipm'
    Start action for daemon aborted
    CRS-2674: Start of 'ora.ctssd' on 'csgipm' failed
    CRS-2679: Attempting to clean 'ora.ctssd' on 'csgipm'
    CRS-2681: Clean of 'ora.ctssd' on 'csgipm' succeeded
    CRS-4000: Command Start failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.ctssd -init
    Start of resource "ora.ctssd -init" failed
    Clusterware exclusive mode start of resource ora.ctssd failed
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    CRS-2500: Cannot stop resource 'ora.asm' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
    Stop of resource "ora.asm -init" failed
    Failed to stop ASM
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'csgipm'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'csgipm'
    CRS-2677: Stop of 'ora.cssd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'csgipm'
    CRS-2677: Stop of 'ora.gpnpd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'csgipm'
    CRS-2677: Stop of 'ora.gipcd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'csgipm'
    CRS-2677: Stop of 'ora.mdnsd' on 'csgipm' succeeded
    Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_csgipm.log for details
    csgipm:/u01/app/11.2.0/grid#ps -ef | grep pmon
    root 6160492 3932160 0 10:54:13 pts/2 0:00 grep pmon
    more /u01/app/11.2.0/grid/log/csgipm/client/ocrconfig_5767204.log
    csgipm:/usr/sbin#more /u01/app/11.2.0/grid/log/csgipm/client/ocrconfig_5767204.log
    2010-10-19 10:33:14.435: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.435: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.435: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.435: [  OCRRAW][1]proprioini: all disks are not OCR/OLR formatted
    2010-10-19 10:33:14.435: [  OCRRAW][1]proprinit: Could not open raw device
    2010-10-19 10:33:14.442: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2010-10-19 10:33:14.461: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
    2010-10-19 10:33:14.461: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
    2010-10-19 10:33:14.461: [ OCRCONF][1]There was no previous version of OCR. error:[PROCL-33: Oracle Local Registry is not configured]
    2010-10-19 10:33:14.461: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.461: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.462: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.462: [  OCRRAW][1]proprioini: all disks are not OCR/OLR formatted
    2010-10-19 10:33:14.462: [  OCRRAW][1]proprinit: Could not open raw device
    2010-10-19 10:33:14.462: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.463: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.483: [  OCRRAW][1]ibctx: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.483: [  OCRRAW][1]proprinit:problem reading the bootblock or superbloc 22
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.484: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.541: [  OCRAPI][1]a_init:6a: Backend init successful
    2010-10-19 10:33:14.646: [ OCRCONF][1]Initialized DATABASE keys
    2010-10-19 10:33:14.650: [ OCRCONF][1]Exiting [status=success]...

    Hi,
    We are also trying to install 11.2.0.2 Grid infrastructure for Oracle RAC One Node on AIX 6.1. We did a POC in our lab environment and after much struggle got that working. Now we are building 4 clusters in the production environment and the first cluster installation failed while running root.sh on node2. We already have a Sev1 ticket open with Oracle Support but have not heard anything.
    Here is root.sh output from node2. The two node names are p01dou416 and p01dou417.
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node p01dou416, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    Failed to start Oracle Clusterware stack
    Failed to start Cluster Synchorinisation Service in clustered mode at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1020.
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    [root@P01DOU417] /u01/app/11.2.0/grid #
    LOG output: /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/ rootcrs_p01dou417.log
    2010-11-13 17:22:14: Successfully started requested Oracle stack daemons
    2010-11-13 17:22:14: Starting CSS in clustered mode
    2010-11-13 17:22:14: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl start resource ora.cssd -init
    2010-11-13 17:32:28: Command output:
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p01dou417'
    CRS-2672: Attempting to start 'ora.gipcd' on 'p01dou417'
    CRS-2676: Start of 'ora.cssdmonitor' on 'p01dou417' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'p01dou417' succeeded> CRS-2679: Attempting to clean 'ora.cssd' on 'p01dou417'
    CRS-2681: Clean of 'ora.cssd' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.diskmon' on 'p01dou417'
    CRS-2677: Stop of 'ora.diskmon' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'p01dou417'
    CRS-2677: Stop of 'ora.gipcd' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'p01dou417'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'p01dou417' succeeded
    CRS-5804: Communication error with agent process
    CRS-4000: Command Start failed, or completed with errors.
    End Command output2010-11-13 17:32:28: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check css
    2010-11-13 17:32:28: Command output:
    CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
    End Command output2010-11-13 17:32:28: Checking the status of css
    2010-11-13 17:32:33: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check css
    2010-11-13 17:32:33: Command output:
    CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
    End Command output2010-11-13 17:32:33: Checking the status of css
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.gipcd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.cssdmonitor' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.gipcd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.cssd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.diskmon' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.diskmon' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2674: Start of 'ora.cssd' on 'p01dou417' failed
    2010-11-13 17:32:38: CRS-2679: Attempting to clean 'ora.cssd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2681: Clean of 'ora.cssd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.diskmon' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.diskmon' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.gipcd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.gipcd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.cssdmonitor' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-5804: Communication error with agent process
    2010-11-13 17:32:38: CRS-4000: Command Start failed, or completed with errors.
    2010-11-13 17:32:38: Failed to start Oracle Clusterware stack
    2010-11-13 17:32:38: ###### Begin DIE Stack Trace ######
    2010-11-13 17:32:38: Package File Line Calling
    2010-11-13 17:32:38: --------------- -------------------- ---- ----------
    2010-11-13 17:32:38: 1: main rootcrs.pl 324 crsconfig_lib::dietrap
    2010-11-13 17:32:38: 2: crsconfig_lib crsconfig_lib.pm 1020 main::__ANON__
    2010-11-13 17:32:38: 3: crsconfig_lib crsconfig_lib.pm 997 crsconfig_lib::start_cluster
    2010-11-13 17:32:38: 4: main rootcrs.pl 697 crsconfig_lib::perform_start_cluster
    2010-11-13 17:32:38: ####### End DIE Stack Trace #######
    2010-11-13 17:32:38: 'ROOTCRS_STACK' checkpoint has failed
    Any help on this is appreciated.
    Edited by: user12019257 on Nov 17, 2010 1:26 PM

  • CDC for Oracle in SQL 2012 not writing updates

    Hello...
    I have set up a CDC for Oracle Service and Instance for use with SQL 2012.  After the instance was started, I inserted six rows of data into my Oracle table and a few minutes later, it looks like the changes were picked up by the service.
    The instance status page contains the following information:
    Status = Green Checkmark
    Detailed Status = PROCESSING
    Last Transaction Timestamp = 7/22/2014 12:11:56 PM
    Last Change Timestamp = 7/22/2014 11:58:35 AM
    Transaction Log Head Change Number = 0x0A2C1C...
    Transaction Log Tail Change Number = 0x0A2C1C... (not the same value as the head)
    Current Change Number = 0x0A2C1C...
    Active Transactions = 1
    Staged Transactions = 0
    Completed Transactions = 0
    Written Changes = 0
    Read Changes = 6
    It looks like the six rows have been read, but they are not being written to cdc.CDC_TEST_TABLE_CT on my SQL 2012 database.
    I exported the diagnostic data using the "Collect Diagnostics" link, but there are no errors in the log.  Is there a primer for how to read the results of the diagnostics?
    I had the following error earlier today:
    "ORACDC517E:Oracle Call Intreface (OCI) method failed: ORA-01291: missing logfile 
    ORA-06512: at "SYS.DBMS_LOGMNR"
    But that error was resolved when my Oracle account was granted DBA and "execute_catalog_role" permissions.
    The account being used for the CDC Service and Instance has dbo rights on the SQL Server.
    Does anyone have an idea what the problem could be?
    Any help would be greatly appreciated.
    Thanks!

    Arthur, thank you for responding.  I appreciate it! :)
    I followed the instructions from Rakesh Parida's video on Technet.  Below are the individual steps I followed for creating the CDC Service and Instance.
    CDC Service Setup:
    I made sure that supplemental logging was enabled on my Oracle server.  I also made sure that my Windows account had DBA and "execute_catalog_role" permissions on the Oracle database.
    From the CDC Service Config MMC I ran Action>Prepare SQL Server which created the MSXDBCDC database.
    I then ran Action>New Service and entered the following information:
    Service name: OracleCDCService1
    Service Account: "This Account" radio button with my Windows username and password information
    Associated SQL Server: <My SQL 2012 Server>
    Authentication: Windows authentication
    I also provided a CDC Service master password.
    CDC Instance Setup:
    Connected to <My SQL 2012 Server> using the CDC Designer MMC
    Went through the steps of creating the Oracle CDC Instance
    Oracle CDC Instance Name = CDC_TEST_SOURCE
    Connected to my Oracle DB using Windows authentication
    Selected a single table that I wanted to try CDC on and left CDC Gating Role blank
    Ran the Oracle Logging script that enables table logging and supplemental log groups on the Oracle DB
    Ran the Status Check step and all passed
    Finished the wizard and started the instance
    A few minutes after the instance was started I added six records to the table in Oracle.
    Please let me know if you need more info.
    Thanks!

  • Installing ArcSDE 9.2 for Oracle version 10G R2 on Windows 2003 x64

    We submitted this question on an ESRI user forum, but we would also like to submit it elsewhere to ensure an answer.
    We are trying to install ArcSDE 9.2 for Oracle. The version of Oracle is 10G R2 (10.2.0.1). The server is a Windows 2003 R2 Enterprise x64 edition with SP1. There are now 2 instances of Oracle on the server, but this problem originally occurred when there was only one instance. The issue: ArcSDE 9.2 apparently installs just fine. There are no error messages during the run of the installation process. However, when the Post-Installation process is called, a critical error alert pops up reporting, "The application failed to start because OCI.dll was not found. Reinstalling the application might fix this problem." ArcSDE has been uninstalled and reinstalled several times. Oracle has been uninstalled and reinstalled several times. Various searches have been made, concerning this error message. On Friday the only ESRI Article we could find mentioning this error was Article ID: 25388 which stated that the "ORA81/bin" directory needed to be added to the PATH environment variable. However, today we found a new ESRI forum entry dated 6/2/2007 with the querystring "c=2&f=1717&t=223961" in which someone reported the need to install the 32 bit Oracle_HOME. However the ESRI Support Center article he referenced, (dated November 14, 2006), stated that the 32 bit Oracle Client needed to be installed to a different Oracle_HOME and the service name created for it, is to be used in the Post-Installation process. And finally our Oracle DBA reported seeing another Support Center Article which stated that the 32 bit versions of the Oracle libraries are installed by default in a different location, and it was only necessary to add that location to the PATH environment variable. I have also seen information on Oracle forums stating that this message means that the Oracle client needed to be installed, but our Oracle DBA reports that this is installed by default with Oracle DB server. My question is of course which if any of these solutions is correct?
    E.R. Joell MCSD MCDBA

    I have managed an ORacle/ArcSDE environment for many years where multiple SIDs were running.
    If it doesn't know which SID then it would indicate that it is picking up the wrong ORACLE_SID environment setting. To be honest, UNIX is an easier environment to operate software in as one can set environment variables to suit software very directly. Now I have not run ArcSDE on a Windows environment before so any suggestions I have may not work as I write them.
    Still, I would suggest you consider writing a CMD/batch script that:
    1. Set all appropriate Oracle environment variables DIRECTLY eg
    SET ORACLE_BASE=c:\oracle\product
    SET ORACLE_HOME=c:\oracle\product\10.2.01
    SET ORACLE_SID=...
    2. Set the ArcSDE environment
    3. Sets the Path to include all Oracle, ArcSDE and required Windows executables
    4. Start the ArcSDE service:
    NET START ESRARCSDE (or whatever this thing is called)
    I suspect if you can get this going you will never go back to any other method of starting and managing ArcSDE (this approach works and works well on UNIX so you will be all skilled up to migrate across to Linux/Solaris etc if you see fit).
    Hope this helps.
    PS I have run ArcSDE against non-supported versions quite successfully over the years so I would say try it against 10.2.0.1 and see what happens.
    regards
    Smon

  • Error in Installing RCU for Oracle Webcenter Content Imaging

    Hi,
    I am comming across this error while installing RCU for Oracle Webcenter Imaging with Mircosoft SQL 2005 as the backend database. I am pasting the IPM.log file below which shows the error during the installation. Please help me from this.
    JDBC SQLException - ErrorCode: 102SQLState:HY000 Message: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Error encountered executing SQL statement  FileName: 'D:\Oracle\middleware\RepositoryCreationUtility\rcuHome\\rcu\integration\\ipm\sql\createschema_ipm_sqlserver.sql' LineNumber: '18'
    SQL Statement: [execute as login = '$(SCHEMA_USER)'
    Rem Copyright (c) 2007, 2013, Oracle and/or its affiliates.
    Rem All rights reserved.
    CREATE TABLE DEFINITION (DEFINITION_ID NUMERIC(19) NOT NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, DEFINITION_TYPE $(RCU_VARCHAR)(16) NULL, DESCRIPTION $(RCU_VARCHAR)(1000) NULL, NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE DEFINITION_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, DEFINITION_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_MANAGE SMALLINT NULL, CAN_MODIFY SMALLINT NULL, CAN_VIEW SMALLINT NULL, PRIMARY KEY (RID, DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE AUDIT_HISTORY (AUDITID NUMERIC(19) NOT NULL, AUDIT_DATE DATETIME NULL, PARAM1 $(RCU_VARCHAR)(255) NULL, PARAM2 $(RCU_VARCHAR)(255) NULL, SUBJECTID NUMERIC(19) NULL, AUDIT_TYPE $(RCU_VARCHAR)(32) NULL, USERNAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (AUDITID));
    CREATE TABLE APP_PROPERTIES (FASTCHECKIN BIT default 0 NULL, FULLTEXTSEARCH BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, NEXTFIELDID NUMERIC(19) NULL, APP_VERSION NUMERIC(19) NOT NULL, REPOSITORY_ID NUMERIC(19) NULL, REPOSITORY_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_FIELDDEFINITION (FIELD_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, INDEXED BIT default 0 NULL, LENGTH INTEGER NULL, NAME $(RCU_VARCHAR)(50) NULL, REQUIRED BIT default 0 NULL, SCALE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, DEFAULTVALUE_TYPE $(RCU_VARCHAR)(255) NULL, DEFAULTVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (FIELD_ID, APP_ID, APP_VERSION));
    CREATE TABLE APP_PICKLIST (PICKLIST_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, FIELD_ID NUMERIC(19) NOT NULL, APP_VERSION NUMERIC(19) NOT NULL, ITEMVALUE_TYPE $(RCU_VARCHAR)(255) NULL, ITEMVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PICKLIST_ID, APP_ID, FIELD_ID, APP_VERSION));
    CREATE TABLE APP_LIFECYCLEPOLICY (APP_ID NUMERIC(19) NOT NULL, RETENTIONPOLICY $(RCU_VARCHAR)(255) NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, APP_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELCONFIG (COMPOSITE $(RCU_VARCHAR)(255) NULL, ENABLED BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, SERVICE_OPERATION $(RCU_VARCHAR)(255) NULL, SERVICE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, CONNECTION_ID NUMERIC(19) NULL, CONNECTION_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELPAYLOADITEM (PAYLOAD_KEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, MAPPINGFUNCTION $(RCU_VARCHAR)(32) NULL, PAYLOAD_VALUE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, XMLTYPE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PAYLOAD_KEY, APP_ID, APP_VERSION));
    CREATE TABLE APP_STORAGESTAGE (SEQNUM NUMERIC(19) NOT NULL, DURATION INTEGER NULL, DURATIONUNIT $(RCU_VARCHAR)(8) NULL, APP_ID NUMERIC(19) NOT NULL, INDEFINITE BIT default 0 NULL, APP_VERSION NUMERIC(19) NOT NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (SEQNUM, APP_ID, APP_VERSION));
    CREATE TABLE DOCUMENT_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, CAN_ANNOTHIDDEN SMALLINT NULL, CAN_ANNOTRESTRICTED SMALLINT NULL, CAN_ANNOTSTANDARD SMALLINT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_LOCKADMINISTRATOR SMALLINT NULL, CAN_VIEW SMALLINT NULL, CAN_WRITE SMALLINT NULL, PRIMARY KEY (RID, APP_ID, APP_VERSION));
    CREATE TABLE INPUT_PROPERTIES (INPUT_ID NUMERIC(19) NOT NULL, ON_LINE BIT default 0 NULL, PRIORITY INTEGER NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_MAPPINGS (INPUT_ID NUMERIC(19) NOT NULL, FILEINPUTSECTION $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_FIELDMAP (SEQNUM NUMERIC(19) NOT NULL, DATEFORMAT $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSECTION $(RCU_VARCHAR)(255) NULL, USEDEFAULT BIT default 0 NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEQNUM, INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCEPROPERTIES (DATASAMPLE $(RCU_VARCHAR)(255) NULL, DATASOURCE $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSOURCE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCESETTING (SETTING_KEY $(RCU_VARCHAR)(255) NOT NULL, INPUT_ID NUMERIC(19) NOT NULL, SETTING_VALUE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SETTING_KEY, INPUT_ID, INPUT_VERSION));
    CREATE TABLE SEARCH_PARAMETER (PARAMETER_ID NUMERIC(19) NOT NULL, DEFAULTOPERATOR INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, OPERATORTEXT $(RCU_VARCHAR)(255) NULL, PICKLISTAPPLICATIONID NUMERIC(19) NULL, PICKLISTFIELDID NUMERIC(19) NULL, PROMPT $(RCU_VARCHAR)(255) NULL, READONLY BIT default 0 NULL, REQUIRED BIT default 0 NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_POSSIBLEOPERATOR (OPERATOR_ID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, OPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETER_ID NUMERIC(19) NULL, PRIMARY KEY (OPERATOR_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID NUMERIC(19) NOT NULL, COLUMNTITLE $(RCU_VARCHAR)(255) NULL, SEARCH_ID NUMERIC(19) NOT NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_SELECTEDFIELD (SELECTEDFIELDID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, PERSISTEDAPPLICATIONID NUMERIC(19) NULL, PERSISTEDFIELDID NUMERIC(19) NULL, PROPERTY INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, RESULT_COLUMN_ID NUMERIC(19) NULL, PRIMARY KEY (SELECTEDFIELDID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_PROPERTIES (SEARCHPROPERTIESID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, MAXROWS INTEGER NULL, ON_LINE BIT default 0 NULL, SEARCHINSTRUCTIONS $(RCU_VARCHAR)(1000) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SEARCHPROPERTIESID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_NODE (SEARCHNODEID NUMERIC(19) NOT NULL, DTYPE $(RCU_VARCHAR)(31) NULL, ALWAYSDISPLAYPARENTHESES BIT default 0 NULL, SEARCH_ID NUMERIC(19) NOT NULL, LEFTID NUMERIC(19) NULL, RIGHTID NUMERIC(19) NULL, SEARCHOPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PROPERTY INTEGER NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEARCHNODEID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_EXPR (APPLICATIONEXPRESSIONID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, ROOTID NUMERIC(19) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPLICATIONEXPRESSIONID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_ITEM (APPITEMID NUMERIC(19) NOT NULL, FIELDDECIMAL BIT default 0 NULL, FIELDSCALE INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, REPOSITORYDOCUMENTID $(RCU_VARCHAR)(255) NULL, REPOSITORYFIELDID $(RCU_VARCHAR)(255) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APPLICATION_ID NUMERIC(19) NULL, APPLICATION_NAME $(RCU_VARCHAR)(255) NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SOURCE_ID NUMERIC(19) NULL, SOURCE_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPITEMID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE PREFERENCES (CONTEXT $(RCU_VARCHAR)(255) NOT NULL, USERGUID $(RCU_VARCHAR)(255) NOT NULL, SETTING $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (CONTEXT, USERGUID));
    CREATE TABLE SYSTEM_SECURITY (SYSTEMAREA $(RCU_VARCHAR)(16) NOT NULL, RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, CAN_ADMINISTOR SMALLINT NULL, CAN_CREATE SMALLINT NULL, PRIMARY KEY (SYSTEMAREA, RID));
    CREATE TABLE BATCH (BATCHID NUMERIC(19) NOT NULL, CREATEDBYPROCESS $(RCU_VARCHAR)(255) NULL, CURRENTSTATE $(RCU_VARCHAR)(255) NULL, ENDTIME DATETIME NULL, FAILEDDOCCOUNT INTEGER NULL, SOURCENAME $(RCU_VARCHAR)(255) NULL, SOURCETIME DATETIME NULL, STARTTIME DATETIME NULL, SUCCESSFULDOCCOUNT INTEGER NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (BATCHID));
    CREATE TABLE TICKETS (TICKET_ID $(RCU_VARCHAR)(255) NOT NULL, EXPIRATION DATETIME NULL, SINGLEUSE BIT default 0 NULL, TICKETEXPIRES BIT default 0 NULL, PRIMARY KEY (TICKET_ID));
    CREATE TABLE TICKETPARAMETERS (ID INTEGER NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PARAMETERVALUE $(RCU_VARCHAR)(255) NULL, PARAM_TICKET_ID $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE CONNECTION_PROPERTIES (CONNECTION_TYPE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE CONNECTION_DETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (DETAILKEY, CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE REPOSITORY_APPCONTEXT (APP_ID NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID));
    CREATE TABLE REPOSITORY_APPDETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (DETAILKEY, APP_ID));
    CREATE TABLE FILINGSTATE (ID INTEGER NOT NULL, BATCHID NUMERIC(19) NULL, DOCUMENTNUMBER NUMERIC(19) NULL, GOODDOCCOUNT NUMERIC(19) NULL, INPUTSOURCENAME $(RCU_VARCHAR)(255) NULL, JOBDATASOURCE $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE BPEL_FAULT_DATA (DOCID $(RCU_VARCHAR)(40) NOT NULL, APPID NUMERIC(19) NULL, BATCHID NUMERIC(19) NULL, FAULTDATE DATETIME NULL, FAULTMESSAGE $(RCU_VARCHAR)(1000) NULL, PRIMARY KEY (DOCID));
    ALTER TABLE DEFINITION_SECURITY ADD CONSTRAINT DFNTONSECURITYDFNTONID FOREIGN KEY (DEFINITION_ID, DEFINITION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PROPERTIES ADD CONSTRAINT APP_PROPERTIES_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_FIELDDEFINITION ADD CONSTRAINT PPFIELDDEFINITIONAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PICKLIST ADD CONSTRAINT APP_PICKLIST_FIELD_ID FOREIGN KEY (FIELD_ID, APP_ID, APP_VERSION) REFERENCES APP_FIELDDEFINITION (FIELD_ID, APP_ID, APP_VERSION);
    ALTER TABLE APP_LIFECYCLEPOLICY ADD CONSTRAINT PPLIFECYCLEPOLICYAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELCONFIG ADD CONSTRAINT APP_BPELCONFIG_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELPAYLOADITEM ADD CONSTRAINT PPBPELPAYLOADITEMAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_BPELCONFIG (APP_ID, APP_VERSION);
    ALTER TABLE APP_STORAGESTAGE ADD CONSTRAINT APP_STORAGESTAGEAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_LIFECYCLEPOLICY (APP_ID, APP_VERSION);
    ALTER TABLE DOCUMENT_SECURITY ADD CONSTRAINT DOCUMENTSECURITYAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_PROPERTIES ADD CONSTRAINT INPUTPROPERTIESINPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_MAPPINGS ADD CONSTRAINT INPUT_MAPPINGSINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_FIELDMAP ADD CONSTRAINT INPUT_FIELDMAPINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_MAPPINGS (INPUT_ID, INPUT_VERSION);
    ALTER TABLE INPUT_SOURCEPROPERTIES ADD CONSTRAINT NPTSURCEPROPERTIESNPTD FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_SOURCESETTING ADD CONSTRAINT NPTSOURCESETTINGNPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_SOURCEPROPERTIES (INPUT_ID, INPUT_VERSION);
    ALTER TABLE SEARCH_PARAMETER ADD CONSTRAINT SARCHPARAMETERSEARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_POSSIBLEOPERATOR ADD CONSTRAINT SRCHPSSBLPERATORPRMTRD FOREIGN KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_PARAMETER (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_RESULTCOLUMN ADD CONSTRAINT SRCHRESULTCOLUMNSRCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_SELECTEDFIELD ADD CONSTRAINT SRCHSLCTDFELDRSLTCLMND FOREIGN KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_PROPERTIES ADD CONSTRAINT SARCHPROPERTIESSARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_NODE ADD CONSTRAINT SEARCH_NODE_SEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_EXPR ADD CONSTRAINT SEARCHAPPEXPRSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_ITEM ADD CONSTRAINT SEARCHAPPITEMSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE TICKETPARAMETERS ADD CONSTRAINT TCKTPRMETERSPRMTCKETID FOREIGN KEY (PARAM_TICKET_ID) REFERENCES TICKETS (TICKET_ID);
    ALTER TABLE CONNECTION_PROPERTIES ADD CONSTRAINT CNNCTNPRPERTIESCNNCTND FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE CONNECTION_DETAILS ADD CONSTRAINT CNNCTNDETAILSCNNCTONID FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE REPOSITORY_APPDETAILS ADD CONSTRAINT RPSITORYAPPDETAILSPPID FOREIGN KEY (APP_ID) REFERENCES REPOSITORY_APPCONTEXT (APP_ID);
    CREATE TABLE SEQUENCE (SEQ_NAME $(RCU_VARCHAR)(50) NOT NULL, SEQ_COUNT NUMERIC(28) NULL, PRIMARY KEY (SEQ_NAME));
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_SECURITY', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_BATCH', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_FILINGSTATE', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_NAMEID', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_TICKET_PARAM', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_AUDIT', 0);
    revert
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Thanks,
    Kumar G

    Hi,
    I just had this messages yesterday during my install.
    You have to update those 2 files:
    <RCU Home>\rcu\integration\ipm\sql\createtables_ipm_sqlserver.sql
    <RCU Home>\rcu\integration\ipm\sql\createuser_ipm_sqlserver.sql
    The first 2 lines begin with "Rem ..." which is not correct for SQL Server : I added "--" and it worked.
    Regards,
    Guénaël

  • Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database

    Hi,
    I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
    Only the Oracle DBA will be running the scripts so permissions is not an issue.
    The workflow for any DDL is as follows:-
    1) New Table
    a. Check if the table exists from the system/admin views.
    b. If table exists then give message "Table Exists"
    c. If table does not exist then execute DDL code
    2) Add Column
    a. Check if Column exists for a given table from system/admin views
    b. If column exists in the specified table,
    b1. backup table.
    b2. alter table to make changes to the column
    b3. verify data or execute dml script convert from backup to the new change.
    c. If Column does not exist
    c1. backup table
    c2. alter table to add column
    c3. execute dml to populate column with default value.
    The DML scripts are for populating base tables with data required for business operations.
    3) Add new row
    a. check if row exists by comparing old values of each column with new values to be added for the new record.
    b. If exists, give message row exists
    c. If not exists, add new record.
    4) Update existing record (We have createtime columns in these tables so changes can be tracked)
    a. check if row exists using primary key.
    b. If exists,
    b1. deactivate the record using the "active" column of the table
    b2. Add new record with the changes required.
    c. If does not exist, add new record with the changes required.
    Could you please help with some ideas which can get this done accurately?
    I have tried several ways, but I am not able to put together something that fulfills all requirements.
    Thank you,

    First let me address your question. (This is the easy part.)
    1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
    2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
    As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
    3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
    Now, to the heart of the matter...
    You think I did not understand your requirements?
    Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
    We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
    Then ponder the following quotations about asking the right question:
    Good questions outrank easy answers.
    — Paul Samuelson
    The only interesting answers are those which destroy the questions.
    — Susan Sontag
    The scientific mind does not so much provide the right answers as ask the right questions.
    — Claude Levi-Strauss
    You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
    — Mahfouz Naguib
    One hears only those questions for which one is able to find answers.
    — Friedrich Nietzsche
    Be patient towards all that is unresolved in your heart and try to love the questions themselves.
    — Rainer Maria Rilke
    What people think of as the moment of discovery is really the discovery of the question.
    — Jonas Salk
    Judge a man by his questions rather than his answers.
    — Voltaire
    The ability to ask the right question is more than half the battle of finding the answer.
    — Thomas J. Watson

  • Oracle 10g AS  pacth for Oracle Apps 11i

    Hi everyone,
    I have installed Oracle 10g AS (10.1.2.0.2) for Oracle Business Intelligence on Sun Solaris 10 (64 bit) and integrated it with Oracle Apps 11i (11.5.10.2).
    Everything seems fine but i am facing problems like
    1) Toolbars not appearing correctly sometimes like it is disabled and enables by itself.
    2)sometimes clients come accross "Connection with Server lost..." error while taking export (very few).
    3) Its giving the error (mentioned at the end) only on one client machine while taking export to Excel.
    I have tried installing Oracle 10g AS patch set 2 10.1.2.2 for Solaris but the problem persisits. Is patch set 2 compatible or certified with Oracle Apps 11i? if not then is there any other work around or do i have to wait for some new patch.
    Thanx for your inputs.
    Najeeb
    Java(TM) Plug-in: Version 1.4.2_06
    Using JRE version 1.4.2_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\ASHIBEL
    Proxy Configuration: Manual Configuration
    Proxy: http=EMRPXY1:80,https=EMRPXY1:80,ftp=EMRPXY1:80,gopher=EMRPXY1:80
    Proxy Overrides: emrpxy1:80,<local>
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Installed custom security manager
    Could not assertPermission PermissionID.SYSTEM for IE
    This can cause "Warning : Applet Window" to be displayed when running with IE
    attempt 1: adding Protocol.protocol -> rmi
    attempt 1: adding default Protocol.timeoutsecs -> 40
    attempt 1: adding RMIProtocol.transport -> http
    attempt 1: adding RMIProtocol.servletalias -> /discoverer/plus
    attempt 1: adding RMIProtocol.hijacksessionid -> 1
    attempt 1: adding RMIProtocol.httpsessionid -> jsessionid=0a43ce3430d605f5e434046d403ea5e9f219eb3784b7.e34QahyNbx0Ka40La3ySahuRbhmOe6fznA5Pp7ftolbGmkTy
    attempt 1: adding default Protocol.codebase -> http://discoverer.emaar.ae:7777/disco/plus_files/
    attempt 2: adding Protocol.protocol -> rmi
    attempt 2: adding default Protocol.timeoutsecs -> 40
    attempt 2: adding RMIProtocol.transport -> https
    attempt 2: adding RMIProtocol.servletalias -> /discoverer/plus
    attempt 2: adding RMIProtocol.hijacksessionid -> 1
    attempt 2: adding RMIProtocol.httpsessionid -> jsessionid=0a43ce3430d605f5e434046d403ea5e9f219eb3784b7.e34QahyNbx0Ka40La3ySahuRbhmOe6fznA5Pp7ftolbGmkTy
    attempt 2: adding default Protocol.codebase -> http://discoverer.emaar.ae:7777/disco/plus_files/
    Discoverer Model - 10.1.2.48.18
    New LOOKUP
    Lookup Requested
    Performing lookup RMI lookup: http://discoverer.emaar.ae:7777//discoverer/plus
    Reading bytes from input stream
    Unmarshalling response
    Session ID:2007061817102717616
    BI Beans Graph version [3.2.2.0.24]
    BI Beans Graph version [3.2.2.0.24]
    The export/print operation failed
    Worker oracle.disco.publish.PublishData@6ffeb, command=ExportData failed with DiscoNetworkException IDL:DCCORBAException:1.0 - Nested exception: oracle.discoverer.corba.DCCORBAException: IDL:DCCORBAException:1.0 wrapping exception oracle.discoverer.corba.DCCORBAException: IDL:DCCORBAException:1.0
    Error: DiscoNetworkException IDL:DCCORBAException:1.0 - Nested exception: oracle.discoverer.corba.DCCORBAException: IDL:DCCORBAException:1.0
    DiscoNetworkException IDL:DCCORBAException:1.0 - Nested exception: oracle.discoverer.corba.DCCORBAException: IDL:DCCORBAException:1.0
    oracle.discoverer.corba.DCCORBAException: IDL:DCCORBAException:1.0
         at oracle.disco.remote.corba.RMIToCorba.convertRemoteException(Unknown Source)
         at oracle.disco.model.corbaserver.ModelInterface._handleGenericExceptions(Unknown Source)
         at oracle.disco.model.corbaserver.ModelInterface.getBinaryData(Unknown Source)
         at oracle.disco.model.corbaserver.ModelInterface.GetBinaryData(Unknown Source)
         at oracle.disco.model.corbaserver.serverrequest.DsrBinaryExport.xmlUpdateServer(Unknown Source)
         at oracle.disco.model.corbaserver.serverrequest.DsrCorbaXML.corbaUpdateServer(Unknown Source)
         at oracle.disco.model.corbaserver.serverrequest.DsrGeneralCorbaXML.updateServer(Unknown Source)
         at oracle.disco.model.corbaserver.execengine.ExecuteEngineImpl._nonReentrantExecute(Unknown Source)
         at oracle.disco.model.corbaserver.execengine.ExecuteEngineImpl.execute(Unknown Source)
         at oracle.disco.model.corbaserver.execengine.SessionControllerImpl.execute(Unknown Source)
    at oracle.disco.model.corbaserver.execengine.SessionControllerImpl.execute(Unknown Source)
         at oracle.disco.model.corbaserver.export.ExportInputStream._readBuffer(Unknown Source)
         at oracle.disco.model.corbaserver.export.ExportInputStream.read(Unknown Source)
         at java.io.InputStream.read(Unknown Source)
         at java.io.BufferedInputStream.fill(Unknown Source)
         at java.io.BufferedInputStream.read(Unknown Source)
         at oracle.disco.publish.PublishData._writeBinaryData(Unknown Source)
         at oracle.disco.publish.PublishData._exportSheets(Unknown Source)
         at oracle.disco.publish.PublishData.runDiscoWorker(Unknown Source)
         at oracle.disco.worker.DiscoWorker.runWorker(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorker.run(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorkerQueue._runWorker(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorkerQueue.access$100(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext._run(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext._runMaybeBlocked(Unknown Source)
         at oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext.run(Unknown Source)
         at oracle.bali.ewt.worker.ThreadWorkerQueue$TaskAdapter.runTask(Unknown Source)
         at oracle.bali.share.thread.TaskScheduler.runTask(Unknown Source)
    at oracle.bali.share.thread.TaskScheduler.processTask(Unknown Source)
         at oracle.bali.share.thread.TaskScheduler$TaskQueue.run(Unknown Source)
         at oracle.bali.share.thread.Timer.doRun(Unknown Source)
         at oracle.bali.share.thread.Timer.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi
    The last I heard is that 10.1.2.2 is not yet certified for use against E-Business Suite unless your operating system is Linux. Please take a look at this posting on Steven Chan's blog: http://blogs.oracle.com/schan/2007/04/23
    The issues you are encountering, particularly the one with the toolbars disappearing, were fixed in patch 5345528 as described on my blog here: http://learndiscoverer.blogspot.com/2006/08/more-to-toolbar-icons-graying-out.html
    I would advise you to go for this patch first until Oracle certify 10.1.2.2. for Sun.
    Best wishes
    Michael

Maybe you are looking for

  • Open Work Order settlement - KO8G or KO88

    Hi, I am facing an issue with open work order settlement using KO8G or KO88. We are on 6.0 and PSM turned and New GL activated with a document splitting on fund mandatory flag turned on. When open work orders undergo WIP calculation through KKAI, it

  • How can I use the Diadem FFT Analysis GUI to give me multiple outputs given multiple inputs?

    I have a few hundred channels I would like to perform FFT analysis on. They are mostly of different lengths, but I know I will have groups of 7 that will have the same number of data points. The default GUI will accept those 7 sets since they are the

  • GUI_DOWNLOAD problems with CR+LF when transfering from unicode system

    Hi, I was successfuly used FM GUI_DOWNLOAD in a non-unicode systems for years. Lately I faced a challenge to rewrite my code for a unicode system. The configuration is: - SAP R/3 unicode system; - data to be downloaded at presentation server in a non

  • I tried to uninstall Adobe Acrobat 8 Professional big mistake.

    I tried to uninstall Adobe Acrobat 8 Professional that came on my computer Windows Vista. I did this because every time I wanted to view a document a screen pops up saying I have to buy it. I do not wish to purchase this. I now get an error 1310.  I

  • Middle mouse to pan an image?

    I would like the middle mouse button to pan, and drag the image, and can't believe it hasn't been done yet, or has it? While searching the web to find out if this was possible, I came across many old  threads requesting this feature. I have the Razer