Question for ORACLE EXPERTS!!! PERFORMANCE PROBLEM!!!

I have 2 nodes on RAC. On node1 the following query run in 15 seconds and on node2 the same query run in 40 minutes. This is a big problem because we are migrating a SQL Server database to Oracle RAC 10gR2 (10.2.0.2) on HP-UX Itanium and we can´t finish the project because of this performance problem!!! PLEASE HELP ME ORACLE GURUS !!! I have opened a TAR at Metalink a 3 month ago,but they can´t help me with this. Can anyone explain this event to me please??? " gc cr multi block request 92011 0.33 737.49
This is the query that i run on both nodes and this is the tkprof of the trace file when i run this on second node:
select /*+ NO_PARALLEL(t) */ sum(t.saldo_em_real)
from
brcapdb2.titulo t
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 13.76 790.26 0 107219 0 0
total 3 13.76 790.26 0 107219 0 0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 31
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.02 0.02
gc cr multi block request 92011 0.33 737.49
gc current grant busy 1 0.00 0.00
latch: KCL gc element parent latch 4 0.00 0.00
latch: object queue header operation 17 0.00 0.01
latch free 6 0.00 0.00
gc remaster 9 1.94 9.00
gcs drm freeze in enter server mode 19 1.97 30.52
gc current block 2-way 10 0.61 2.72
SQL*Net break/reset to client 1 0.01 0.01
Please help me if you can!!
Tks,
Paulo.

Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.02 0.02
gc cr multi block request 92011 0.33 737.49
gc current grant busy 1 0.00 0.00
latch: KCL gc element parent latch 4 0.00 0.00
latch: object queue header operation 17 0.00 0.01
latch free 6 0.00 0.00
gc remaster 9 1.94 9.00
gcs drm freeze in enter server mode 19 1.97 30.52
gc current block 2-way 10 0.61 2.72
SQL*Net break/reset to client 1 0.01 0.01There's lots of global cache traffic going on. All those multiblock transfers seem to be saturating the interconnect. Some things to consider:
- Have a look at metalink note 3951017.8 for a possible fix
- Check that your interconnect is properly configured
- Try running the query with PARALLEL hint. This would mean doing disk I/O instead of buffer & interconnect I/O.
edit: changed "without NOPARALLEL" to "with PARALLEL"
Message was edited by:
antti.koskinen

