Performance Tunning

Hello
I use this query to find the LIST OF THE LOCKED OBJECT

SELECT a.type,
Owner of substr (a.Owner, 1, 30),
a.SID,
Subject substr (a.Object, 1, 30)
ACCESS $ v one
WHERE a.owner NOT IN ('SYS', 'PUBLIC')
ORDER BY 1,2,3,4

It showing record 9475 is this straight becauze some slow EEG database time.

I have another problem in a different database that generates a lot of trc file, in the file dir udump

Thank you
MAAN

Hello

Documentation says Oracle

«v$ ACCESS displays information about locks that are currently taxed on the library cache objects.» The locks are imposed to ensure that they are not aged in the cache of the library so that they are required for the execution of SQL".

It is provides information what objects are held level access will hide library in the special case of sessions. It does not provide the information that it possΦde a lock or not.

Session - 1 as a dba

SQL> select owner,type,count(*)
  2  from v$access
  3  where owner='SCOTT'
  4  group by owner,type;

no rows selected

Session - scott 2

SQL> desc emp
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 EMPNO                                     NOT NULL NUMBER(4)
 ENAME                                              VARCHAR2(10)
 JOB                                                VARCHAR2(9)
 MGR                                                NUMBER(4)
 HIREDATE                                           DATE
 SAL                                                NUMBER(7,2)
 COMM                                               NUMBER(7,2)
 DEPTNO                                             NUMBER(2)

SQL> select * from emp where rownum < 2;

     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
---------- ---------- --------- ---------- --------- ---------- ----------
    DEPTNO
----------
      7369 SMITH      CLERK           7902 17-DEC-80        800
        20

Session - 1

SQL> col type for a20
SQL> /

OWNER                TYPE                   COUNT(*)
-------------------- -------------------- ----------
SCOTT                TABLE                         1

If you check it has loaded in the library cache - as the object is accessed by the user. We will still continue with demo

SQL> grant all on emp to public;

Grant succeeded.

SQL> update emp
  2  set sal=sal+1000
  3  where empno=7369;

1 row updated.

SQL>

I did not commit the session.

Session - 3 - one access s/n

C:\Windows\system32>sqlplus /@test as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 24 12:32:35 2011

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> update scott.emp set sal=sal-100 where empno=7369;

It is passed, we will check session - 1 What is happeing

SQL> col owner for a20
SQL> col object for a20
SQL> col type for a20
SQL> select * from v$access where object='EMP';

       SID OWNER                OBJECT               TYPE
---------- -------------------- -------------------- ---------
        25 SCOTT                EMP                  TABLE
        24 SCOTT                EMP                  TABLE

It is only provides information session at which are currently access what are the objects of the library cache. If you check 25 SID and SId 24 both are perhaps to access the information, which is the trainer /waiter that we do not know. Now, if you check the v$ locked_object you can get the details.

If you check the base tables - it recovers since "x$ ktcxb"-information of transactions of the v kernel $ locked_object
When in access of $ v it retrieves information from x$ kglob and x$ kgldp - its generic kernel - object they access dependencies - architecture/logical point of view.

There will be cases occurs when locking contention access $ v is questioned through - because high latch activity goes on access tables x $.

Note-in order to understand things that I provided table core information do not have to access the core production database tables.

It could be that useful...

-Pavan Kumar N

Tags: Database

