Which packages are worth a recompile?

I just discovered pacbuilder in 'Community Contributions' and now i am wondering which packages are worth a recompile to get some speed improvement.
Up to now i only read of ffmpeg will work faster with sse3 enabled.
What do you think?

brebs wrote:Hence Gentoo is dying, especially since it has ridiculous political squabbling.
This is so awesome: it really looks like an internal struggle in a corrupted democracy.
kendosperling wrote:@brebs i know this. But never the less if there are any improvements why should i not try to use them. You already said most systems are idle a lot, this time could also be used to compile some packages in the background while surfing or reading your mail. I am sure there are some packages that will benefit.
I believe that the benefit is so small that the time spent compiling fairly exceeds the time you save at every run, even if you run the program for several millennia.
It's like with photovoltaic panels where the energy spent on building the panel itself exceeds the energy the panel will produce during its lifetime.
It would be more efficient if you became a software developer or an engineer only to design a faster architecture to run the program on or develop a faster program, and then retire.
Of course I'm exaggerating, but it's much more poetic this way.

Similar Messages

  • Which packages are not required?

    Hi Friends,
    Initially, I was trying to install arch by just installing base and then going ahead, but was unable to get X. Then, I installed base+X11+X11 libs+ X11 something (dont remember..) and after a lot of trouble, finally got XFCE installed and running (though still problems with fontsand have posted another query in desktop environment section). I have noticed that in doing so, I have installed a lot of things that are not required for my system, like xf86-input-bla bla and xf86-vide-bla bla, I know that only a few of them are required, but i'm afraid of uninstalling anything given that could break the system.
    So, is there a way to determine which packages are being used by my system and which are required so that I can free up some space and make my box more slim.
    Please post your opinions. Thanks in advance.
    Ravi S Ghosh

    FUBAR wrote:
    [22:30:01|foo@bar:~] $ pacman -Q --help
    usage: pacman {-Q --query} [options] [package]
    options:
    -e, --orphans list all packages that were explicitly installed
    and are not required by any other packages
    o_O
    There are two notions of "orphan". As it is meant in the orphan script, a package is an orphan iff it is not needed in a working system. This is an intrinsically vague target, which can be focussed only through a partial heuristics.
    In the sense of the -Qe pacman option, an app is an orphan iff it is not a dependency of another package. In this sense, many vital apps -- explicitly installed -- in a system are orphans.
    However, it is true that pacman -Qe allows to have a list of the top-level apps (the stuff you know what it is, without the libraries etc.). If you identify in the list of pacman orphans the apps you do not need and then remove them with 'pacman -Rsc', you clean your system pretty well.
    However, you should be careful, many problems can be foreseen when you do not know what it is the package you are removing.

  • [SOLVED] Which packages are installed as dependencies when upgrading?

    Hello,
    When upgrading, I'd like to know which packages are upgraded and which ones are installed as new dependencies.
    How can I do that?
    The problem for me here is that I'd like to know which package is triggering an install of mariadb (which I don't need nor want).
    Thanks in advance!
    Last edited by lilorox (2014-04-30 07:14:03)

    mpan wrote:
    This will warn you about which package can't be installed because of mariadb not being installed
    pacman --your_usual_options --ignore mariadb
    Exactly what I needed
    This way I get the entire dependency tree so I know I can blame nepomuk-core.
    I knew the mariadb dependency came from KDE (baloo precisely) but I had no idea which package needed it.
    $ sudo pacman -Su --ignore mariadb --ignore mariadb-clients
    :: Starting full system upgrade...
    :: Replace shared-color-profiles with extra/colord? [Y/n]
    resolving dependencies...
    warning: ignoring package mariadb-5.5.36-1
    warning: ignoring package mariadb-clients-5.5.36-1
    warning: cannot resolve "mariadb-clients", a dependency of "percona-server"
    warning: cannot resolve "mariadb", a dependency of "akonadi"
    warning: cannot resolve "akonadi", a dependency of "kdepimlibs"
    warning: cannot resolve "kdepimlibs", a dependency of "baloo"
    warning: cannot resolve "baloo", a dependency of "nepomuk-core"
    :: The following package cannot be upgraded due to unresolvable dependencies:
    nepomuk-core
    :: Do you want to skip the above package for this upgrade? [y/N]

  • Which packages are required for make?

    I'd like to compile athcool and grabbed the source, but for the life of me, can't figure out which packages are needed for make.

    Thanks for the suggestion.  I got errors:
    # pacman -S base-devel
    base-devel package not found, searching for group...
    :: group base-devel (including ignored packages):
    diffutils ed gcc libtool m4 patch pkgconfig
    :: Install whole content? [Y/n] y
    :: group base-devel (including ignored packages):
    autoconf automake make
    :: Install whole content? [Y/n] y
    :: group base-devel (including ignored packages):
    autoconf automake bin86 bison ed fakeroot flex gcc libtool m4
    make patch pkgconfig
    :: Install whole content? [Y/n] y
    warning: diffutils-2.8.1-5 is up to date -- reinstalling
    warning: gcc-4.3.2-2 is up to date -- reinstalling
    warning: pkgconfig-0.23-1 is up to date -- reinstalling
    warning: automake-1.10.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (14): diffutils-2.8.1-5 ed-1.1-2 gcc-4.3.2-2 libtool-2.2.6a-1
    m4-1.4.12-1 patch-2.5.9-1 pkgconfig-0.23-1 autoconf-2.63-1
    automake-1.10.2-1 make-3.81-3 bin86-0.16.17-3 bison-2.4.1-1
    fakeroot-1.12.1-1 flex-2.5.35-1
    Total Download Size: 1.59 MB
    Total Installed Size: 78.50 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core-testing...
    diffutils-2.8.1-5-i686 191.5K 65.8K/s 00:00:03 [#####################] 100%
    ed-1.1-2-i686 45.7K 63.6K/s 00:00:01 [#####################] 100%
    libtool-2.2.6a-1-i686 578.7K 121.0K/s 00:00:05 [#####################] 100%
    patch-2.5.9-1-i686 54.3K 67.9K/s 00:00:01 [#####################] 100%
    pkgconfig-0.23-1-i686 49.9K 62.7K/s 00:00:01 [#####################] 100%
    :: Retrieving packages from core...
    bin86-0.16.17-3-i686 54.5K 210.0K/s 00:00:00 [#####################] 100%
    bison-2.4.1-1-i686 427.0K 52.3K/s 00:00:08 [#####################] 100%
    fakeroot-1.12.1-1-i686 52.7K 99.6K/s 00:00:01 [#####################] 100%
    flex-2.5.35-1-i686 176.0K 57.1K/s 00:00:03 [#####################] 100%
    checking package integrity...
    (14/14) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    /usr/info/dir exists in both 'diffutils' and 'make'
    make: /usr/info/dir exists in filesystem
    Errors occurred, no packages were upgraded.
    Last edited by graysky (2009-02-17 01:44:04)

  • MBP - which upgrades are worth considering?

    I'm looking to purchase a MBP 15". Among the various upgrade options, does anyone have any views on which upgrades are worth it and which ones are not really worth it?
    Thanks!

    #1 - RAM. #2 - a larger HDD.

  • Which packages are needed for rt73 chipset?

    Right, so the last time I installed Arch, I blindly installed every package related to networking and the size of the install came out to be quite big for an arch install. This time, I want to reinstall it with the barest amount of packages needed for me to get on the Internet (including base and base-devel), so which packages do I select?

    While I have no first hand experience of rt73/rt2571 based devices myself, the Arch Wiki suggests it's no big deal.
    I use wicd as a wireless connection manager as it comes with a curses based interface so you can easily select wireless networks before setting up X.org (or if you don't use it). It is very easy to set up and manage.

  • Instsize - which packages are taking up the most space?

    #!/usr/bin/env python
    # Prints out packages installed on system
    # ordered in descending order on size.
    # Abhishek Dasgupta
    import subprocess as S
    import pickle, os
    storage = '/home/username/.config/instsize'
    def appendpkg(s): pkgsizes[s] = size(s)
    def sgn(x):
    if x == 0:
    return 0
    else:
    return int(x/abs(x))
    execo = lambda s: S.Popen(s.split(' '), stdout=S.PIPE).communicate()[0]
    size = lambda s: float(filter(lambda s: s[:9] == 'Installed', execo('pacman -Qi '+s).split("\n"))\
    [0][17:-2])
    packages = execo('pacman -Qq').split("\n")[:-1]
    def printpkg(p):
    print "%-30s %.2f" % (p, pkgsizes[p])
    if os.path.exists(storage):
    p1 = open(storage, 'rb')
    pkgsizes = pickle.load(p1)
    p1.close()
    else:
    pkgsizes = {}
    map(appendpkg, packages)
    p1 = open(storage, 'wb')
    pickle.dump(pkgsizes, p1)
    packages.sort(cmp=lambda x,y: sgn(pkgsizes[x] - pkgsizes[y]), reverse=True)
    map(printpkg, packages)
    The script saves the installsizes to $HOME/.config/instsize so that later access is faster.
    To force regeneration of the cache, just remove the $HOME/.config/instsize file.

    nice little script
    suggestion
    you could determine username automatically:
    username = os.getenv('USER')
    storage = '/home/' + username + '/.config/instsize'

  • What packages are required for an 11.2.0.3 install on Solaris 11?

    Where can I find information on which packages are required to install Oracle 11.2.0.3 on Solaris 11?
    The documentation only mentions Solaris 10. I tracked down the packages required for Solaris 10, and most of them are either included in the GA release of 11 or obsoleted.
    There are however a couple of packages that are missing from the base install of Solaris 11:
    SUNWarc (renamed to):
         * consolidation/osnet/osnet-incorporation (installed)
         * developer/library/lint (missing)
    SUNWhea (renamed to):
         * consolidation/osnet/osnet-incorporation (installed)
         * system/header (misising)
    So it looks like developer/library/lint and system/header are packages from required for Solaris 10 that are missing on 11. The installer however doesn't check for any packages whatsoever.
    Does that mean it's safe to install the database?
    Edited by: 894946 on Nov 21, 2011 8:38 AM

    Here is list of packages you need in order to install Oracle 11gR2 on Solaris 11:
    SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWlibm SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
    Some of the above are installed by default which you can find by:
    pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWlibm SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
    I believe you will only have to install the following:
    pkg install compatibility/packages/SUNWxwplt SUNWarc SUNWhea SUNWxorg-client-programs SUNWxorg-clientlibs
    Cheers

  • [SOLVED] How do I find out what packages are installed in a distro?

    Okay. I was running Arch before, but GNOME had a bunch of problems that I couldn't fix myself, so I reformatted and went to Peppermint OS (it's a cloud-based system), and I absolutely love it. Now, the thing is, it's even slower than my Arch system was running GNOME, and it's supposed to be super-lightweight and speedy; but aside from that, I found it's a great distro (I think most of the slowdown is because it's based on Ubuntu and Mint). So, my question: how do I find out which packages are in Peppermint OS so I can emulate the basic environment, except with Arch underneath? Thanks, guys!
    Last edited by InfernalDante (2011-07-13 02:39:05)

    Okay, I guess an hour of Googling wasn't enough, but I just found a site that tells me how to do it! I'll mark this solved, but for anyone else who wants to know, the info is right here: http://www.cyberciti.biz/faq/find-out-i … -in-linux/ It uses dpkg, which I think is only used on Debian-based systems (correct me if I'm wrong) so it may not work for all distros, but it's a start.

  • Finding which OWA packages are available for use in the schema/database

    Hello,
    When I type in the following in SQLplus:
    select owa_util.get_version from dual
    It returns with
    GET_VERSION
    9.0.4.0.1
    Is it possible to write a query that tells me which OWA packages are included in version 9.0.4.0.1
    I’m interested in the OWA_SEC package
    Thank You
    Douglas

    THANK YOU….
    I have another question:
    I have successfully compiled the following package:
    (It is based on a package in the text “Oracle Web Application Programming for PL/SQL Developers” by Susan Boardman etc… page 687-688
    The SPEC and BODY code is as follows:
    CREATE OR REPLACE PACKAGE AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN;
    PROCEDURE HELLO_WORLD;
    END;
    CREATE OR REPLACE PACKAGE BODY AUTHEN_TEST IS
    FUNCTION AUTHORIZE RETURN BOOLEAN IS
    v_user VARCHAR2(10);
    v_password VARCHAR2(10);
    BEGIN
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    IF v_user = 'PREN' AND v_password = 'HALL' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END AUTHORIZE;
    PROCEDURE HELLO_WORLD IS
    v_status BOOLEAN;
    BEGIN
    htp.p('TESTING');
    v_status := authorize;
    IF v_status = TRUE THEN
    htp.p('WENT TO PASSWORD SECTION');
    ELSE
    htp.p('DID NOT GO TO PASSWORD SECTION');
    END IF;
    END HELLO_WORLD;
    END AUTHEN_TEST;
    As I said the code compiles!!
    However what I want it to do is successfully run the following code from the package:
    owa_sec.set_protection_realm('The Realm of Testing');
    v_user := UPPER(owa_sec.get_user_id);
    v_password := UPPER(owa_sec.get_password);
    and have the user be asked for a password and login
    Currently when I run it the browser displays:
    TESTING DID NOT GO TO PASSWORD SECTION
    Any advice is appreciated
    Thank You
    Douglas

  • Which R packages are required for Predictive Analysis?

    Hi,
    I have installed SAP Predictive Analysis and have installed R - 3.0.0.
    When I try to use the predict functionality in PA, i keep receiving error messages (such as the one attached).
    Is it because I havent installed all of the right packages in R? If so, which packages do I need to install in R?
    Thanks in a advance for any help.
    Emma

    Hi Emma, you can find this doc about configuration of R for previous version with R 2.15 :
    How to Manually Install and Configure Open Source R on Microsoft Windows 7 for SAP PA 1.0
    Required packages are:
    rJava
    RODBC
    RJDBC
    DBI
    monmlp
    AMORE
    XML
    pmml
    arules
    caret
    reshape
    plyr
    foreach
    iterator
    I have installed these packages with R 3.0.1 with PA 1.19 and it's working.
    Hope it helps,
    Edouard

  • Which package provides libvdpau_i965.so?

    I have a laptop with Intel HD Graphics running Arch x86_64. Everything had been operating normally until recently. I tried playing mp3 samples from Amazon and noticed that the icon would spin and try to play, but never actually did. I checked that all plugins were installed and they are. It worked fine in Chromium, so I assumed a bug in Firefox. I recompiled Firefox with debug symbols and ran it from terminal. When trying to play a sample I get Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory. I checked and this file is missing from my system. I have researched quite a bit and found others missing this file, but no concrete way to fix the issue. The latest libvdpau is already installed. Any help is appreciated!

    Which package provides libvdpau_i965.so?
    I found how to get it to work - sort of.  I'm not really impressed with the results. Using arch enlightenment with wayland.
    You need libvdpau-va-gl installed.
    Symlink libvdpau_i965.so.1 to libvdpau_va_gl.so.1
    cd /usr/lib/vdpau/
    ln -s libvdpau_va_gl.so.1 libvdpau_i965.so.1
    $ vdpauinfo
    display: :0.0 screen: 0
    [VS] Software VDPAU backend library initialized
    libva info: VA-API version 0.36.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_36
    libva info: va_openDriver() returns 0
    API version: 1
    Information string: OpenGL/VAAPI/libswscale backend for VDPAU
    vdpauinfo is available from AUR.

  • [SOLVED] pacman: which package should I install for a given file?

    Hi there!
    I'm still trying to learn arch's essentials. A question coming up frequently is:
    Say I know I need file /usr/bin/zipinfo. How do I find out which package it's delivered in? The only thing remotely similar in the wiki is
    pacman -Qo /path/to/a/file
    but this only works for already installed packages. So what next?
    Best wishes,
    Rufus
    P.S.: google told me the package is called unzip so that's not the problem. Still, there has to be some way to get this information from the command line.
    Last edited by RufusD (2010-04-24 15:30:31)

    brilliant, thanks! I could have figured it's not a standard pacman function (since the situation is similar with debian's apt-get).
    Maybe this is worth a mention on pacman's wiki page. This is the first time arch's fabulous wiki let me down
    Last edited by RufusD (2010-04-24 15:32:35)

  • Which package for saving a variant of transaction SM30?

    Hello,
    I use SHD0 to create a variant of the transaction SM30. After saving it, I got the dialog to select the package. Z* packages are not allowed, only SAP Packages. Which is the correct package for saving the variant?
    Best regards,
    Alexander

    I create them in SE93.
    Z* Transaction code.  Transaction with variant.
    The transaction is  SM30. 
    The default values are:
    update X or blank for non-edit
    VIEWNAME:  **
    where ** is the name of the table you are maintaining.
    Michelle

  • How can I find out which tables are having DDL locks?

    I can see related information by querying DBA_DDL_LOCKS view, but it doesn't give me the information which tables are having DDL locks.
    Is there a way I can find out which tables are having DDL locks?
    Thanks!

    Here's a long script written back in 2001. Still works:
    BREAK on sid on serial# on username
    COL sid        for 9999
    COL serial#    for 99999
    COL username   for a20
    COL type       for a20    trunc
    COL lmode      for a5     trunc
    COL lrequest   for a4     trunc
    COL detail     for a75    trunc
    SELECT   s.sid
           , s.serial#
           , s.username
           , DECODE(
                  l.TYPE
                -- Long locks
                , 'TM', 'dml/data enq (TM)'
                , 'TX', 'transac enq (TX) '
                , 'UL', 'pls usr lock (UL)'
                -- Short locks
                , 'BL', 'buf hash tbl (BL)'
                , 'CF', 'control file (CF)'
                , 'CI', 'cross inst f (CI)'
                , 'CU', 'cursor bind (CU) '
                , 'DF', 'data file (CF)   '
                , 'DL', 'direct load (DL) '
                , 'DM', 'mount/strtup (DM)'
                , 'DR', 'reco lock (DR)   '
                , 'DX', 'distrib tran (DX)'
                , 'FI', 'sga opn file (FI)'
                , 'FS', 'file set (FS)    '
                , 'IN', 'instance num (IN)'
                , 'IR', 'instce recvr (IR)'
                , 'IS', 'get state (IS)   '
                , 'IV', 'libcache inv (IV)'
                , 'JQ', 'job queue (JQ)   '
                , 'KK', 'log sw kick (KK) '
                , 'LS', 'log switch (LS)  '
                , 'MM', 'mount def (MM)   '
                , 'MR', 'media recvry (MR)'
                , 'PF', 'pwfile enq (PF)  '
                , 'PR', 'process strt (PR)'
                , 'RW', 'row wait (RW)    '
                , 'RT', 'redo thread (RT) '
                , 'SC', 'scn enq (SC)     '
                , 'SM', 'smon lock (SM)   '
                , 'SN', 'seqno instce (SN)'
                , 'SQ', 'seqno enq (SQ)   '
                , 'ST', 'space transc (ST)'
                , 'SV', 'seqno value (SV) '
                , 'TA', 'generic enq (TA) '
                , 'TD', 'dll enq (TD)     '
                , 'TE', 'extend seg (TE)  '
                , 'TS', 'temp segment (TS)'
                , 'TT', 'temp table (TT)  '
                , 'UN', 'user name (UN)   '
                , 'WL', 'write redo (WL)  '
                , 'TYPE = ' || l.TYPE) AS type
           , DECODE(l.lmode, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.lmode)) A
    S lmode
           , DECODE(l.request, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.request
    )) AS lrequest
           , DECODE(
                  l.TYPE
                , 'JQ', 'Job #' || j.job || ' (' || j.what || ') owned by: ' || j.username
                , 'MR', DECODE(s.user_type, 'BG', 'DICTIONARY OBJECT', LOWER(obj.owner) || '.' || LOWER(obj.name))
    || ' (' || LOWER(obj.TYPE) || ')'
                , 'RT', 'thread #' || LOWER(l.id1)
                , 'RW', 'file#' || LOWER(SUBSTR(l.id1, 1, 3)) || ', block#' || LOWER(SUBSTR(l.id1, 4, 5)) || ', ro
    w#' || LOWER(l.id2)
                , 'TD', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TM', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TS', DECODE(l.id2, 0, 'enqueue', 'new block allocation')
                , 'TX', DECODE(
                             lo.object_name
                           , NULL, 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1)
                           , 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1) || ', object: ' || LOWE
    R(lo.object_name))
                , 'UL', 'lock name: ' || la.name || ', expiration date: ' || TO_CHAR(la.expiration, 'DD-MON-RR HH2
    4:MI:SS')
                , 'WL', 'redo log file#' || LOWER(l.id1)
                , 'id1 = ' || l.id1 || ', id2 = ' || l.id2) AS detail
        FROM sys.v_$lock l
           , (SELECT a.sid
                   , a.serial#
                   , NVL(a.username, 'SYS (' || LOWER(b.name) || ')') AS username
                   , DECODE(a.username, NULL, 'BG', 'USER') AS user_type
                FROM sys.v_$session a
                   , sys.v_$bgprocess b
               WHERE a.paddr = b.paddr(+)) s
           , (SELECT o.obj#
                   , u.name AS owner
                   , o.name
                   , DECODE(
                          o.type#
                        , 0, 'NEXT OBJECT'
                        , 1, 'INDEX'
                        , 2, 'TABLE'
                        , 3, 'CLUSTER'
                        , 4, 'VIEW'
                        , 5, 'SYNONYM'
                        , 6, 'SEQUENCE'
                        , 7, 'PROCEDURE'
                        , 8, 'FUNCTION'
                        , 9, 'PACKAGE'
                        , 11, 'PACKAGE BODY'
                        , 12, 'TRIGGER'
                        , 13, 'TYPE'
                        , 14, 'TYPE BODY'
                        , 19, 'TABLE PARTITION'
                        , 20, 'INDEX PARTITION'
                        , 22, 'LIBRARY'
                        , 23, 'DIRECTORY'
                        , 24, 'QUEUE'
                        , 28, 'JAVA SOURCE'
                        , 29, 'JAVA CLASS'
                        , 30, 'JAVA RESOURCE'
                        , 32, 'INDEXTYPE'
                        , 33, 'OPERATOR'
                        , 34, 'TABLE SUBPARTITION'
                        , 35, 'INDEX SUBPARTITION'
                        , 39, 'LOB PARTITION'
                        , 40, 'LOB SUBPARTITION'
                        , 43, 'DIMENSION'
                        , 44, 'CONTEXT'
                        , 47, 'RESOURCE PLAN'
                        , 48, 'CONSUMER GROUP'
                        , 51, 'SUBSCRIPTION'
                        , 52, 'LOCATION'
                        , 'UNDEFINED') AS type
                FROM sys.obj$ o
                   , sys.user$ u
               WHERE o.owner# = u.user#) obj
           , (SELECT vlo.xidusn
                   , vlo.xidslot
                   , vlo.xidsqn
                   , vlo.process
                   , o.owner || '.' || o.object_name AS object_name
                FROM sys.v_$locked_object vlo
                   , sys.dba_objects o
               WHERE vlo.object_id = o.object_id) lo
           , (SELECT job
                   , schema_user AS username
                   , what
                FROM dba_jobs) j
           , sys.dbms_lock_allocated la
       WHERE l.sid = s.sid
         AND l.id1 = obj.obj#(+)
         AND l.id2 = j.job(+)
         AND TRUNC(l.id1 / 65536) = lo.xidusn(+)
         AND LOWER(l.id1) = lo.xidslot(+)
         AND l.id2 = lo.xidsqn(+)
         AND l.id1 = la.lockid(+)
         AND l.TYPE != 'MR'
    UNION ALL
                      /*** LATCH HOLDERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'X'
           , 'none'
           , h.name || ' addr=' || LOWER(RAWTOHEX(laddr)) AS object
        FROM sys.v_$process p
           , sys.v_$session s
           , sys.v_$latchholder h
       WHERE h.pid = p.pid
         AND p.addr = s.paddr
    UNION ALL
                      /*** LATCH WAITERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'none'
           , 'X'
           , name || ' latch=' || p.latchwait AS object
        FROM sys.v_$session s
           , sys.v_$process p
           , sys.v_$latch l
       WHERE latchwait IS NOT NULL
         AND p.addr = s.paddr
         AND p.latchwait = l.addr
    ORDER BY sid
           , serial#
           , username
           , 4
           , 5
           , 6
           , 7;

Maybe you are looking for

  • ERROR: The folder path 'All Pictures' contains an invalid character... ???

    I get that error when i try to install itunes i do use an external hard drive to store my pictures, music, etc... in my start menu, when i click the shortcuts for pictures or music, they do not work. When i right click them and hit properties, everyt

  • Basic Questions/Advice

    I would like to create a series of instructional videos that will be placed on a DVD and become linked from a main menu. Some of the primary links on the main menu will open new menu pages with additional links for other videos. 1.) I am not sure if

  • Adobe Flash Player not working since update

    Good Morning, I had a update yesterday and since then anything that uses Flash Player doesn't work, it stops sends a report to apple and thats it i've tried uninstalling the flash player and still nothing, I tried repairing the permissions in disk ut

  • FQDN Error - Lion Server Log

    Today I noticed in our log that this message was appearing: Feb 10 09:51:07 systemname org.apache.httpd[2808]: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName I replaced the system's name w

  • IPhoto '08 won't save photos

    After installing iPhoto '08 over the previous version, which was working properly, I can't seem to save the photos I download from my camera. I get this message: "Some recent changes may be lost. Make sure your hard disk has enough space and that iPh