Oracle VM performance issues on OVS 2.2 - java 64bit (jre 1.6) applications

In an effort to move to pvt cloud & thanks to Oracle's database licensing policy on vm's we have decided to use Oracle Virtual Server as the hypervisor, OEL5+ as the database OS, and 11GR2 Grid Single Node RAC with ASM as the database. Our application can be on RHEL5+ or OEL5+ doesnt matter.
Here is my configuration (at present all componets running on only 1 physical server) :
1. OVS 2.2 on BL465G6 with 32G memory, primary storage repository is off fiber channel from a 3PAR array.
2. 40G individual LUNs physical disks presented to all application servers (Now i was using shared virtual disks & image files with file: driver and then blktap driver, for both performance sucks with file:driver being worst). I have tried OEL5+ templates, with RHEL5+ para virtualized OS as the current one.
3. On database side --> ASM disks are physical as well (just converted). Overall, the only filebased images off the repository is one of the middleware servers (MQ) , loadbalancer (Zeus) and Routing Software (Vyatta)
We are running a loadrunner test and here are the following results.
Perf App : physical linux box running appl
Perf DB : physical solaris box running db
Cloud App : RHEL5 paravirtualized vm on phy: disk
Cloud DB : Oracle 11GR2 1 node Rac , Grid Installation , ASM disks are physical , OCR/Vote disks are physical
Perf App with Perf DB     Cloud App with Perf DB     Cloud App with Cloud DB
140.08s     219.432s     226.476s
Also, i have noticed during the test only 1 vCPU is utilized. remaining stay idle.
I have run several disk benchmarking tests to determine that phy: disk presented is the best option for reads and writes. I have also run tcpdump and removed the loadbalancer and routing software out of the equation by creating a flat single subnet network amongst the appl and dB (both running on the same physical server). Tcpdump shows not much fragmentation or re-transmission and shows a similar pattern what we would see in the physical environment. The application version/ java & jre version is same on both the vm and physical server. Only difference is dB (in physical world it runs on Solaris, here it is running on OEL vm)
Note : On the OEL templates NUMA was turned off. turning that ON yielded an overall performance gain of 30%. Now i need to fine tune further. So my questions based upon my observations are :
1. vCPU calibration : Can i pin 1 physical CPU to 1 vCPU ? How does this scheduling happen or controlled.
2. Why is only vCPU showing utilization while all others stay idle. I have 4 to 6 vCPUs per vm
3. Any tuning to be done at the OVS layer?
4. Any tuning to be done at the vm's. (Note in our physical environment, apart from hardening the OS and stripping off unnecesarry rpm's we do not modify the kernel neither do we modify any TCP and/or memory buffer parameters)
Oracle support is spending days trying to figure out my issue. I have uploaded OSWatcher data so many times. I need to escalate the case but i have always received better support & information, yet quick from the forum. Any pointers would be helpful.

What are you missing?
I inherited this app and signing the third party jars is how it was setup, I was wondering the same thing too, why was it necessary to sign the third party jars?
The applet runs in either JRE 1.6.0_13 or JRE 1.6.0_27 depending on the other Java apps the user uses. JRE 1.6.0_13 does not have the mixed code security (so it is like is disable), but JRE 1.6.0_27 does have the mixed code security and the applet will not launch with mixed code security enable, so we have to disable it. With all the hacking going on in the last two years, is important to improve security; so this is a must.
Yes, I always clear up the cache.
Any idea on how to resolve this problem?