Similar Messages

  • Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.   When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and

    Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.
    When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and last name).
    I changed the computer name in Preferences/Sharing to a new name and Preferences/Accounts to just be Mike. I can right click on my account name, choose advanced, and see that everything looks right.
    However, If I do a scan of my network with my iPhone using the free version of IP Scanner, it lists my computer as First-Lasts-MacBook-Pro! And it lists the user as First-Last.
    So even though another Mac just sees my new computer name, and my home folder is Mike, somewhere in the system the original setup with my full name is still stored. And it's available on a network scan. So my full name might show up at a coffee shop.
    Can I fully change the name without doing a complete re-install of Lion and all my apps?

    One thought... you said the iPhone displayed your computer's old name? I think that you must have used the iPhone with this computer before you changed the name. So no one else's iPhone should display your full name unless that iPhone had previously connected to your Mac. For example, I did this exact same change, and I use the Keynote Remote app to connect with my MacBook Pro. It would no longer link with my MacBook Pro under the old name, and I found that I had to unlink and then create a new link under the new name. So the answer to your question is, there is nothing you need to do on the Mac, but rather the phone, and no other phone will display your full name.

  • Interview questions for oracle dba

    Hi I am trying to find teh interview questions for oracle dba .
    What will be your answer to the following questions. Can somebody shed some light...
    . What is the day to day duties of oracle dba?
    ·     Did you use online or off-line backups?
    ·     What version of Oracle were you running?
    ·     Haw many databases and what sizes?
    ·     If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    ·     If a customer calls you about a hanging database session, what will you do to resolve it?
    ·     Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Thx
    KK

    . What is the day to day duties of oracle dba?
    I have got a checklist, designed for my daily, weekly, fortnightly and monthly tasks. For example, in the daily checklist tasks, I check for the alert log file, competion and correction of my exports and operating system backups. DB space situation, Antivirus status, standby database status, space on disks, any rogue queries etc.
    · Did you use online or off-line backups?
    Both.
    · What version of Oracle were you running?
    8i(not any more), 9i, 10g
    · Haw many databases and what sizes?
    8 databases, ranging from 1 TB to 10 GB. I have segregated them into OLTP production, testing, cm, and development and a Datawarehouse.
    · If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    How much they could afford to lose data or they want zero data loss and also I will get their requirements about down time and up time of database.
    · If a customer calls you about a hanging database session, what will you do to resolve it?
    First I will identify it, then see to it what exactly it is doing, capture that situation and then either try to release the locks(if its a blocking or blocked session), or kill the session, if its hanging on a runaway query.
    · Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Oracle passes the ACID rule with distinction as compared to the other databases. Moreover, the multiversion read consistency, recovery, flexibility and challenges of Oracle are matchless.
    Cheers
    fahdoracle.blogspot.com

  • Newbie question about Oracle 11G performance

    I have a situation where a newer better faster server running Oracle 11gR1 is running considerably slower than an older slower server running Oracle 10gR2.
    Both of these servers have the same web applications and same dumpfiles loaded into them.
    I personally installed the Oracle 11g on the new server, however, I didn't install the 10gR2 on the older server, some one else did...
    I have checked what I think are the basics: the tables are not missing constraints, the automatic memory management is enabled.
    I know this is a really broad question.
    Newer server:
    Quad-Core AMD Opteron Processor 2352 2.10 GHz (2 processors)
    16 GB memory
    Windows Server 2008, 64 bit
    Raid 5
    Older Server:
    Intel Xeon 1.8 GHz (2 processors)
    4 GB memory
    Windows Server 2003, 32 bit
    Raid 5

    Hi Derik,
    I know this is a really broad question. No, it happens all the time! Here is a similar issue:
    http://blog.tuningknife.com/2008/09/26/oracle-11g-performance-issue/
    +"In the end, nothing I tried could dissuade 11g from emitting the “PARSING IN CURSOR #d+” message for each insert statement. I filed a service request with Oracle Support on this issue and they ultimately referred the issue to development as a bug. Note that Support couldn’t reproduce the slowness I was seeing, but their trace files did reflect the parsing messages I observed."+
    I would:
    1 - Start by examining historical SQL execution plans (stats$sql_plan or dba_hist_sql_plan). Try to isolate the exact nature of the decreased performance.
    Are different indexes being used? Are you geting more full-table scans?
    2 - Migrate-in your old 10g CBO statistics
    3 - Confirm that all init.ora parms are identical
    4 - Drill into each SQL with a different execution plan . . .
    Raid 5 Don't believe that crap that all RAID-5 is evil. . . .
    http://www.dba-oracle.com/t_raid5_acceptable_oracle.htm
    But at the same time, consider using the Oracle standard, RAID-10 . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Fruit flies like a banana".

  • Oracle 10G performance problems

    Hello,
    we have a lot of performance problems with oracle 10G. Especially tables scan on DRAW or AEN1 have long response times. It seems that the CBO uses the wrong strategy. The latest merge fix is already installed. Any idea to solve the problem is welcome.
    Best regards
    Juergen Remmert

    We had similar performance issues in our environment, once we upgraded from 9.2.0.2 to 10.2.0.2.
    Oracle: 10.2.0.2
    SAP: 4.7x110
    OS: SOLARIS 9 64bit
    The above mentioned notes were very helpful. We had to install an oracle patch as well (found on marketplace)  --  6321245
    and make the following oracle parameters changes:
    pga_aggregate_target - 144MB (default = 25MB)
    *.event="10027 trace name context forever, level 1"
    *.event="10028 trace name context forever, level 1"
    *.event="10162 trace name context forever, level 1"
    *.event="10183 trace name context forever, level 1"
    *.event="10191 trace name context forever, level 1"
    *.event="10629 trace name context forever, level 32"
    *.event="38068 trace name context forever, level 100"
    *.event="38043 trace name context forever, level 1"
    *.optimizer_index_caching=50
    *.optimizer_index_cost_adj=20
    *.parallel_execution_message_size=16384
    *._b_tree_bitmap_plans=FALSE
    *._index_join_enabled=FALSE
    *._optim_peek_user_binds=FALSE
    *._optimizer_mjc_enabled=FALSE
    *._sort_elimination_cost_ratio=10
    Remove
    *.optimizer_features_enable='9.2.0'
    HTH

  • Which tool is used for Oracle 11g performance tuning?

    Hi all
    I used statspack for 9i's performance tuning.
    But with 11g R2 now I want to know which way are you using to do performance tuning?
    Statspack? OSW? RDA? ADDM? Or other ways?
    Thank you.

    schavali wrote:
    I would start with Automatic Workload Repository (AWR) reports to identify the bottleneck
    MOS Doc 390374.1 - Oracle Performance Diagnostic Guide (OPDG)
    MOS Doc 748642.1 - What is AWR( Automatic workload repository ) and How to generate the AWR report?
    HTH
    SriniThanks for your answer.
    To read the MOS documents I need a Oracle Customer ID , is that right ?
    (Where to get that ID ? Our company bought Oracle 10g without any Customer IDs in it )
    Best Wishes.

  • Important Question for Oracle Corporation

    Hello,
    I am a J2EE architect in a reputable multinational software house in Pakistan. Till last month, we were using Oracle 9iAS (9.0.4) with Borland JBuilder 9 (using oracle plugin found in Jbuilder Cd). We decided to migrate
    to JBuilder X so we downloaded its trial version to evaluate it. But to our surprise it does not include the plugin for Oracle 9iAS. We tried to use the plugin for JBuilder 9 but i did not work.
    Therefor i humbly request to Oracle Corporation to provide us the plugin of OC4J(9.0.4) for JBuilder X.
    Anybody can help me too if they got the one.
    My Email address is : [email protected]
    please reply me on the forum first and then email me the plugin.
    Yours sincerely,
    Shoaib Akhatr
    Senior Java Architect

    I just post my forms questions here. I'm using 6.0 seems to be fine.

  • Good book for Oracle 9i Performance Tuning

    Hi Can anybody suggest good book in Oracle 9i performance Tuning (All the Tuning methods and I/O, tuning Memeory Tuning .......)
    I done my OCP 9i and I worked as Junior DBA and now I want to concentrate only on Tuning.
    Thanks
    Venkataragavan.S

    If you are looking generalized, not exactly 9i performance, but,good in terms of oracle tuning, I would suggest the below apart from the above given,
    Oracle Performance by Cary Milsap and Jef Holt
    Jonathan Lewis, 'Practical Oralce 8i', dont go on 8i name.
    Sql Tuning by Dan Tow
    Jaffar

  • Question for the experts on Video problem

    We are away on holidays but didn't want to miss this opportunity to ask for help from the experts. I'm not sure if I have a problem with my motherboard or video card or both. I posted the problem previously but here it is again.
    I have an HPE-250f HP desktop computer which has worked well although has not had a lot of use. Shortly after purchasing it I got a real deal on a 17" i7 laptop which has been used much more than the desktop. Yesterday numerous Windows updates were installed and a couple of reboots to complete the installations. On occasion in the past Windows updates have caused issues but am sure they are not the cause of the current problem.
    Upon turning on the computer yesterday it sounded like an airplane taking off so pulled the side cover off and it was the fan on the video adaptor that was making all of the noise. I have never heard it anywhere near that loud in the past even when under very heavy usage. In addition there was no video signal so my first thought was the adaptor had died. I took the adaptor out and reinstalled it to make sure it was seated properly however no change. I took the adaptor out again and then uncapped the VGA and DVI connectors that are on the rear of the computer but I did not get a video signal from either of those two outlets either. I don't know whether those ports are enabled on the motherboard or in the BIOS as this computer came with an upgraded video card. Either way there was no video. I have another low end video card here that I don't think was ever used so installed it and again no video. The hard drive seems to be making the normal sounds you would hear when it is booting but again with no video can't really say what is going on.
    I am sort of out of ideas as to what to try next as without video you can't see if there are any error messages coming up, whether it is trying to boot or is actually loading Windows.
    I don't want to scrap the computer and I guess an option would be to try and find the same motherboard and replace it but I am hoping someone may have some suggestions as to whether there should be video from the built in ports that come capped from the factory. It just seems odd that there is no video from the original card, the built in ports, or a different video card. It is also odd the original video card fan funs flat out when you turn the computer on before it even starts to get warm. If there is a problem with the slot the card goes in one would think the built in ports would still have video but that is assuming they are actually enabled but again don't know if they would be.
    If anyone has any suggestions or if anyone knows a reliable place to buy the same motherboard that is in this computer I would appreciate that information.
    Thank you

    Finally back from vacation and took a bit of time to get caught up from vacation. It appears somehow two threads got started so will continue on with this one as there is more activity here. There is no video from the original video card reinstalled in the computer. There is also no video on either of the integrated ports after removing the caps and removing the battery, and tried two different monitors just to be sure. I have a friend with the same computer and he said there is no setting in the CMOS/BIOS to enable the onboard video so don't know if it has been permanently disabled or not but again no video from either of the integrated ports. Also If there is a speaker on this computer they have done a very good job of hiding it and i have never heard it beep in all the time i have owned it. I know at this link under INTERNAL CONNECTORS it mentions a speaker connection. I would install a speaker for the purpose of troubleshooting but I cannot find a reference anywhere that says which pins are for a speaker so if anyone would know where to find this information I would gladly install a speaker so we could troubleshoot further. http://support.hp.com/us-en/product/HP-Pavilion-Elite-HPE-Desktop-PC-series/4162190/model/4262654/document/c02014355 It is certainly a possibility that one of the updates caused an issue but it would be surprising as these were updates to Windows and not the BIOS, so one would think if the update was causing an issue it would be after the POST and when it was about to start loading Windows. I will try the suggestions listed above to the extent I can without a speaker connected but it would be great if someone can post a manual for the motherboard that mentions which pins or header has the speaker connections so I can install a speaker. I just heard back from my friend that has the exact same conputer and his has no audible beep when it starts either and am sure there is simply no internal speaker on this computer. Thank you

  • 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 text" performance Problem

    Architecture for Performance on a web site Search!
    I wanna use text service of ORACLE.But I am worried about the performance ....
    How should I design the system if I want the best perfomance and scalability ?
    1.Should I build a seperate coloumn in my every table and merge all the information into one coloumn and full text index that column.
    2.Put a full text index in all column in the table and use OR clause and reverse rank it for AND clause,using CONTAINSTABLE function.
    3.Make a different table and put ID,TYPE and _VALUE fields and search in that table with less coloumns.
    4.Seperate the full text database and search in a seperate db so that I can scale better?
    did anybody have a similiar problem ? Any books on full text search ?

    The number of indexes is irrelevant as such. If you really need 100 tables and you really need full text search on all of them, you need 100 indexes. When you are inserting data in any given table, the fact that there are 99 other tables with 99 other Text indexes is irrelevant.
    That being said, I would seriously question whether a data model that involves doing full-text searches on 100 separate tables was actually a proper data model. That strikes me as highly unlikely.
    Justin

  • Baseline date in payment terms_reply the question for FI experts

    Hy guys,
    my problem is this: in payment terms I should want that the baseline date is the date of good receipts instead of the date of invoice receipt and this thing should happen only for a particular society.
    In your opinion is it possible to make this ?
    I have already made the same question to the MM experts but it seems to be more a FI problem and so I also ask you if perhaps there is a user exit that permit to me to make this.
    Thanks in advance for kindness and effort,bye
    Maximilian

    Hello,
    Baseline date is the date from which SAP calculates the due date.
    You can configure the terms of payment in transaction code OBB8. Within terms of payment you are required to maintain baseline date.
    You can select either one of these:
    1) Posting Date: Posting Date of the invoice
    2) Document Date: Document date of the invoice
    3) Entry Date: Nothing but current date of the entry
    4) No Default: In the case of no. default, the system will not propose any base line date, however, the user is forced to enter the base line date.
    In case of 1, 2 and 3 the system proposes the baseline date, however, the user will have the privilege to change at the time of posting.
    You do not have any other options for baseline date, except the these four date options.
    Please let me know if you need further details.
    Thanks,
    Ravi

  • Oracle Eway performance problem

    Hi everyone
    I have a java collaboration definition, which use OTD for conect to oracle 10g.
    When I connect to Database, which is on external server, java collaboration take too long time to connect to database when that java collaboration receive first request message.
    When I connect to Database, which is on localhost, java collaboration connect inmediatly to database when that java collaboration receive first request message.
    I discarted network problems doin ping tonexternal database, and connecting database fro sqlplus.
    Any help will be appreciated.
    Thanks

    thank for yor response.
    JCD take 20-30 seconds to conncet to database.
    Another question: jcd connect to database, when jcd receive first message?
    Can I do jcd conncet to database when is is enabled on eManager?
    I am using javacaps 5.1.1.
    Thanks

  • Help request for Oracle DB Performance tuning

    I need some help on Oracle performance tuning.
    My environment is VB 6 frontend & Oracle 8
    in backend.
    The problem I am facing is particularly in
    muli-user environment. Some query which takes
    20 seconds to when there is only one user
    working in the network, takes more time
    (3 minutes to even 5 minutes) when there are
    4-5 users working in the network.
    What may be wrong ?
    Are there any parameters that I can
    fine tune ?
    We checked the resource utilization at the
    server level CPU utilization is max 50 %,
    Memoery utilization is 50 % (250 MB out of available 512 KB)
    null

    Hi Vinay,
    There can be many reasons for time delay.
    Here are some--
    1) You may not be releasing the locks on objects quickly after use.
    This can be obtained by querying v$locked_object.
    2) You may be holding many sessions concurrently and not closing the older ones.
    This u can get by querying v$session.
    These are some common problems in multi-user platform.
    R u using MTS?
    Yogesh.

  • Are these things possible in PDF forms? Questions for the experts

    Hi,
    I have a project where I need to create an online application system, where the user has to fill in a form where the results have to be saved into a database.
    I wanted to create a html based form, but then someone told me PDF can also do cool things, so I’m researching that road.
    I already managed to create a simple form and submitting it to a web service (java servlet in my case) and that works pretty nicely.
    I'm new to the whole PDF form creating and I’m wondering if certain things are possible. So I’m trying the experts in this form for a yes/no answer.
    Are the following things possible with PDF forms:
    1) validation: number & date checks, eg, a number should be higher than 4, or be a valid number/date
    2) If I answer A at question 1, I should skip Question 2 and go directly to Question 3. Is it possible to hide Question 2, depending on what I answered at Question 1?
    3) Is it possible to attach files to the form, like a photo? And also upload it to the web service.
    4) After I submit the form, is it possible to lock the form so that no other changes can be made? In other words, you may only submit once.
    5) Possible to activate the print button after the form has been submitted?
    6) Can a drop-down lists be dynamic? Instead of hard coding the list, calling a web service to fill the values?
    Thanks in advance for any insight,
    Kind regards
    Ido

    Hi Paul,
    thanks for the quick answer. No my next challange is how to do things
    1) validation: number & date checks, eg, a number should be higher than 4, or be a valid number/date
    <answer> Yes
    I think this is done through the object properties
    2) If I answer A at question 1, I should skip Question 2 and go directly to Question 3. Is it possible to hide Question 2, depending on what I answered at Question 1?
    <answer> Yes
    This is done with subforms and scripting?
    3) Is it possible to attach files to the form, like a photo? And also upload it to the web service.
    <answer> PDF does support the ability to have attachments. They would be includeed as part of the PDF so you woudl have to submit the entire PDF and then extract the attachments when you get the file to the server. Note that you will require to Reader Extend the document to allow a Reader user to add the attachment. This is not a requirement if you are using Acrobat.
    Have to look into this one.
    4) After I submit the form, is it possible to lock the form so that no other changes can be made? In other words, you may only submit once.
    <answer> Yes
    Also through scripting?
    5) Possible to activate the print button after the form has been submitted?
    <answer> If you add a print button on the form then the answer is Yes. The application that houses the PDF will jhave print capabilities and that one is much more difficult to hide. You can set it up so that the form cannot be printed then return back the locked version with printing enabled but a round trip to the server is required for that.
    Print button will be fine by now, probably also done by scripting
    6) Can a drop-down lists be dynamic? Instead of hard coding the list, calling a web service to fill the values?
    <answer> Yes but the form will require LiveCycle Reader Extensions if you are using Reader. Reader Extensions is not required if you are Acrobat.
    Ahh, perhaps fixed list will be ok for version 1

Maybe you are looking for