Similar Questions

  • FDM Performance Tunning with Oracle

    Hello

    We use the Oracle 10 g with FDM. We have scheduled batch jobs, but it takes a lot of time when importing the data.

    Is there any tunnings performance we can do at the end of the Oracle?

    Thank you.

    Check the category and the partname where you load is same as you specify it in the report parameter.

  • ODI Performance Tunning

    Hi all

    our Interface is very slow.

    The source file is flat and the target is Oracle.

    The source file is to have 10 records but its taking more than 15 minutes to complete.


    Please let me know any place where I can look for tuning.



    See you soon,.
    Andy

    Hi Andy,.

    Don't worry, all things are difficult before they are easy and ODI is just a tool that you can learn in some time. :)

    If your meant the performance of the components of the ODI (designer, Manager of the topology, engine...)

    Then I increase the parameter ODI_MAX_HEAP of odiparams.bat will help.

    On the contrary, keep in mind the points that I mentioned in development.

    In addition, there are tons of documents in metalink speaking performance.

    Thank you
    G

  • Performence Tunning

    Hi all

    I'm looking for books refrence for oracle 10 g performance tunning.

    Could you please advice me the name of some book refrence, which can help me to know the in and out concept of tunning performance from the point of view of Directors.

    Kind regards
    SS

    http://www.Amazon.com/Optimizing-Oracle-performance-Cary-Millsap/DP/059600527X/ref=sr_1_3?ie=UTF8&QID=1249398898&SR=8-3

    http://www.Amazon.com/Troubleshooting-Oracle-performance-Christian-Antognini/DP/1590599179/ref=sr_1_5?ie=UTF8&QID=1249398898&SR=8-5

    http://www.Amazon.com/Oracle-wait-interface-performance-diagnostics/DP/007222729X/ref=sr_1_6?ie=UTF8&QID=1249398898&SR=8-6

    http://www.Amazon.com/cost-based-Oracle-fundamentals-experts-voice/DP/1590596366/ref=sr_1_14?ie=UTF8&QID=1249398898&SR=8-14

    as a first step.

  • EBS 12.1.1 perfromance is very slow.

    Hi expert,

    Please suggest me a certain document for performance optimization. It's full use for me. for the OS and EBS 12.1.1.

    several times I check there is no additional process is running on my server, but the average load shows 5 or 6. I m sure about it there ' has no big query running, no not big users connect. Here, there is no no matter what process is running on the server because this server is slow.

    I m unable to determine why the server is very slow and show very high load average (top) and the application is very slow.

    the server is IBM with 16 RAM.

    OS - RHEL 5.7

    EBS - 12.1.1

    THE SIZE OF THE DATABASE - 350GB

    Please suggest me how can I solve the poor performance of the OS and the EBS.

    Thanks and greetings

    pritesh Rodriguez

    Hi Ranjan Pritesh,

    When was the last time you ran the program of "gathering statistical scheme." Is it planned?

    In addition, please see:

    Troubleshooting problems of performance of the Oracle Applications (Doc ID 169935.1)

    Optimize the performance of the e-Business Suite (Doc ID 744143.1) downstairs X-ray

    A comprehensive approach to the performance of Oracle Applications systems (Doc ID 69565.1)

    Simultaneous treatment - how to performance tune the concurrent processing server (Doc ID 986272.1)

    Performance forms listener Servlet in Oracle Applications (Doc ID 390031.1)

    Thank you &

    Best regards

  • Report error

    Hello

    I get the following error when I run a report, I'm trying to cache of seeds for the report with performance problems.

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 46017] sort has no work space in the working directory. [nQSError: 46073] Operation 'write()' the file ' / web/home/OhioStat/Oracle/Middleware/instances/instance1/tmp/OracleBIServerComponent/coreapplication_obis1/obis_temp/nQS_5832878_242_18882751.TMP ' failed with the error: (2) no such file or directory.

    Some body could you please explain what is happening?

    Thank you.

    I would say that more than one issue related to the issue of modeling and RPD performance, where you could analyze the generated sql code and try to see if it is the request of qfficient expect you bi server to generate. Try to push the data calculations and logic in the dw with etl. Focus on the key, joins, aggregations used performance tunning and so on. Its a broad topic as for saying how to build your SPR so that it generates effective sql.

  • Support for AutoCAD 3D?

    All the world has heard if you intend to provide a support for AutoCAD (2009) 3D acceleration? I use a new unibody MacBook Pro Shell and now hardware acceleration is disabled in AutoCAD. Performance tuner log can not read all the parameters of the Nvidia card:

    3D device

    -


    Name:

    Manufacturer:

    Chip set:

    Memory: MB

    Driver:

    Thanks for any information!

    AutoCAD disables specifically for our video camera 3D support.  We are looking at it internally.

  • Recommended and fav books in each subjects

    Hello world
    can you please
    Recommended books
    in each section of the oracle: -.

    (1) measure arch
    (2) backup and restore
    (3) dataguard
    (4) performance tunning
    (5) CARS

    880674 wrote:
    Thanks for your reply. You have the choice? To read the oracle doc to understand oracle.
    I just spend my pocket money to buy books for my refrence, so looking what is everybody fav book.
    or a recommendation.
    As backup recovery
    I want to buy one, but
    I am confused between sam alapati or robert freeman

    I agree with the recommendations made by P. Forstmann, although perhaps you could start by Tom Kyte book (you can read my review of this book on Amazon) and then come back on the Oracle Concepts Guide. Certainly, read and understand the book of Tom Kyte before moving on to something else. I also recommend the book "Oracle Performance Troubleshooting Guide" (in my opiinion that is much better organized and well balanced performance other books I have read... you can read my review on Amazon). Once you have a good understanding of the Oracle SQL, you can also take a look at the book 'Pro Oracle SQL'.

    For backup and restore, I found that (at least for the 10g version), book of Robert Freeman is very good in theory, but if something is not as described in the book, you can be left to search through Google search to determine the way forward. It also seems that some of the information needed for the exercises were difficult to locate in the rest of the book. The "Oracle Database 11g RMAN recipes" are set up quite a bit differently from the book of Robert Freeman. There are usually a couple of pages of theory at the beginning of each chapter, and then several practice exercises. If nothing else, the recipe format provides an overview of the works of RMAN and what to do when it does not work. I found a few errors in the RMAN Cookbook, but the material seems to be very well organized, which facilitates the progression in the book all in test / reproducing the different recipes. (I saw both of these books on Amazon too).

    Charles Hooper
    http://hoopercharles.WordPress.com/
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • Oracle administration

    Hi all,
    I am new to Oracle.
    Here is a lot of documentation in this link
    Link: [http://www.oracle.com/pls/db102/portal.portal_db?selected=4]
    What documents you are referring to start.
    Thank you very much

    Hello

    3. Download below books from Oracle Documentation
    1. Oracle Concept
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm
    
    2. Oracle Administrator Guide
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/toc.htm
    
    3. Oracle Sql Reference Guide
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    
    4. Oracle Performance Tunning Guide
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm
    
    4. Now start reading with step by step first read 1 pointed books then 2 and so on.
    
    5. If you face in problem means any error message or anything which you don't understand then please refer oracle forms.
    1. Oracle OTN forms
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    2. OraFAQ forms
    http://www.orafaq.com/forum/
    3. Asktom
    http://asktom.oracle.com/pls/asktom/f?p=100:1:4506654324364228
    
    4. Some Oracle guru's Blog
    http://jonathanlewis.wordpress.com/
    http://tkyte.blogspot.com/
    http://tonguc.wordpress.com/
    http://jaffardba.blogspot.com
    
    I am not Oracle Guru's but visit my blog also :)
    http://dbataj.blogspot.com
    http://babudba.blogspot.com
    http://sabarsyed.blogspot.com
    5. Some good Site
    http://www.akadia.com/
    http://www.adp-gmbh.ch/
    http://www.psoug.org/
    

    http://dbataj.blogspot.com/2007/10/why-i-choose-Oracle-as-my-career.html

    Kind regards
    Taj

  • How to query other session data in a global temporary table

    Performance tune a sql statement that uses a table temporary overall (10g R2), it would be very useful that I could see the data of the TWG, which belongs to another session. Is this possible?

    I'm sure that's not possible. TWG are transaction or specific session data in it can be seen from the other sessions.

  • Some doubts at ASO

    Hi all

    I have a few doubts about ASO, could it please calrifiy...

    1. If we move BSO to ASO, BSO contains two passes active and how we can set this property to re-encoding to ASO.
    2. how to performance tune the ASO, what are the possible ways to optimize performance.

    Thanks in advance for your answers.

    Published by: user4964072 on Sep 25, 2008 16:07

    Hello

    We don't need and that you do not have 2 pass calculation to ASO. SOLVE ORDER will do the necessary.

    Let me stick to a SER60 example

    Jan Feb mar Qtr1
    profit 100 100 100
    1000 1000 1000 sale
    % profit

    Jan Feb mar Qtr1
    profit 100 100 100
    1000 1000 1000 sale
    percentage of profit % 10% 10% 10%

    Jan Feb mar Qtr1
    profit 100 100 100 300
    1000 1000 1000 3000 sale
    percentage of profit % 10% 10% 10% 30%

    If its 2 past in OSB

    Jan Feb mar Qtr1
    profit 100 100 100 300
    1000 1000 1000 3000 sale
    but profit % 10% 10% 10% * 10% *-it's okay.

    ASO, a SOLVE ORDER for 2 or more, which is more than members of his office. You will get the desired values. That is to say with the order of resolution 2% profit. Sales and profits are calculated part (as well as their order of resolution is 1, hypothetically) then the benefits are calculated (since 2 is the order of resolution).

    Secondly, the performance of the ASO is very vague. Are you facing problems of special achievement. Let us know, this would effectively address the forum

    Sandeep Reddy, Enti
    HCC
    http://analytiks.blogspot.com

  • Re: TEMPRO by Toshiba - fine-tune the performance of Qosmio

    For Qosmio, Toshiba pulled TEMPRO

    TEMPRO is a software service developed by Toshiba. He will advise you on how to fine-tune the performance of your laptop and maintain you that current software updates and the latest Toshiba driver as soon as they are released.

    You can download it here :-)

    Hello

    Thanks for this information.
    I have already downloaded this tool.

    You can find it here:
    + http://eu.computers.toshiba-europe.com-> download support & -> monitoring TEMPRO tool +.

    Welcome them

  • Concerned about the compatibility and performance of i-Tunes if I install Windows 10 on my pc.  Can we predict what the problems are?  What solutions are there?  Thank you!

    Concerned about the compatibility and performance of i-Tunes if I install Windows 10 on my pc.  Can we predict what the problems are?  What solutions are there?  Thank you!

    ITunes 12.3 running on Windows 10 and it works great. Any questions or problems with it.

  • Query Tunning of Sql performance

    Hello

    I have A table with size tables plus 120,000002 million are size 2 million on the Table B and less than 1 million on table C.

    I had created the Partition and parallel degree 4 on the table Created A. table B with parallel degree 2 and created table C with NOPARALLEL.

    My query is using above tables with joins and insertion in table D use INDICATOR / * + APPEND NOLOGGING * /.
    I ran the command explain on the above criteria, the cost is showing 20767.

    More later created the tables A, B and C with NOPARALLEL. Applied the TIP on Table D / * + APPEND NOLOGGING * /.
    and applied als HINT / * + PARALLEL(A, 4) select PARALLEL(B C, 2) on a query that uses to insert in table D.


    My question, which advised on the creation of PARALLEL degree at the level of the table or query:


    (a) create table with parallel (level 4)

    (b) applying HINT / * + PARALLEL (TABLE A, 4) * / at the level of the query

    Kind regards
    Prakash

    957901 wrote:
    Hello

    I have A table with size tables plus 120,000002 million are size 2 million on the Table B and less than 1 million on table C.

    I had created the Partition and parallel degree 4 on the table Created A. table B with parallel degree 2 and created table C with NOPARALLEL.

    My query is using above tables with joins and insertion in table D use INDICATOR / * + APPEND NOLOGGING * /.
    I ran the command explain on the above criteria, the cost is showing 20767.

    The cost is meaningless out of context.

    More later created the tables A, B and C with NOPARALLEL. Applied the TIP on Table D / * + APPEND NOLOGGING * /.
    and applied als HINT / * + PARALLEL(A, 4) select PARALLEL(B C, 2) on a query that uses to insert in table D.

    My question, which advised on the creation of PARALLEL degree at the level of the table or query:

    (a) create table with parallel (level 4)

    (b) applying HINT / * + PARALLEL (TABLE A, 4) * / at the level of the query

    According to what works best for you to reach.

    Which is another way of saying that you have not provided enough information for anyone here to take an informed decision or a suggestion for you.

    {message: id = 9360002}

    For performance issues/tuning queries, read two threads related to this FAQ: {message identifier: = 9360003}

  • IPhone app sounds 5 OS lost 9.3.3. Merriam Webster's dictionary, guitar tuna, etc.

    IPhone app sounds 5 OS lost 9.3.3. Merriam Webster's dictionary, guitar tuna, etc.

    If you have not already done so, perform a reset.

    Reset: hold the Home and Power buttons until you see the Apple logo (10 to 20 seconds).

Maybe you are looking for