Similar Messages

  • Oracle 10g performance issues

    Hi,
    We were using Oracle 9i in Solaris 5.8 and it was working fine with some minor performance issues. We formatted the Solaris server with new Solaris 5.10 and installed Oracle 10g.
    Now we are experiencing some performance issues in Oracle 10g. This issue is arising when using through Websphere 5.1.
    We have analyzed the schema, index is rebuild, SGA is 4.5 GB, PGA is 2.0 GB, Solaris RAM is 16 GB. Also we are having some Mat Views (possibly this may cause performance issues - not sure) due to refresh.
    Also I have changed some parameters in init.ora file like query_rewrite = STALE_TOLERATED, open_cursors = 1500 etc.
    Is is something due to driver from which the data is accessed. I guess it is not utilizing the indexes on the table.
    Can anyone please suggest, what could be the issue ?

    <p>There are a lot of changes to the optimizer in the upgrade from 9i to 10g, and you need to be aware of them. There are also a number of changes to the default stats collection mechanism, so after your upgrade your statistics (hence execution paths) could change dramatically.
    </p>
    <p>
    Greg Rahn has a useful entry on his blog about stats collection, and the blog al,so points to an Oracle white paper which will give you a lot of ideas about where the optimizer changes - which may help you spot your critical issues.
    </p>
    <p>Otherwise, follow triggb's advice about using Statspack to find the SQL that is the most expensive - it's reasonably likely to be this SQL that has changed execution plans in the upgrade.
    </p>
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • Oracle 9i Performance Issue High Physical Reads

    Dear All,
    I have Oracle 9i Release 9.2.0.5.0 database under HP Unix, I have run the query and got following output. Can any body just have a look and advise what to do in the following situation? We have performance issues.
    Many thanks in advance
    Buffer Pool Advisory for DB: DBPR Instance: DBPR End Snap: 902
    -> Only rows with estimated physical reads >0 are displayed
    Size for Size Buffers for Est Physical Estimated
    P Estimate (M) Factr Estimate Read Factor Physical Reads
    D 416 .1 51,610 4.27 1,185,670,652
    D 832 .2 103,220 2.97 825,437,374
    D 1,248 .3 154,830 2.03 563,139,985
    D 1,664 .4 206,440 1.49 412,550,232
    D 2,080 .5 258,050 1.32 366,745,510
    D 2,496 .6 309,660 1.23 340,820,773
    D 2,912 .7 361,270 1.14 317,544,771
    D 3,328 .8 412,880 1.09 301,680,173
    D 3,744 .9 464,490 1.04 288,191,418
    D 4,096 1.0 508,160 1.00 276,929,627

    Hi,
    Actually you didnt give the exact problem statement.
    Seems to be your database is I/O bound. Ok, do the following one by one:
    1. Identify the FTS queries and try to create the optimal indexes (depending on the disk reads factor!!) on the problem queries.
    2. To reduce the 276M physical reads, you need to allocate more memory to db_cache_size. try 8GB (initially) and then depending on the buffer advisery you can increase further if you have more memory on the box.
    3. as a Next step , configure KEEP and RECYCLE cache to get the benefits of reduced I/O by multiple pools. Allocate objects to the KEEP/RECYCLE pools.
    Thanks,

  • Oracle 11g Performance Issue

    We have Oracle 11g (11.1.0.6) on HP-UX environment with CC&B application. It was working fine and after we upgrade the database to 11.1.0.7 last week, since then the database performance is really slow. After we upgrade the database we notice that xdb component became invalid.
    We are not sure how to investigate this issue, any help would be appreciated.

    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
    CCBPROD       3218377102 ccbprod             1 10-Jan-12 20:26 11.1.0.7.0  NO
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    huccbhp5         HP-UX IA (64-bit)                   4     4       2      23.97
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     43912 11-Jan-12 10:00:31       157      96.1
      End Snap:     43913 11-Jan-12 11:00:35       186     101.3
       Elapsed:               60.08 (mins)
       DB Time:              653.40 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:    12,160M    12,096M  Std Block Size:         8K
               Shared Pool Size:       704M       704M      Log Buffer:    58,764K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):               10.9                0.5       0.02       0.02
           DB CPU(s):                3.6                0.2       0.01       0.01
           Redo size:          529,539.6           24,544.1
       Logical reads:          155,545.5            7,209.5
       Block changes:            2,047.0               94.9
      Physical reads:              204.6                9.5
    Physical writes:               96.0                4.5
          User calls:              698.7               32.4
              Parses:               77.8                3.6
         Hard parses:                0.1                0.0
    W/A MB processed:          406,873.3           18,858.5
              Logons:                0.4                0.0
            Executes:              456.1               21.1
           Rollbacks:               19.6                0.9
        Transactions:               21.6
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:   99.97
                Buffer  Hit   %:   99.87    In-memory Sort %:  100.00
                Library Hit   %:   99.93        Soft Parse %:   99.89
             Execute to Parse %:   82.95         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:    0.01     % Non-Parse CPU:   99.93
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   89.78   90.02
        % SQL with executions>1:   86.04   84.87
      % Memory for SQL w/exec>1:   86.22   86.03
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    virtual circuit wait              2,170,696      15,761      7   40.2 Network
    DB CPU                                           13,115          33.5
    db file sequential read             362,802       6,304     17   16.1 User I/O
    enq: TX - row lock contention           115       1,118   9721    2.9 Applicatio
    log file sync                         8,183         818    100    2.1 Commit
    Host CPU (CPUs:    4 Cores:    4 Sockets:    2)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    3.28      3.93      93.1       2.3       2.8       4.6
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:  91.1
                  % of busy  CPU for Instance:  95.4
      %DB time waiting for CPU - Resource Mgr:   0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     24,545.7     24,545.7
                       SGA use (MB):     13,312.0     13,312.0
                       PGA use (MB):        935.9        949.3
        % Host Mem used for SGA+PGA:        58.05        58.05

  • RCA for Oracle RAC Performance Issue

    Hi DBAs,
    I have setup a 2 node Oracle RAC 10.2.0.3 on Linux 4.5 (64 bit) with 16 GB memory and 4 dual core CPUs each. The database is serving a web application but unfortunately the system is at its knees. The performance is terrible. The storage is a EMC SAN but ASM is not implemented with a fear to further degrade the performance or not to complicate the system further.
    I am seeking the expert advises from some GURUs from this forums to formulate the action plan to do the root cause analysis to the system and database. Please advise me what tools I can use to gather the information about the Root Cause. AWR Report is not very helpful. The system stats with top, vmstat, iostat only show the high resource usage but difficult to find the reason. OEM has configured and very frequently report all kind of high wait events.
    How I can use effectively find Network bottle necks (netstat command which need to be really helpful to understand).
    How I can see the system I/O (iostats) which can provide me some useful information. I don't understand what sould be the baseline or optimal values to compare the I/O activities.
    I am seeking help and advised to diagnose the issue. I also want to represent this issue as a case study.
    Thanks
    -Samar-

    First of all, RAC is mainly suited for OLTP applications.
    Secondly, if your application is unscalable (it doesn't use bind variables and no SQL statements have been tuned and/or it has been ported from Sukkelserver 200<whatever>) running it against RAC will make things worse.
    Thirdly: RAC uses a chatty Interconnect. If you didn't configure the Interconnect properly,and/or are using slow Network cards (1 Gb is mandatory), and/or you are not using a 9k MTU on your 1 Gb NIC, this again will make things worse.
    You can't install RAC 'out of the box'. It won't perform! PERIOD.
    Fourthly: you might suffer from your 'application' connecting and disconnecting for every individual SQL statement and/or commit every individual INSERT or UPDATE.
    You need to address this.
    Using ADDM and/or AWR is compulsory for analysing the problem, and/or having read Cary Millsaps book on Optimizing Oracle performance is compulsory.
    You won't come anywhere without AWR and OS statistics will not provide any clue.
    Because, paraphrasing William Jefferson Clinton, former president of the US of A:
    It's the application, stupid.
    99 out of 100 cases. Trust me. All developers I know currently are 100 percent clueless.
    That said, if you can't be bothered to post the top 5 AWR events, and you aren't up to using AWR reports, maybe you should hire a consultant who can.
    Regards,
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 9i performance issue

    Dear All,
    We are recently migrate  sap 4.6c /oracle9i/AIX5.3  IBM power 5 to IBM Power 7 server  issue is that the report that run around 40 minute it will take more then 6 hour I donu2019t know what is wrong how to tune that server one thing I also done that I used sap profile and oracle database parameter same but no solution , also run table query from sqlplus it is also take too much time
    background process DBWR0 and others show following error
    2011-03-12 14:08:17.653
    SESSION ID:(2.1) 2011-03-12 14:08:17.650
    Warning: lio_listio returned EAGAIN
    Performance degradation may be seen
    and also all work process
    please also send me tips to improve sap and oracle performance
    regards
    rayyan shahid

    Hi,
    Warning: lio_listio returned EAGAIN*
    *Performance degradation may be seen
    Such warnings can occur if maxreqs or maxservers parameters are set too low at OS level.
    Along with the above suggested SAP Note , refer these useful document [Oracle Architecture and Tuning on AIX|http://www-03.ibm.com/support/techdocs/atsmastr.nsf/5cb5ed706d254a8186256c71006d2e0a/bae31a51a00fa0018625721f00268dc4/$FILE/Oracle%20Architecture%20and%20Tuning%20on%20AIX%20%28v%202.0%29.pdf]. to get more detailed information on some other required configuration settings at ORACLE level as well as on AIX OS level.
    Regards,
    Bhavik G. Shroff

  • Oracle 11g performance issue ( BITMAP CONVERSION TO ROWIDS)

    I have two instance of oracle 11g.
    in both instance i fired same query.
    one instance returns the result in 1sec but other instance returns the result in 10 sec
    following is explain plan for bot instance
    instance 1
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 143 | 59 (2)| 00:00:01 |
    | 1 | HASH GROUP BY | | 1 | 143 | 59 (2)| 00:00:01 |
    | 2 | VIEW | VM_NWVW_2 | 1 | 143 | 59 (2)| 00:00:01 |
    | 3 | HASH UNIQUE | | 1 | 239 | 59 (2)| 00:00:01 |
    | 4 | NESTED LOOPS | | | | | |
    | 5 | NESTED LOOPS | | 1 | 239 | 58 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    | 6 | NESTED LOOPS | | 1 | 221 | 57 (0)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 210 | 55 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 184 | 54 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 158 | 53 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 139 | 52 (0)| 00:00:01 |
    | 11 | NESTED LOOPS | | 1 | 105 | 50 (0)| 00:00:01 |
    |* 12 | INDEX RANGE SCAN | year_field | 1 | 29 | 2 (0)| 00:00:01 |
    | 13 | SORT AGGREGATE | | 1 | 8 | | |
    | 14 | INDEX FULL SCAN (MIN/MAX)| idx_bf_creation_date | 1 | 8 | 2 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID| OHRT_bugs_fact | 1 | 76 | 48 (0)| 00:00:01 |
    |* 16 | INDEX RANGE SCAN | idx_bf_creation_date | 76 | | 1 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    |* 17 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 34 | 2 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 19 | 1 (0)| 00:00:01 |
    |* 20 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | bugseverity_instance_id_ref_id | 1 | 26 | 1 (0)| 00:00:01 |
    |* 22 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | 26 | 1 (0)| 00:00:01 |
    | 23 | INLIST ITERATOR | | | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 11 | 2 (0)| 00:00:01 |
    |* 25 | INDEX UNIQUE SCAN | SYS_C0053213 | 5 | | 1 (0)| 00:00:01 |
    |* 26 | INDEX RANGE SCAN | FK_BUCKET_TYPE | 6 | | 0 (0)| 00:00:01 |
    |* 27 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 18 | 1 (0)| 00:00:01 |
    instance 2
    Plan
    SELECT STATEMENT ALL_ROWS Cost: 22 Bytes: 142 Cardinality: 1
    32 HASH GROUP BY Cost: 22 Bytes: 142 Cardinality: 1
    31 VIEW VIEW SYS.VM_NWVW_2 Cost: 22 Bytes: 142 Cardinality: 1
    30 HASH UNIQUE Cost: 22 Bytes: 237 Cardinality: 1
    29 NESTED LOOPS
    27 NESTED LOOPS Cost: 21 Bytes: 237 Cardinality: 1
    25 NESTED LOOPS Cost: 20 Bytes: 219 Cardinality: 1
    21 NESTED LOOPS Cost: 18 Bytes: 208 Cardinality: 1
    19 NESTED LOOPS Cost: 17 Bytes: 183 Cardinality: 1
    17 NESTED LOOPS Cost: 16 Bytes: 157 Cardinality: 1
    14 NESTED LOOPS Cost: 15 Bytes: 138 Cardinality: 1
    11 NESTED LOOPS Cost: 13 Bytes: 104 Cardinality: 1
    3 INDEX RANGE SCAN INDEX REPORTSDB.year_field Cost: 2 Bytes: 29 Cardinality: 1
    2 SORT AGGREGATE Bytes: 8 Cardinality: 1
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    10 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_bugs_fact Cost: 13 Bytes: 75 Cardinality: 1
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    4 INDEX RANGE SCAN INDEX REPORTSDB.idx_OHRT_bugs_fact_2product Cost: 2 Cardinality: 85
    7 BITMAP CONVERSION FROM ROWIDS
    6 INDEX RANGE SCAN INDEX REPORTSDB.idx_bf_creation_date Cost: 2 Cardinality: 85
    13 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 2 Bytes: 34 Cardinality: 1
    12 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    16 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 1 Bytes: 19 Cardinality: 1
    15 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    18 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Bytes: 26 Cardinality: 1
    20 INDEX RANGE SCAN INDEX REPORTSDB.bugseverity_instance_id_ref_id Cost: 1 Bytes: 25 Cardinality: 1
    24 INLIST ITERATOR
    23 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 2 Bytes: 11 Cardinality: 1
    22 INDEX UNIQUE SCAN INDEX (UNIQUE) OPSHUB.SYS_C0040939 Cost: 1 Cardinality: 5
    26 INDEX RANGE SCAN INDEX OPSHUB.FK_BUCKET_TYPE Cost: 0 Cardinality: 6
    28 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 1 Bytes: 18 Cardinality: 1
    in both explain plan only difference is
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    but is bitmap degrading performance lot?
    or suggest me what other parameter i can see so 2nd instance gives me better performace.

    I see more differences.
    In plan 1:
    * 16      INDEX RANGE SCAN      idx_bf_creation_date      76           1 (0)     00:00:01
    in Plan 2:
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    So this is not about "bitmap" good/bad, it about the access strategy which changed due to differences in data statistics etc. To analyze more, I'd help a LOT if those plans would be formated in a good and same way, use around it to do so.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle XQuery performance issue in XMLType column

    Dear All,
    As for oracle I'm using oracle 11g to measure the performance.
    I'm using data from XMark project which is a >100MB data of XML for bencmarking purposes.
    I make a table that contains an XMLType column and upload the data into that column, after doing that I try to do a query like this:
    select xmlquery(
    'for $i in /site/people/person
    where $i/id = "person0"
    return $i/name'
    passing BookXMLContent Returning Content)
    from Book;
    The purpose of this query is to retrieve the name of a person that have id = 'person0'
    My questions are:
    1. Did I do something wrong with my query?
    2. Is there any setting on the database that I should done prior to doing the query to done significantly better result?
    3. Is there any other approach that are much better than I currently used?
    Regards,
    Anthony Steven
    Edited by: mdrake on Nov 4, 2009 6:01 AM

    Anthony
    First, please read the licencing terms for Oracle ( And I suspect DB2, MSFT) . You are not allowed to publish externally (in any form, including forum posts :) ) the results of any benchmarking activities. I have edited your post accordingly. I hope this research is not part of a thesis or similar work that would intend making public as you and your institution would be in violation of your licence agreeement were you to do so.
    Now back to your question, how can you improve performance for XMark
    #1. Can you show us the create table statement you used, so we can see how you created your XMLType column BOOKXMLCONTENT.
    #2. Did you create any indexes
    #3. Did you look at the explain plan output.
    -Mark
    Edited by: mdrake on Nov 4, 2009 6:06 AM

  • Oracle apps performance issue

    Dear All,
    i recenlty cloned an environment on a new server, i can access oracle apps with fine speed once you select a reponsbility and the java take lots of time to open when you are in oracle application (Oracle forms) from there it works so slow even a single click take 1 min or so.
    please let me know how can i troubleshoot and improve performance specially once the java opens the oracle forms
    OS: OEL 5.5
    APPS : R12 (12.1.3)
    DB : 11G R1
    Single node environment.
    Please advise Regards,
    Hassan

    i recenlty cloned an environment on a new server, i can access oracle apps with fine speed once you select a reponsbility and the java take lots of time to open when you are in oracle application (Oracle forms) from there it works so slow even a single click take 1 min or so.What is the SGA size?
    Did you run "Gather Schema Statistics" after the clone?
    please let me know how can i troubleshoot and improve performance specially once the java opens the oracle formsPerformance Tuning
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Performance+AND+Tuning&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Oracle 8i performance issue

    We updagraded oracle 7.3 to oracle 8.1.7 and we have an application running on it is with JAVA-web based.
    Now after we upgraded the database we are in problem of performance. When one user is using application and other user start using sqlplus to browse the same database that application is get frized. also some one else start using application the first one get frized.
    I dont know why it happened...
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by guest:
    Hi
    Would you tell us about the specifications of you server. The amount of memory is very important. I should suggest that you should have your server about 512MB or 1024MB memory installed.<HR></BLOCKQUOTE>
    null

  • Oracle 11gR2 Performance Issue

    We have Oracle 11gR2 (11.2.0.2) database on HP-UX for GIS application.
    We recently upgraded this database from 10g to 11gR2, Everything is working good, no issue expect one month end process. This process hung because of Library Cache Wait (Concurrency). Whenever we start this process the Library Cache Wait is increasing and the process is not completing.
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   99.49    In-memory Sort %:  100.00
                Library Hit   %:   22.90        Soft Parse %:   84.22
             Execute to Parse %:   41.06         Latch Hit %:   98.80
    Parse CPU to Parse Elapsd %:   26.78     % Non-Parse CPU:   79.40
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   76.07   67.50
        % SQL with executions>1:   97.69   89.31
      % Memory for SQL w/exec>1:   97.20   98.96
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    library cache lock                3,459,453      12,400      4   55.2 Concurrenc
    DB CPU                                            7,840          34.9
    cursor: mutex S                     811,819         933      1    4.2 Concurrenc
    cursor: pin S wait on X              21,339         813     38    3.6 Concurrenc
    db file sequential read              42,997         158      4     .7 User I/O
    ^LHost CPU (CPUs:    4 Cores:    4 Sockets:    1)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    0.06      1.76      53.0       1.3       1.0      45.8
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      54.3
                  % of busy  CPU for Instance:     100.1
      %DB time waiting for CPU - Resource Mgr:       0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     32,666.4     32,666.4
                       SGA use (MB):      3,504.0      3,504.0
                       PGA use (MB):        278.2        324.2
        % Host Mem used for SGA+PGA:        11.58        11.72

    I used catupgrd.sql script to upgrade the database, installed 11g on same server in different home and used catupgrd.
    Parameter Value_
    SQL> show parameter opt
    NAME_COL_PLUS_SHOW_PARAM                           TYPE                             VALUE_COL_PLUS_SHOW_PARAM
    filesystemio_options                               string                           DIRECTIO
    object_cache_optimal_size                          integer                          102400
    optimizer_capture_sql_plan_baselines               boolean                          FALSE
    optimizer_dynamic_sampling                         integer                          2
    optimizer_features_enable                          string                           11.2.0.2
    optimizer_index_caching                            integer                          0
    optimizer_index_cost_adj                           integer                          100
    optimizer_mode                                     string                           ALL_ROWS
    optimizer_secure_view_merging                      boolean                          TRUE
    optimizer_use_invisible_indexes                    boolean                          FALSE
    optimizer_use_pending_statistics                   boolean                          FALSE
    optimizer_use_sql_plan_baselines                   boolean                          TRUE
    plsql_optimize_level                               integer                          2
    SQL>
    SQL>
    SQL> show parameter cursor
    NAME_COL_PLUS_SHOW_PARAM                           TYPE                             VALUE_COL_PLUS_SHOW_PARAM
    cursor_bind_capture_destination                    string                           memory+disk
    cursor_sharing                                     string                           SIMILAR
    cursor_space_for_time                              boolean                          FALSE
    open_cursors                                       integer                          2000
    session_cached_cursors                             integer                          200
    SQL>
    SQL> select * from ( select SQL_ID,VERSION_COUNT,EXECUTIONS from v$sqlarea order by VERSION_COUNT desc) where rownum<=20;
    SQL_ID        VERSION_COUNT EXECUTIONS
    0ynhd4qz3avdh          6453       9198
    b1kg0nth4ax9f          6410      15348
    7qscuaqtt32zb          4449      17243
    duntdcykba52p          2815       1325
    g06n424cwup4m          2457       2492
    2zgfq8kqqzcm7          1911       1205
    b67j985tf4gsw          1868       1740
    bmn1m6x3hq8cm          1467        155
    fdcvny2d9d6kw           783        405
    fphtsy5rd9gkq           401      21702
    771v4ntn6mqhg           293      12174
    g3dqmahsk5t8f           195       8200
    fhrh7858qhrm3           135       2454
    8xx3nxsndzyar           112        222
    f280fzy0a1bsb            70        263
    5rn144gqjkv53            64        125
    0v3dvmc22qnam            59         53
    f37373tqsbqhz            55         38
    f1gu4r0wbhfn3            44         81
    dcc7g533zymtm            41         83
    SQL ordered by Version Count - From AWR Report_
    SQL ordered by Version Count     DB/Inst: GISPROD/gisprod  Snaps: 23062-23063
    -> Only Statements with Version Count greater than 20 are displayed
    Version
      Count   Executions     SQL Id
       4,449        8,543 7qscuaqtt32zb
    Module: gsrvr.exe
    SELECT V__276.*, SHAPE.fid,SHAPE.numofpts,SHAPE.entity,SHAPE.points,SHAPE.row
    id FROM (SELECT b.OBJECTID,b.ENABLED,b.SHAPE FROM ARCFM.Electric_Network_Juncti
    ons b WHERE b.OBJECTID NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID FROM ARC
    FM.D276 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE
       2,940          N/A 0ynhd4qz3avdh
    SELECT OBJECTID, ENABLED, CREATIONUSER, DATECREATED, DATEMODIFIED, LASTUSE
    R, SUBTYPECODE, PHASINGCODE, FEEDERID, FEEDERID2, OPERVOLT, NEUTTYPE, NEU
    TSIZE, LOCATIONID, ASSEMBLYCODE, LENGTH, LENGTHSRC, COMMENTS, FDRMGRNONTRA
    CEABLE, LABELTEXT, ELECTRICTRACEWEIGHT, FEEDERINFO, RATEDVOLT, CONDUITFLG,
       2,006          N/A b1kg0nth4ax9f
    SELECT V__159.*, SHAPE.fid,SHAPE.numofpts,SHAPE.entity,SHAPE.points,SHAPE.row
    id FROM (SELECT b.OBJECTID,b.ANCILLARYROLE,b.ENABLED,b.CREATIONUSER,b.DATECREATE
    D,b.DATEMODIFIED,b.LASTUSER,b.SUBTYPECODE,b.FACILITYID,b.LOCATIONID,b.PHASINGCOD
    E,b.OPERATINGVOLTAGE,b.FEEDERID,b.FEEDERID2,b.ASSEMBLYCODE,b.COMMENTS,b.SYMBOLRO
       1,765           65 duntdcykba52p
    Module: gsrvr.exe
    SELECT SWITCHTYPE FROM (SELECT b.OBJECTID,b.CREATIONUSER,b.DATECREATED,b.DATEM
    ODIFIED,b.LASTUSER,b.FACILITYID,b.PHASINGCODE,b.MANUFACTURER,b.SUBTYPECODE,b.SWI
    TCHID,b.SWITCHTYPE,b.SWITCHRATING,b.LEGACYSWITCHID,b.WORKREQUESTID,b.DESIGNID,b.
    WORKLOCATIONID,b.WORKFLOWSTATUS,b.WORKFUNCTION FROM ARCFM.SwitchUnit b WHERE b.
       1,467           19 bmn1m6x3hq8cm
    Module: gsrvr.exe
    select privilege from user_sys_privs where privilege in (:"SYS_B_0",:"SYS_B_1",:
    "SYS_B_2",:"SYS_B_3") UNION select privilege from role_sys_privs where privilege
    in (:"SYS_B_4",:"SYS_B_5",:"SYS_B_6",:"SYS_B_7")
       1,467           19 bmn1m6x3hq8cm
    Module: gsrvr.exe
    select privilege from user_sys_privs where privilege in (:"SYS_B_0",:"SYS_B_1",:
    "SYS_B_2",:"SYS_B_3") UNION select privilege from role_sys_privs where privilege
    in (:"SYS_B_4",:"SYS_B_5",:"SYS_B_6",:"SYS_B_7")
         991          N/A 2zgfq8kqqzcm7
    SELECT OBJECTID, ENABLED, CREATIONUSER, DATECREATED, DATEMODIFIED, LASTUSE
    R, SUBTYPECODE, PHASINGCODE, FEEDERID, FEEDERID2, OPERVOLT, NEUTTYPE, NEU
    TSIZE, LOCATIONID, ASSEMBLYCODE, LENGTH, LENGTHSRC, COMMENTS, FDRMGRNONTRA
    CEABLE, LABELTEXT, ELECTRICTRACEWEIGHT, FEEDERINFO, RATEDVOLT, CONSTR, PHA
    Active Session History
    ASH Report For GISPROD/gisprod
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    GISPROD       1774954232 gisprod             1 11.2.0.2.0  NO  hublhp9
    CPUs           SGA Size       Buffer Cache        Shared Pool    ASH Buffer Size
       4      4,078M (100%)     1,168M (28.6%)     1,933M (47.4%)              M (%)
              Analysis Begin Time:   06-Feb-12 08:00:00
                Analysis End Time:   06-Feb-12 08:01:00
                     Elapsed Time:         1.0 (mins)
                Begin Data Source:   DBA_HIST_ACTIVE_SESS_HISTORY
                                     in AWR snapshot 23062
                  End Data Source:   DBA_HIST_ACTIVE_SESS_HISTORY
                                     in AWR snapshot 23063
                     Sample Count:           2
          Average Active Sessions:        0.33
      Avg. Active Session per CPU:        0.08
                    Report Target:   None specified
    Top User Events              DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                                                                   Avg Active
    Event                               Event Class        % Event   Sessions
    CPU + Wait for CPU                  CPU                  50.00       0.17
    Top Background Events        DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                                                                   Avg Active
    Event                               Event Class     % Activity   Sessions
    CPU + Wait for CPU                  CPU                  50.00       0.17
    Top Event P1/P2/P3 Values    DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Service/Module           DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
    Service        Module                   % Activity Action               % Action
    SYS$BACKGROUND MMON_SLAVE                    50.00 Auto-Flush Slave A      50.00
    SYS$USERS      ArcMap.exe                    50.00 UNNAMED                 50.00
    Top Client IDs               DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top SQL Command Types        DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
    -> 'Distinct SQLIDs' is the count of the distinct number of SQLIDs
          with the given SQL Command Type found over all the ASH samples
          in the analysis period
                                               Distinct            Avg Active
    SQL Command Type                             SQLIDs % Activity   Sessions
    INSERT                                            1      50.00       0.17
    SELECT                                            1      50.00       0.17
    Top Phases of Execution      DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                                              Avg Active
    Phase of Execution             % Activity   Sessions
    SQL Execution                       50.00       0.17
    Top SQL with Top Events     DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                                                            Sampled #
                     SQL ID             Planhash        of Executions     % Activity
    Event                          % Event Top Row Source                    % RwSrc
              2prbzh4qfms7u           2500066303                    1          50.00
    CPU + Wait for CPU               50.00 FIXED TABLE - FULL                  50.00
    insert into wrh$_latch_children (snap_id, dbid, instance_number, latch_hash, c
    hild#, gets, misses, sleeps, immediate_gets, immediate_misses, spin_gets, sle
    ep1, sleep2, sleep3, sleep4, wait_time) select :snap_id, :dbid, :instance
    _number, hash, child#, gets, misses, sleeps, immediate_gets, immediate_misses
              a4w3b09vg8705             52468664                    1          50.00
    CPU + Wait for CPU               50.00 SELECT STATEMENT                    50.00
    SELECT PROCESS.MM_PX_CURRENT_STATE.*, PROCESS.MM_PX_CURRENT_STATE."ROWID" FROM
    PROCESS.MM_PX_CURRENT_STATE
    Top SQL with Top Row Sources DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                                                            Sampled #
                     SQL ID             PlanHash        of Executions     % Activity
    Row Source                               % RwSrc Top Event               % Event
              2prbzh4qfms7u           2500066303                    1          50.00
    FIXED TABLE - FULL                         50.00 CPU + Wait for CPU        50.00
    insert into wrh$_latch_children (snap_id, dbid, instance_number, latch_hash, c
    hild#, gets, misses, sleeps, immediate_gets, immediate_misses, spin_gets, sle
    ep1, sleep2, sleep3, sleep4, wait_time) select :snap_id, :dbid, :instance
    _number, hash, child#, gets, misses, sleeps, immediate_gets, immediate_misses
              a4w3b09vg8705             52468664                    1          50.00
    SELECT STATEMENT                           50.00 CPU + Wait for CPU        50.00
    SELECT PROCESS.MM_PX_CURRENT_STATE.*, PROCESS.MM_PX_CURRENT_STATE."ROWID" FROM
    PROCESS.MM_PX_CURRENT_STATE
    Top SQL using literals       DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Parsing Module/Action    DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top PL/SQL Procedures        DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Java Workload            DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Call Types               DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
    Call Type                                     Count % Activity Avg Active
    FETCH                                             1      50.00       0.17
    Top Sessions                DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
    -> '# Samples Active' shows the number of ASH samples in which the session
          was found waiting for that particular event. The percentage shown
          in this column is calculated with respect to wall clock time
          and not total database activity.
    -> 'XIDs' shows the number of distinct transaction IDs sampled in ASH
          when the session was waiting for that particular event
    -> For sessions running Parallel Queries, this section will NOT aggregate
          the PQ slave activity into the session issuing the PQ. Refer to
          the 'Top Sessions running PQs' section for such statistics.
       Sid, Serial# % Activity Event                             % Event
    User                 Program                          # Samples Active     XIDs
           23, 8635      50.00 CPU + Wait for CPU                  50.00
    JOHNSONV             ArcMap.exe                             1/6 [ 17%]        0
          150,  963      50.00 CPU + Wait for CPU                  50.00
    SYS                  oracle@hublhp9 (M000)                  1/6 [ 17%]        0
    Top Blocking Sessions        DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Sessions running PQs    DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top DB Objects               DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top DB Files                 DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Top Latches                  DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
                      No data exists for this section of the report.
    Activity Over Time          DB/Inst: GISPROD/gisprod  (Feb 06 08:00 to 08:01)
    -> Analysis period is divided into smaller time slots
    -> Top 3 events are reported in each of those slots
    -> 'Slot Count' shows the number of ASH samples in that slot
    -> 'Event Count' shows the number of ASH samples waiting for
       that event in that slot
    -> '% Event' is 'Event Count' over all ASH samples in the analysis period
                             Slot                                   Event
    Slot Time (Duration)    Count Event                             Count % Event
    08:00:00   (60 secs)        2 CPU + Wait for CPU                    2  100.00
    End of Report

  • Oracle 10g performance issue

    Hi all,
    In sunfire v890 we have installed oracle 10g release 2 on solaris 10.
    prstat -a command shows :
    NPROC USERNAME SIZE RSS MEMORY TIME CPU
    105 root 9268M 6324M 20% 1:21:57 0.4%
    59 oracle 24G 22G 71% 0:04:33 0.1%
    2 nobody4 84M 69M 0.2% 0:11:32 0.0%
    2 esbuser 13M 9000K 0.0% 0:00:46 0.0%
    1 smmsp 7560K 1944K 0.0% 0:00:00 0.0%
    4 daemon 12M 7976K 0.0% 0:00:00 0.0%
    and top utility shows :
    last pid: 8639; load avg: 0.09, 0.09, 0.09; up 2+06:05:29 17:07:50
    171 processes: 170 sleeping, 1 on cpu
    CPU states: 98.7% idle, 0.7% user, 0.7% kernel, 0.0% iowait, 0.0% swap
    Memory: 32G phys mem, 22G free mem, 31G swap, 31G free swap
    therefore from prstat we come to know that memory used by oracle is 71%
    where as top says 31.25% used.....
    which one is true in this scenario.....
    shall we go ahead in trusting top utility????
    Advance thanks to you.

    Hi darren
    The main thing is,, prstat -a command showing oracle
    user occupied 70%.In top utility showing 22gb memory
    free out of 32 gb.That means 10gb was occupied by all
    users.In percentage calculation its comes
    31.25%...i.e top shows all users occupied only
    31.25%Right. That's all memory in use, correct? From your first message I thought you meant it said that was the amount used by Oracle.
    It's easy to calculate total memory in use.
    It's hard to calculate memory in use by a subset of processes (perhaps those owned by a particular user).
    but prstat -t command shows 70% occupied by oracle.
    which one i want to believe??????The prstat command showing memory in use by a user will be incorrect because it does not calculated shared pages properly.
    As far as I am aware, 'top' has no similar display.
    Darren

  • As a number of Oracle Connections created - Performance Issue

    Hello,
    We are using Oracle 9i as a backend and VB 6.0 as Frontend. For one client one connection will be opened in the Database Server, if 200 clients open the application then 200 connections will be opened in the Database Server, due to that performance issue is raising.
    We are doing: If the frontend application is not in use for 10-minutes then the connection is closed and at the same time front-end application is also terminated or if the Client terminates the application the connection is closed in the Server.
    Eventhought if 200-Clients connect the Server only 4 to 5 Clients send a request to the Server for retriving or for saving the data.
    I want to Open a fixed number of connections in the DataBase Server eg., around 10-connections, and i want to use this 10 connections for 200 clients.
    At First 10 Connections are opened and 10 Clients are using this 10 connections, among 10 Clients 1 released the database connection after finishing the Job and if 11'th Client opens then this released connection as to be used without opening a new connection, in the same way if some of the connections from 9 get free and if any other clients open application then this connections which are free as to be used for opening the application or else for doing any transaction. So, that the number of connection to be create can be redused.
    Please give me the suggestion how to make use the released connection for doing the transaction or else for opening the application.
    Thanking U with Regards,
    Sravan,
    Hyderabad.

    As Satish mentioned, Shared Server can be a good solution, but it would also be worth telling us , how did you quantify this thing that due to the number of connections, you have a performance issue? 200 is not that big number I guess. What's the o/s , exact database version and the system details with database details? Also if you have statspack report, post that too over here.
    HTH
    Aman....

  • Performance issue with Oracle Global Temporary table

    Hi
    Oracle version : 10.2.0.3.0 - Production
    We have an application in Java / Oracle. Users request comes in XML and oracle parser parses it and inserts it into Global temporary tables and then Business Stored procedure picks data from these GTT's and do the required processing.
    in the end data required response data is again inserted into response GTT's from which Response XML is generated.
    Question : Is the use of Global temporary tables in Oracle degrades performance as we have large number of GTT's in our application approx. 5-600 such tables.
    Regards,
    Vikas Kumar

    Hi All,
    Here is architecture of my application:
    Java application creates XML from the screen values and then inserts that XML
    into a framework(separate DB schema) table . then Java calls a Stored Procedure from same framework DB and in SP we have following steps.
    1. It fatches XML from the XML type table and inserts XML into screen specific XML TYPE table in the framework DB Schema. This table has a trigger which parses XML and then inserts XML values into GTT which are created in separate product schemas.
    2. it calls Product SP and then in product SP we have business logic. Product SP
    does the execution and then inserts response into Response GTT.
    3. Response XML is created by using XML generation function and response GTT.
    I hope u will understand my architeture this time and now let me know if GTT are good in this scenario or not. also please not that i need data in GTT only during execution and not after that. i dont want to do specific delete which i have to do if i am using normal tables.
    Regards,
    Vikas Kumar

  • Pl-Sql Oracle Function Concurrency Issue

    Hi All,
    Issue - pl-sql Oracle Function performance issue, when muliple users are accessing the function
    Detail -
    Oracle 11g / Linux Server
    I have developed a pl-sql oracle function to retrieve information from 3 tables, output as a particluar type array.
    Single request is getting processed within 2.2 seconds, but when multiple request are sent concurrently <tested with 50>, time taken for each output is different.
    BreakUp of Response times:-
    8 messages took - 2.2 sec
    +8 messages took - 4.4 sec
    ++8 messages took - 6.6 sec....etc
    I'm looking for any DB tunning parameter, which will help to resolve this issue.
    My only aim is to expose developed function to multiple users, who all can access it concurrently, but response should limit within 2.2 seconds.
    Any thoughts + guidance is higly appreciated.
    Thanks
    Preetam Singh

    Supporting data insert statements:
    =======================================================================================================================
    REM INSERTING into EXPERTISE
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('A','ENGLISH','FRENCH','HINDI',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('B',null,'GERMAN','CHINIESE','HINDI',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('C','ENGLISH',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    =======================================================================================================================
    ==================================================================
    REM INSERTING into WORKING
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','MON','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','WED',null,null);
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','FRI','09:00','12:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','MON','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','WED','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','FRI','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','MON',null,null);
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','WED','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','FRI','09:00','12:00');
    ==================================================================
    =====================================================================================================================
    REM INSERTING into SCHEDULE
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','A');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'TRAINING','B');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('13-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','A');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.30.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','B');
    =====================================================================================================================
    Edited by: 910614 on Feb 10, 2012 9:29 AM

Maybe you are looking for

  • Thunderbird no longer gets my email

    It was working and it did some upgrades and it allows me to send emails, but after a few days I noticed when someone complained I hadn't responded to my email that I wasn't getting any. I checked my isp with webmail and sure enough there were 13 emai

  • Sql server 2000 stored procs vs. prepared statements performance

    Hi I have observed that using stored procedure in sql server 2000 is much much faster than using a prepared statements. I had worked with oracle before and did not notice this much difference. I would like to use prepared statements or regular sql (f

  • Database Size Required for SOA

    I will be installing SOA Suite with OSB in Exalogic for testing. It is not for the production environment and very simple application will be used for testing. Database admin asked me what size database would be required but I did not find clear answ

  • LTS Problem

    Hi, I've a fact table which is having 4 Agg logical table source (LTS), in each LTS having same 4 columns . When i gave level as 'MOnth' for all 4 Agg logical table source (LTS). On what basic BI server will hit ? Which table is going to hit. Is ther

  • ESSO and Oracle Discoverer Plus

    Hi, I'm configuring eSSO-LM (ver. 10.1.4.0.3, comes with eSSO 10.1.405) to work with Oracle Discoverer Plus, but haven't got too far. ODP is a Web application that raises a new browser window, which in turn raises another window for login. The window