Help needed in identifying the performance bottle neck

Version: Oracle 11g
I have application which accesses an Oracle DB. With only one application accessing the DB, the application is quite fast in retrieving the results from the DB or inserting results into the DB.
But if another application is added accessing the same database but different data from the database, the speed of the application has reduced drastically..
Can anybody tell me what are the possible reasons for such reductions in the speed of the application..

Hi,
Run statspack/AWR for each case for 5 minute and see the diffrencess.

Similar Messages

  • Help needed in Identifying dependent objects

    Hi all,
    Basically I need to identify the object related to Integration which is not there in one of our software product under development as compare to other(existing) already developed so that we can apply them in the product being developed.
    I need to find these below from few of the packages given to me
         dependent packages/functions to read and update data
    1)     Tables
    2)     Packages
    3)     Triggers
    4)     Views
    5) Jobs
    I would request you to help me in carrying out this faster, I have plsql Developer tool, how to start with so that i m not mess up with and complete it faster.
    Regards,
    Asif.

    Thankx Pierre Forstmann.
    Dear All,
    Can any one help me in identifying all dependent objects for one object.
    Will this works for me I found from the above link provided,
    as for the time being I do not have the dba priviliges...
    If I am able to get the dba prviliges will this code works for me to get the
    required information....
    Regards,
    AAK.
    SQL>
    create or replace type myScalarType as object
    ( lvl number,
    rname varchar2(30),
    rowner varchar2(30),
    rtype varchar2(30)
    Type created.
    SQL> create or replace type myTableType as table of
    myScalarType
    Type created.
    SQL>
    SQL> create or replace
    function depends( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2 default USER,
    p_lvl in number default 1 ) return myTableType
    AUTHID CURRENT_USER
    as
    l_data myTableType := myTableType();
    procedure recurse( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2,
    p_lvl in number )
    is
    begin
    if ( l_data.count > 1000 )
    then
    raise_application_error( -20001, 'probable connect by loop,
    aborting' );
    end if;
    for x in ( select /*+ first_rows */ referenced_name,
    referenced_owner,
    referenced_type
    from dba_dependencies
    where owner = p_owner
    and type = p_type
    and name = p_name )
    loop
    l_data.extend;
    l_data(l_data.count) :=
    myScalarType( p_lvl, x.referenced_name,
    x.referenced_owner, x.referenced_type );
    recurse( x.referenced_name, x.referenced_type,
    x.referenced_owner, p_lvl+1);
    end loop;
    end;
    begin
    l_data.extend;
    l_data(l_data.count) := myScalarType( 1, p_name, p_owner, p_type );
    recurse( p_name, p_type, p_owner, 2 );
    return l_data;
    end;
    Function created.
    SQL>
    SQL> set timing on
    SQL>
    SQL> select * from table(
    cast(depends('DBA_VIEWS','VIEW','SYS') as myTableType ) );
    ---select * from table(cast('USER_VIEWS') as myTableType ) );
    LVL     RNAME          ROWNER          RTYPE
    1     DBA_VIEWS     SYS               VIEW
    2     TYPED_VIEW$ SYS               TABLE
    2     USER$          SYS               TABLE
    2     VIEW$          SYS               TABLE
    2     OBJ$          SYS               TABLE
    2     SUPEROBJ$ SYS               TABLE
    2     STANDARD SYS               PACKAGE
    7 rows selected.
    Elapsed: 00:00:00.42
    SQL>
    SQL>
    SQL> drop table t;
    Table dropped.
    Elapsed: 00:00:00.13
    SQL> create table t ( x int );
    Table created.
    Elapsed: 00:00:00.03
    SQL> create or replace view v1 as select * from t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v2 as select t.x xx, v1.x yy from
    v1, t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v3 as select v2.*, t.x xxx, v1.x
    yyy from v2, v1, t;
    View created.
    Elapsed: 00:00:00.07
    SQL>
    SQL>
    SQL> select lpad(' ',lvl*2,' ') || rowner || '.' || rname ||
    '(' || rtype || ')' hierarchy
    2 from table( cast(depends('V3','VIEW') as myTableType ) );
    HIERARCHY
    OPS$TKYTE.V3(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V2(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    8 rows selected.
    Message was edited by:
    460425

  • Help needed to optimize the query

    Help needed to optimize the query:
    The requirement is to select the record with max eff_date from HIST_TBL and that max eff_date should be > = '01-Jan-2007'.
    This is having high cost and taking around 15mins to execute.
    Can anyone help to fine-tune this??
       SELECT c.H_SEC,
                    c.S_PAID,
                    c.H_PAID,
                    table_c.EFF_DATE
       FROM    MTCH_TBL c
                    LEFT OUTER JOIN
                       (SELECT b.SEC_ALIAS,
                               b.EFF_DATE,
                               b.INSTANCE
                          FROM HIST_TBL b
                         WHERE b.EFF_DATE =
                                  (SELECT MAX (b2.EFF_DATE)
                                     FROM HIST_TBL b2
                                    WHERE b.SEC_ALIAS = b2.SEC_ALIAS
                                          AND b.INSTANCE =
                                                 b2.INSTANCE
                                          AND b2.EFF_DATE >= '01-Jan-2007')
                               OR b.EFF_DATE IS NULL) table_c
                    ON  table_c.SEC_ALIAS=c.H_SEC
                       AND table_c.INSTANCE = 100;

    To start with, I would avoid scanning HIST_TBL twice.
    Try this
    select c.h_sec
         , c.s_paid
         , c.h_paid
         , table_c.eff_date
      from mtch_tbl c
      left
      join (
              select sec_alias
                   , eff_date
                   , instance
                from (
                        select sec_alias
                             , eff_date
                             , instance
                             , max(eff_date) over(partition by sec_alias, instance) max_eff_date
                          from hist_tbl b
                         where eff_date >= to_date('01-jan-2007', 'dd-mon-yyyy')
                            or eff_date is null
               where eff_date = max_eff_date
                  or eff_date is null
           ) table_c
        on table_c.sec_alias = c.h_sec
       and table_c.instance  = 100;

  • I suspect a spy app on my iphone 4 that somebody watching my calls/ voice conversation. Can somebody help me to identify the app and how to remove it?

    I suspect a spy app on my iphone 4 that somebody watching my calls/ voice conversation. Can somebody help me to identify the app and how to remove it?

    No spy app can be installed on iphone which is not jailbroken.
    For example iKeyMonitor iPhone spy can not be installed without jailbroken.
    http://ikeymonitor.com

  • Need Help to see why the performance is not good

    Hi,
    We have an application that all process are developed in PL/SQL on Oracle 9i Database :
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    PL/SQL Release 9.2.0.6.0 - Production
    Why I have created this package. the application is a production management on chemical industries. I need to sometimes trace the Manufacturing order execution to eventually answer some incoherent data. If I analyze directly the data in the Table is not always responding because the origin of problem can be provide of some execution that perform some calculation.
    In the procedure or function a use my package PAC_LOG_ERROR.PUT_LINE(xxxxxx) to save the information. This command save the information in the memory before. At the end of the procedure or function a perform the insert with the COMMIT calling PAC_LOG_ERROR.LOGS or PAC_LOG_ERROR.ERRORS on the catch exception.
    This package is always call. On each routines performed I execute it. In the trace log of the database we have see a problem we the procedure GET_PROC_NAME in the package. We have identify that is called more that 800x and increase the performance. Who increase is this select command :
        SELECT * INTO SOURCE_TEXT
        FROM (SELECT TEXT FROM all_source
            WHERE OWNER = SOURCE_OWNER AND
                  NAME=SOURCE_NAME AND
                  TYPE IN ('PROCEDURE','FUNCTION','PACKAGE BODY') AND
                  LINE <= SOURCE_LINE AND SUBSTR(TRIM(TEXT),1,9) IN ('PROCEDURE','FUNCTION ')
            ORDER BY LINE DESC)
        WHERE ROWNUM = 1;I use it to get the procedure or function name where my log proc is called. I now that I can pass in parameters, but I have think to use an automatic method, that can help to not have some problem with others developer team to make a copy/past and not update the parameters. Because the Log info is read by the Help Desk and if we have an error on the information, it not a good help.
    COULD YOU PLEASE HELP ME TO OPTIMIZE OR SAID THE BETTER METHOD TO DO IT ?
    Here my package :
    create or replace
    PACKAGE PAC_LOG_ERROR AS
    -- Name         : pac_log_error.sql
    -- Author       : Calà Salvatore - 02 July 2010
    -- Description  : Basic Error and Log management.
    -- Usage notes  : To active the Log management execute this statement
    --                UPDATE PARAM_TECHNIC SET PRM_VALUE = 'Y' WHERE PRM_TYPE = 'TRC_LOG';
    --                COMMIT;
    --                To set the period in day before to delete tracability
    --                UPDATE PARAM_TECHNIC SET PRM_VALUE = 60 WHERE PRM_TYPE = 'DEL_TRC_LOG';
    --                COMMIT;
    --                To set the number in day where the ERROR is save before deleted
    --                UPDATE PARAM_TECHNIC SET PRM_VALUE = 60 WHERE PRM_TYPE = 'DEL_TRC_LOG';
    --                COMMIT;
    -- Requirements : Packages PAC_PUBLIC and OWA_UTIL
    -- Revision History
    -- --------+---------------+-------------+--------------------------------------
    -- Version |    Author     |  Date       | Comment
    -- --------+---------------+-------------+--------------------------------------
    -- 1.0.0   | S. Calà       | 02-Jul-2010 | Initial Version
    -- --------+---------------+-------------+--------------------------------------
    --         |               |             |
    -- --------+---------------+-------------+--------------------------------------
      PROCEDURE INITIALIZE;
      PROCEDURE CLEAN;
      PROCEDURE RESETS(IN_SOURCE IN VARCHAR2 DEFAULT NULL);
      PROCEDURE PUT_LINE(TXT IN VARCHAR2);
      PROCEDURE ERRORS(REF_TYPE IN VARCHAR2 DEFAULT 'SITE', REF_VALUE IN VARCHAR2 DEFAULT '99', ERR_CODE IN NUMBER DEFAULT SQLCODE, ERR_MSG IN VARCHAR2 DEFAULT SQLERRM);
      PROCEDURE LOGS(REF_TYPE IN VARCHAR2 DEFAULT 'SITE', REF_VALUE IN VARCHAR2 DEFAULT '99');
    END PAC_LOG_ERROR;
    create or replace
    PACKAGE BODY PAC_LOG_ERROR
    AS
      /* Private Constant */
      CR    CONSTANT CHAR(1)  := CHR(13);  -- Retour chariot
      LF    CONSTANT CHAR(1)  := CHR(10);  -- Saut de ligne
      CR_LF CONSTANT CHAR(2)  := LF || CR; --Saut de ligne et retour chariot
      TAB   CONSTANT PLS_INTEGER := 50;
      sDelay   CONSTANT PLS_INTEGER := 30;
      /* Private Record */
      TYPE REC_LOG IS RECORD(
        ERR_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
        ERR_TXT  VARCHAR2(4000)
      /* Private Type Table */
      TYPE TAB_VALUE IS TABLE OF REC_LOG INDEX BY PLS_INTEGER;
      TYPE TAB_POINTER IS TABLE OF TAB_VALUE INDEX BY VARCHAR2(80);
      /* Private Variables Structures */
      LOG_TRC PARAM_TECHNIC.PRM_VALUE%TYPE;
      LIST_PARAM TAB_POINTER;
      /* Private Programs */
      FUNCTION GET_PROC_NAME( SOURCE_OWNER IN all_source.OWNER%TYPE
                             ,SOURCE_NAME  IN all_source.NAME%TYPE
                             ,SOURCE_LINE  IN all_source.LINE%TYPE) RETURN VARCHAR2
      AS
        SOURCE_TEXT  all_source.TEXT%TYPE;
        TYPE RECORD_TEXT IS TABLE OF all_source.TEXT%TYPE;
        RETURN_TEXT     RECORD_TEXT;
      BEGIN
        SELECT * INTO SOURCE_TEXT
        FROM (SELECT TEXT FROM all_source
            WHERE OWNER = SOURCE_OWNER AND
                  NAME=SOURCE_NAME AND
                  TYPE IN ('PROCEDURE','FUNCTION','PACKAGE BODY') AND
                  LINE <= SOURCE_LINE AND SUBSTR(TRIM(TEXT),1,9) IN ('PROCEDURE','FUNCTION ')
            ORDER BY LINE DESC)
        WHERE ROWNUM = 1;
        IF SOURCE_TEXT IS NOT NULL OR  SOURCE_TEXT != '' THEN
          SOURCE_TEXT := TRIM(SUBSTR(SOURCE_TEXT,1,INSTR(SOURCE_TEXT,'(')-1));     
          SOURCE_TEXT := LTRIM(LTRIM(TRIM(SOURCE_TEXT),'PROCEDURE'),'FUNCTION');
          SOURCE_TEXT := SOURCE_NAME||'.'|| TRIM(SOURCE_TEXT);
        ELSE
          SOURCE_TEXT := 'ANONYMOUS BLOCK';
        END IF;
        RETURN SOURCE_TEXT;
      END GET_PROC_NAME;
      PROCEDURE SELECT_MASTER(REF_TYPE IN VARCHAR2, PARAM_VALUE IN VARCHAR2, SITE OUT VARCHAR2, REF_MASTER OUT VARCHAR2)
      AS
      BEGIN
          REF_MASTER := '';
          SITE := '99';
          CASE UPPER(REF_TYPE)
            WHEN 'PO' THEN -- Process Order
              SELECT SITE_CODE INTO SITE FROM PO_PROCESS_ORDER WHERE PO_NUMBER = PARAM_VALUE;
            WHEN 'SO' THEN -- Shop Order
              SELECT P.SITE_CODE,P.PO_NUMBER INTO SITE,REF_MASTER FROM SO_SHOP_ORDER S
              INNER JOIN PO_PROCESS_ORDER P ON P.PO_NUMBER = S.PO_NUMBER
              WHERE S.NUMOF = PARAM_VALUE;
            WHEN 'SM' THEN -- Submixing
              SELECT SITE_CODE,NUMOF INTO SITE,REF_MASTER FROM SO_SUBMIXING WHERE IDSM = PARAM_VALUE;
            WHEN 'IDSM' THEN -- Submixing
              SELECT SITE_CODE,NUMOF INTO SITE,REF_MASTER FROM SO_SUBMIXING WHERE IDSM = PARAM_VALUE;
            WHEN 'PR' THEN -- Pourring
              SELECT B.SITE_CODE,P.NUMOF INTO SITE,REF_MASTER FROM SO_POURING P
              INNER JOIN SO_SUBMIXING B ON B.IDSM=P.IDSM
              WHERE P.IDSM = PARAM_VALUE;
            WHEN 'NUMSMP' THEN -- Pourring
              SELECT SITE_CODE,NUMOF INTO SITE,REF_MASTER FROM SAMPLE WHERE NUMSMP = TO_NUMBER(PARAM_VALUE);
    --        WHEN 'MSG' THEN -- Messages
    --          SELECT SITE_CODE,PO_NUMBER INTO SITE,REF_MASTER FROM CMS_INTERFACE.MAP_ITF_PO WHERE MSG_ID = PARAM_VALUE;
            ELSE
              SITE := sys_context('usr_context', 'site_attribute');
          END CASE;
      EXCEPTION
        WHEN OTHERS THEN
          REF_MASTER := '';
          SITE := sys_context('usr_context', 'site_attribute');
      END SELECT_MASTER;
      PROCEDURE ADD_LIST_PROC
      AS
      PRAGMA AUTONOMOUS_TRANSACTION;
      BEGIN
        MERGE INTO LOG_PARAM A
        USING (SELECT OWNER, TYPE
                     ,NAME PROC
                     , CASE NAME WHEN SUBNAME THEN NULL
                                 ELSE SUBNAME
                       END SUBPROC
               FROM (
                  SELECT owner,TYPE,UPPER(NAME) NAME,UPPER(trim(substr(substr(trim(text),1,instr(trim(text),'(')-1),instr(substr(trim(text),1,instr(trim(text),'(')-1),' ')))) SUBNAME
                         FROM ALL_SOURCE where owner in ('CMS_ADM','CMS_INTERFACE')
                                             and type in ('FUNCTION','PROCEDURE','PACKAGE BODY')
                                             and (instr(substr(trim(text),1,instr(trim(upper(text)),'(')-1),'FUNCTION') = 1 or instr(substr(trim(text),1,instr(trim(upper(text)),'(')-1),'PROCEDURE')=1)
               )-- ORDER BY OWNER,PROC,SUBPROC NULLS FIRST
        ) B
        ON (A.OWNER = B.OWNER AND A.TYPE = B.TYPE AND A.PROC=B.PROC AND NVL(A.SUBPROC,' ') = NVL(B.SUBPROC,' '))
        WHEN NOT MATCHED THEN
          INSERT (OWNER,TYPE,PROC,SUBPROC) VALUES (B.OWNER,B.TYPE,B.PROC,B.SUBPROC)
        WHEN MATCHED THEN
          UPDATE SET ACTIVE = ACTIVE;
        DELETE LOG_PARAM A
        WHERE NOT EXISTS (SELECT OWNER, TYPE
                     ,NAME PROC
                     , CASE NAME WHEN SUBNAME THEN NULL
                                 ELSE SUBNAME
                       END SUBPROC
               FROM (
                  SELECT owner,TYPE,NAME,upper(trim(substr(substr(trim(text),1,instr(trim(text),'(')-1),instr(substr(trim(text),1,instr(trim(text),'(')-1),' ')))) SUBNAME
                         FROM ALL_SOURCE where owner in ('CMS_ADM','CMS_INTERFACE')
                                             and type in ('FUNCTION','PROCEDURE','PACKAGE BODY')
                                             and (instr(substr(trim(text),1,instr(trim(text),'(')-1),'FUNCTION') = 1 or instr(substr(trim(text),1,instr(trim(text),'(')-1),'PROCEDURE')=1)
               ) WHERE A.OWNER = OWNER AND A.TYPE = TYPE AND A.PROC=PROC AND NVL(A.SUBPROC,' ') = NVL(SUBPROC,' '));
        COMMIT;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END ADD_LIST_PROC;
      PROCEDURE INITIALIZE
      AS
      BEGIN
        LIST_PARAM.DELETE;
        CLEAN;
    --    ADD_LIST_PROC;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END INITIALIZE;
      PROCEDURE CLEAN
      AS
        PRAGMA AUTONOMOUS_TRANSACTION;
        dtTrcLog DATE;
        dtTrcErr DATE;
      BEGIN
        BEGIN
          SELECT dbdate-NUMTODSINTERVAL(to_number(PRM_VALUE),'DAY') INTO dtTrcLog
          FROM PARAM_TECHNIC WHERE PRM_TYPE = 'DEL_TRC_LOG';
        EXCEPTION
          WHEN OTHERS THEN
            dtTrcLog := dbdate -NUMTODSINTERVAL(sDelay,'DAY');
        END;
        BEGIN
          SELECT dbdate-NUMTODSINTERVAL(to_number(PRM_VALUE),'DAY') INTO dtTrcErr
          FROM PARAM_TECHNIC WHERE PRM_TYPE = 'DEL_TRC_ERR';
        EXCEPTION
          WHEN OTHERS THEN
            dtTrcErr := dbdate -NUMTODSINTERVAL(sDelay,'DAY');
          END;
        DELETE FROM ERROR_LOG WHERE ERR_TYPE ='LOG' AND ERR_DATE < dtTrcLog;
        DELETE FROM ERROR_LOG WHERE ERR_TYPE ='ERROR' AND ERR_DATE < dtTrcErr;
        COMMIT;
      EXCEPTION
        WHEN OTHERS THEN
          NULL; -- Do nothing if error occurs and catch exception
      END CLEAN;
      PROCEDURE RESETS(IN_SOURCE IN VARCHAR2 DEFAULT NULL)
      AS
        SOURCE_OWNER all_source.OWNER%TYPE;
        SOURCE_NAME      all_source.NAME%TYPE;
        SOURCE_LINE      all_source.LINE%TYPE;
        SOURCE_TEXT  all_source.TEXT%TYPE;
        SOURCE_PROC  VARCHAR2(32727);
      BEGIN
        OWA_UTIL.WHO_CALLED_ME(owner    => SOURCE_OWNER,
                               name     => SOURCE_NAME,
                               lineno   => SOURCE_LINE,
                               caller_t => SOURCE_TEXT);
        IF SOURCE_PROC IS NULL THEN
          SOURCE_PROC := SUBSTR(GET_PROC_NAME(SOURCE_OWNER,SOURCE_NAME,SOURCE_LINE),1,125);
        ELSE
          SOURCE_PROC := IN_SOURCE;
        END IF;
        LIST_PARAM.DELETE(SOURCE_PROC);
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END RESETS;
      PROCEDURE PUT_LINE(TXT IN VARCHAR2)
      AS
        PRAGMA AUTONOMOUS_TRANSACTION;
        SOURCE_OWNER     all_source.OWNER%TYPE;
        SOURCE_NAME     all_source.NAME%TYPE;
        SOURCE_LINE     all_source.LINE%TYPE;
        SOURCE_TEXT all_source.TEXT%TYPE;
        SOURCE_PROC VARCHAR2(128); 
      BEGIN
        IF TXT IS NULL OR TXT = '' THEN
          RETURN;
        END IF;
        OWA_UTIL.WHO_CALLED_ME(owner    => SOURCE_OWNER,
                               name     => SOURCE_NAME,
                               lineno   => SOURCE_LINE,
                               caller_t => SOURCE_TEXT);
        SOURCE_PROC := GET_PROC_NAME(SOURCE_OWNER,SOURCE_NAME,SOURCE_LINE);
        IF LIST_PARAM.EXISTS(SOURCE_PROC) THEN
          LIST_PARAM(SOURCE_PROC)(LIST_PARAM(SOURCE_PROC).COUNT+1).ERR_TXT := TXT;
        ELSE 
          LIST_PARAM(SOURCE_PROC)(1).ERR_TXT := TXT;
        END IF;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;   
      END PUT_LINE;
      PROCEDURE LOGS(REF_TYPE IN VARCHAR2 DEFAULT 'SITE', REF_VALUE IN VARCHAR2 DEFAULT '99')
      AS
        PRAGMA AUTONOMOUS_TRANSACTION;
        MASTER_VALUE ERROR_LOG.ERR_MASTER%TYPE;
        SITE PARAMTAB.SITE_CODE%TYPE;
        SOURCE_OWNER     all_source.OWNER%TYPE;
        SOURCE_NAME     all_source.NAME%TYPE;
        SOURCE_LINE     all_source.LINE%TYPE;
        SOURCE_TEXT all_source.TEXT%TYPE;
        SOURCE_PROC VARCHAR2(128);
        ERR_KEY NUMBER;
      BEGIN
    --    NULL;
        OWA_UTIL.WHO_CALLED_ME(owner    => SOURCE_OWNER,
                               name     => SOURCE_NAME,
                               lineno   => SOURCE_LINE,
                               caller_t => SOURCE_TEXT);
        SOURCE_PROC := SUBSTR(GET_PROC_NAME(SOURCE_OWNER,SOURCE_NAME,SOURCE_LINE),1,128);
        LIST_PARAM.DELETE(SOURCE_PROC);
    --    SELECT NVL(MAX(ACTIVE),'N') INTO LOG_TRC FROM LOG_PARAM WHERE TRIM(UPPER((PROC||'.'||SUBPROC))) = TRIM(UPPER(SOURCE_PROC))
    --                                      AND OWNER =SOURCE_OWNER AND TYPE = SOURCE_TEXT ;
    --    IF LOG_TRC = 'N' THEN
    --      LIST_PARAM.DELETE(SOURCE_PROC);
    --      RETURN;
    --    END IF;   
    --    SELECT_MASTER(REF_TYPE => UPPER(REF_TYPE), PARAM_VALUE => REF_VALUE, SITE => SITE, REF_MASTER => MASTER_VALUE);
    --    ERR_KEY := TO_CHAR(LOCALTIMESTAMP,'YYYYMMDDHH24MISSFF6');
    --    FOR AIX IN 1..LIST_PARAM(SOURCE_PROC).COUNT LOOP
    --      INSERT INTO ERROR_LOG (ERR_KEY, ERR_SITE,ERR_SLAVE  ,ERR_MASTER  ,ERR_TYPE ,ERR_PROC,ERR_DATE,ERR_TXT)
    --      VALUES (ERR_KEY,SITE,REF_VALUE,MASTER_VALUE,'LOG',SOURCE_PROC,LIST_PARAM(SOURCE_PROC)(AIX).ERR_DATE ,LIST_PARAM(SOURCE_PROC)(AIX).ERR_TXT);
    --    END LOOP; 
    --    UPDATE SESSION_CONTEXT SET SCX_ERR_KEY = ERR_KEY WHERE SCX_ID = SYS_CONTEXT('USERENV','SESSIONID');
    --    LIST_PARAM.DELETE(SOURCE_PROC);
    --    COMMIT;
      EXCEPTION
        WHEN OTHERS THEN
          LIST_PARAM.DELETE(SOURCE_PROC);
      END LOGS;
      PROCEDURE ERRORS(REF_TYPE IN VARCHAR2 DEFAULT 'SITE', REF_VALUE IN VARCHAR2 DEFAULT '99', ERR_CODE IN NUMBER DEFAULT SQLCODE, ERR_MSG IN VARCHAR2 DEFAULT SQLERRM)
      AS
        PRAGMA AUTONOMOUS_TRANSACTION;
        MASTER_VALUE ERROR_LOG.ERR_MASTER%TYPE;
        SITE         PARAMTAB.SITE_CODE%TYPE;
        SOURCE_OWNER all_source.OWNER%TYPE;
        SOURCE_NAME      all_source.NAME%TYPE;
        SOURCE_LINE      all_source.LINE%TYPE;
        SOURCE_TEXT  all_source.TEXT%TYPE;
        SOURCE_PROC  VARCHAR2(4000);
        ERR_KEY NUMBER := TO_CHAR(LOCALTIMESTAMP,'YYYYMMDDHH24MISSFF6');
      BEGIN
        OWA_UTIL.WHO_CALLED_ME(owner    => SOURCE_OWNER,
                               name     => SOURCE_NAME,
                               lineno   => SOURCE_LINE,
                               caller_t => SOURCE_TEXT);
        SOURCE_PROC := SUBSTR(GET_PROC_NAME(SOURCE_OWNER,SOURCE_NAME,SOURCE_LINE),1,125);
        SELECT_MASTER(REF_TYPE => UPPER(REF_TYPE), PARAM_VALUE => REF_VALUE, SITE => SITE, REF_MASTER => MASTER_VALUE);
       IF LIST_PARAM.EXISTS(SOURCE_PROC) THEN
          FOR AIX IN 1..LIST_PARAM(SOURCE_PROC).COUNT LOOP
            INSERT INTO ERROR_LOG (ERR_KEY,ERR_SITE,ERR_SLAVE,ERR_MASTER,ERR_PROC,ERR_DATE,ERR_TXT,ERR_CODE,ERR_MSG)
            VALUES (ERR_KEY,SITE,REF_VALUE,MASTER_VALUE,SOURCE_PROC,LIST_PARAM(SOURCE_PROC)(AIX).ERR_DATE, LIST_PARAM(SOURCE_PROC)(AIX).ERR_TXT,ERR_CODE,ERR_MSG);
          END LOOP; 
         LIST_PARAM.DELETE(SOURCE_PROC);
        ELSE
          INSERT INTO ERROR_LOG (ERR_KEY,ERR_SITE,ERR_SLAVE,ERR_MASTER,ERR_PROC,ERR_DATE,ERR_TXT,ERR_CODE,ERR_MSG)
          VALUES (ERR_KEY,SITE,REF_VALUE,MASTER_VALUE,SOURCE_PROC,CURRENT_TIMESTAMP,'Error info',ERR_CODE,ERR_MSG);
        END IF;
        UPDATE SESSION_CONTEXT SET SCX_ERR_KEY = ERR_KEY WHERE SCX_ID = sys_context('usr_context', 'session_id');
        COMMIT;
      EXCEPTION
        WHEN OTHERS THEN
          LIST_PARAM.DELETE(SOURCE_PROC);
      END ERRORS;
    END PAC_LOG_ERROR;

    This package is always call. On each routines performed I execute it. In the trace log of the database we have see a problem we the procedure GET_PROC_NAME in the package. We have identify that is called more that 800x and increase the performance. Who increase is this select command :
        SELECT * INTO SOURCE_TEXT
        FROM (SELECT TEXT FROM all_source
            WHERE OWNER = SOURCE_OWNER AND
                  NAME=SOURCE_NAME AND
                  TYPE IN ('PROCEDURE','FUNCTION','PACKAGE BODY') AND
                  LINE <= SOURCE_LINE AND SUBSTR(TRIM(TEXT),1,9) IN ('PROCEDURE','FUNCTION ')
            ORDER BY LINE DESC)
        WHERE ROWNUM = 1;Complex SQL like inline views and views of views can overwhelm the cost-based optimizer resulting in bad execution plans. Start with getting an execution plan of your problem query to see if it is inefficient - look for full table scans in particular. You might bet better performance by eliminating the IN and merging the results of 3 queries with a UNION.

  • Help needed with identifying cause of Google Chrome crashes from a crash report

    Hello,
    I am trying to isolate a problem which is causing Google Chrome to crash. This is happening far too frequently - sometimes on opening, sometimes on web page loads and sometimes when viewing the preferences page.
    I'm using a 2012 Mac Mini running OS X 10.8.4.
    After many hours of trawling around the Internet and trying various suggestions, I am close to admitting defeat. Hopefully somebody here can save my sanity and point me towards a possible cause.
    To date, these are some of the things that I have tried:
    Replacing the 16GB of Crucial Ram with the stock Ram.
    Logging in as a Guest user and opening Chrome.
    Disabling all Chrome extensions (there are only 3 that I use anyway).
    Uninstalling Chrome and all associated files that I could find, then reinstalling.
    Booting into Safe Mode and loading Chrome.
    None of these have made a difference. There have also been a couple of times when Firefox has crashed, too. Safari has been rock solid. Yes, I could just use Safari, but there are personal reasons why I need to use Chrome. I also need to locate this problem in case it is something that might effect other applications … or possibly even be a hardware problem.
    Below is my most recent crash report. Frankly, it's contents are way outside of my comfort zone, so I am hoping that somebody will be able to help point me towards the relevant parts that might help me resolve this problem:
    Process:    
    Google Chrome [953]
    Path:       
    /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    Identifier: 
    com.google.Chrome
    Version:    
    28.0.1500.95 (1500.95)
    Code Type:  
    X86 (Native)
    Parent Process:  launchd [155]
    User ID:    
    501
    Date/Time:  
    2013-07-31 17:02:20.022 +0100
    OS Version: 
    Mac OS X 10.8.4 (12E55)
    Report Version:  10
    Interval Since Last Report:     
    74480 sec
    Crashes Since Last Report:      
    32
    Per-App Interval Since Last Report:  34565 sec
    Per-App Crashes Since Last Report:   6
    Anonymous UUID:                 
    0FD820CB-AFE5-4E19-0C1C-7DC211A950EE
    Crashed Thread:  0  CrBrowserMain  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
    0   com.google.Chrome.framework  
    0x00711447 0x45000 + 7128135
    1   com.google.Chrome.framework  
    0x02a8056e 0x45000 + 44283246
    2   com.google.Chrome.framework  
    0x02a807d4 0x45000 + 44283860
    3   com.google.Chrome.framework  
    0x02bd6116 0x45000 + 45682966
    4   com.google.Chrome.framework  
    0x02bbc1ba 0x45000 + 45576634
    5   com.google.Chrome.framework  
    0x02bb8628 0x45000 + 45561384
    6   com.google.Chrome.framework  
    0x02bbc2fb 0x45000 + 45576955
    7   com.google.Chrome.framework  
    0x02bb0498 0x45000 + 45528216
    8   com.google.Chrome.framework  
    0x02bb0aeb 0x45000 + 45529835
    9   com.google.Chrome.framework  
    0x00c4e86c 0x45000 + 12621932
    10  com.google.Chrome.framework  
    0x00c50129 0x45000 + 12628265
    11  com.google.Chrome.framework  
    0x00731d28 0x45000 + 7261480
    12  com.google.Chrome.framework  
    0x0073216d 0x45000 + 7262573
    13  com.google.Chrome.framework  
    0x006fd205 0x45000 + 7045637
    14  com.apple.CoreFoundation 
    0x90c5304f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    15  com.apple.CoreFoundation 
    0x90c52a79 __CFRunLoopDoSources0 + 233
    16  com.apple.CoreFoundation 
    0x90c78826 __CFRunLoopRun + 934
    17  com.apple.CoreFoundation 
    0x90c7801a CFRunLoopRunSpecific + 378
    18  com.apple.CoreFoundation 
    0x90c77e8b CFRunLoopRunInMode + 123
    19  com.apple.HIToolbox      
    0x9794af5a RunCurrentEventLoopInMode + 242
    20  com.apple.HIToolbox      
    0x9794acc9 ReceiveNextEventCommon + 374
    21  com.apple.HIToolbox      
    0x9794ab44 BlockUntilNextEventMatchingListInMode + 88
    22  com.apple.AppKit         
    0x9627f93a _DPSNextEvent + 724
    23  com.apple.AppKit         
    0x9627f16c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
    24  com.apple.AppKit         
    0x962755cc -[NSApplication run] + 855
    25  com.google.Chrome.framework  
    0x006fd5c1 0x45000 + 7046593
    26  com.google.Chrome.framework  
    0x006fd0fc 0x45000 + 7045372
    27  com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    28  com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    29  com.google.Chrome.framework  
    0x001c0691 0x45000 + 1554065
    30  com.google.Chrome.framework  
    0x02a893b0 0x45000 + 44319664
    31  com.google.Chrome.framework  
    0x02a89ec3 0x45000 + 44322499
    32  com.google.Chrome.framework  
    0x02a86ef1 0x45000 + 44310257
    33  com.google.Chrome.framework  
    0x0061723b 0x45000 + 6103611
    34  com.google.Chrome.framework  
    0x00616600 0x45000 + 6100480
    35  com.google.Chrome.framework  
    0x00047449 ChromeMain + 41
    36  com.google.Chrome        
    0x0003ef78 main + 24
    37  com.google.Chrome        
    0x0003ef55 0x3e000 + 3925
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x961169ae kevent + 10
    1   libdispatch.dylib        
    0x97d1cc71 _dispatch_mgr_invoke + 993
    2   libdispatch.dylib        
    0x97d1c7a9 _dispatch_mgr_thread + 53
    Thread 2:: NetworkConfigWatcher
    0   libsystem_kernel.dylib   
    0x961137d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x96112cb0 mach_msg + 68
    2   com.apple.CoreFoundation 
    0x90c72f79 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation 
    0x90c7895f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation 
    0x90c7801a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation 
    0x90c77e8b CFRunLoopRunInMode + 123
    6   com.apple.Foundation     
    0x9090fbb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
    7   com.google.Chrome.framework  
    0x006fd42f 0x45000 + 7046191
    8   com.google.Chrome.framework  
    0x006fd0fc 0x45000 + 7045372
    9   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    10  com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    11  com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    12  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 3:: DnsConfigService
    0   libsystem_kernel.dylib   
    0x961169ae kevent + 10
    1   com.google.Chrome.framework  
    0x0076a8c6 0x45000 + 7493830
    2   com.google.Chrome.framework  
    0x00768549 0x45000 + 7484745
    3   com.google.Chrome.framework  
    0x006fc662 0x45000 + 7042658
    4   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    5   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    6   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    7   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    8   com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    9   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    10  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    11  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 4:: AudioThread
    0   libsystem_kernel.dylib   
    0x961137d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x96112cb0 mach_msg + 68
    2   com.apple.CoreFoundation 
    0x90c72f79 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation 
    0x90c7895f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation 
    0x90c7801a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation 
    0x90c77e8b CFRunLoopRunInMode + 123
    6   com.apple.Foundation     
    0x9090fbb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
    7   com.google.Chrome.framework  
    0x006fd42f 0x45000 + 7046191
    8   com.google.Chrome.framework  
    0x006fd0fc 0x45000 + 7045372
    9   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    10  com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    11  com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    12  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 5:: CrShutdownDetector
    0   libsystem_kernel.dylib   
    0x96116dba __read + 10
    1   com.google.Chrome.framework  
    0x001c1fa6 0x45000 + 1560486
    2   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    3   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    4   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 6:: Chrome_DBThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x02a9391f 0x45000 + 44362015
    12  com.google.Chrome.framework  
    0x02a93aa3 0x45000 + 44362403
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 7:: Chrome_WebKitThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x02a9394f 0x45000 + 44362063
    12  com.google.Chrome.framework  
    0x02a93ab1 0x45000 + 44362417
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 8:: Chrome_FileThread
    0   libsystem_kernel.dylib   
    0x961169ae kevent + 10
    1   com.google.Chrome.framework  
    0x0076a8c6 0x45000 + 7493830
    2   com.google.Chrome.framework  
    0x00768549 0x45000 + 7484745
    3   com.google.Chrome.framework  
    0x006fc741 0x45000 + 7042881
    4   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    5   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    6   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    7   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    8   com.google.Chrome.framework  
    0x02a9397f 0x45000 + 44362111
    9   com.google.Chrome.framework  
    0x02a93abf 0x45000 + 44362431
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 9:: Chrome_FileUserBlockingThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x02a939af 0x45000 + 44362159
    12  com.google.Chrome.framework  
    0x02a93acd 0x45000 + 44362445
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 10:: Chrome_ProcessLauncherThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x02a939df 0x45000 + 44362207
    12  com.google.Chrome.framework  
    0x02a93adb 0x45000 + 44362459
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 11:: Chrome_CacheThread
    0   libsystem_kernel.dylib   
    0x961169ae kevent + 10
    1   com.google.Chrome.framework  
    0x0076a8c6 0x45000 + 7493830
    2   com.google.Chrome.framework  
    0x00768549 0x45000 + 7484745
    3   com.google.Chrome.framework  
    0x006fc741 0x45000 + 7042881
    4   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    5   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    6   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    7   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    8   com.google.Chrome.framework  
    0x02a93a0f 0x45000 + 44362255
    9   com.google.Chrome.framework  
    0x02a93ae9 0x45000 + 44362473
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 12:: Chrome_IOThread
    0   libsystem_kernel.dylib   
    0x961169ae kevent + 10
    1   com.google.Chrome.framework  
    0x0076a8c6 0x45000 + 7493830
    2   com.google.Chrome.framework  
    0x00768549 0x45000 + 7484745
    3   com.google.Chrome.framework  
    0x006fc741 0x45000 + 7042881
    4   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    5   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    6   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    7   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    8   com.google.Chrome.framework  
    0x02a93a3f 0x45000 + 44362303
    9   com.google.Chrome.framework  
    0x02a93af7 0x45000 + 44362487
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 13:: NetworkConfigWatcher
    0   libsystem_kernel.dylib   
    0x961137d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x96112cb0 mach_msg + 68
    2   com.apple.CoreFoundation 
    0x90c72f79 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation 
    0x90c7895f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation 
    0x90c7801a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation 
    0x90c77e8b CFRunLoopRunInMode + 123
    6   com.apple.Foundation     
    0x9090fbb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
    7   com.google.Chrome.framework  
    0x006fd42f 0x45000 + 7046191
    8   com.google.Chrome.framework  
    0x006fd0fc 0x45000 + 7045372
    9   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    10  com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    11  com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    12  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 14:: Proxy resolver
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    12  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    13  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    14  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 15:: MediaStreamDeviceThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    12  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    13  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    14  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 16:: BrowserWatchdog
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x00753a54 0x45000 + 7400020
    5   com.google.Chrome.framework  
    0x007346eb 0x45000 + 7272171
    6   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    7   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    8   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    9   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 17:
    0   libsystem_kernel.dylib   
    0x961137d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x96112cb0 mach_msg + 68
    2   com.google.Chrome.framework  
    0x02b4d31a 0x45000 + 45122330
    3   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    4   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    5   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 18:: BrowserBlockingWorker1/54019
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x007584a9 0x45000 + 7419049
    5   com.google.Chrome.framework  
    0x00757a3d 0x45000 + 7416381
    6   com.google.Chrome.framework  
    0x0075a8ca 0x45000 + 7428298
    7   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    8   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    9   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 19:: NetworkConfigWatcher
    0   libsystem_kernel.dylib   
    0x961137d2 mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x96112cb0 mach_msg + 68
    2   com.apple.CoreFoundation 
    0x90c72f79 __CFRunLoopServiceMachPort + 185
    3   com.apple.CoreFoundation 
    0x90c7895f __CFRunLoopRun + 1247
    4   com.apple.CoreFoundation 
    0x90c7801a CFRunLoopRunSpecific + 378
    5   com.apple.CoreFoundation 
    0x90c77e8b CFRunLoopRunInMode + 123
    6   com.apple.Foundation     
    0x9090fbb6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
    7   com.google.Chrome.framework  
    0x006fd42f 0x45000 + 7046191
    8   com.google.Chrome.framework  
    0x006fd0fc 0x45000 + 7045372
    9   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    10  com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    11  com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    12  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    13  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    14  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    15  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    16  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 20:: Proxy resolver
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    12  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    13  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    14  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 21:: Chrome_SafeBrowsingThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    12  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    13  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    14  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 22:: BrowserBlockingWorker2/57859
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x007584a9 0x45000 + 7419049
    5   com.google.Chrome.framework  
    0x00757a3d 0x45000 + 7416381
    6   com.google.Chrome.framework  
    0x0075a8ca 0x45000 + 7428298
    7   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    8   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    9   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 23:: Chrome_HistoryThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x00753a54 0x45000 + 7400020
    5   com.google.Chrome.framework  
    0x007346eb 0x45000 + 7272171
    6   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    7   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    8   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    9   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 24:: Chrome_SyncThread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x00753a54 0x45000 + 7400020
    5   com.google.Chrome.framework  
    0x007346eb 0x45000 + 7272171
    6   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    7   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    8   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    9   com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    10  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    11  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    12  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    13  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 25:: Chrome_PasswordStore_Thread
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b6095 pthread_cond_wait$UNIX2003 + 71
    3   com.google.Chrome.framework  
    0x00753548 0x45000 + 7398728
    4   com.google.Chrome.framework  
    0x00753a7b 0x45000 + 7400059
    5   com.google.Chrome.framework  
    0x00753916 0x45000 + 7399702
    6   com.google.Chrome.framework  
    0x007346b1 0x45000 + 7272113
    7   com.google.Chrome.framework  
    0x007317b0 0x45000 + 7260080
    8   com.google.Chrome.framework  
    0x007470d1 0x45000 + 7348433
    9   com.google.Chrome.framework  
    0x0073152a 0x45000 + 7259434
    10  com.google.Chrome.framework  
    0x0075b071 0x45000 + 7430257
    11  com.google.Chrome.framework  
    0x0075b10d 0x45000 + 7430413
    12  com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    13  libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    14  libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 26:: BrowserBlockingWorker3/78339
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x007584a9 0x45000 + 7419049
    5   com.google.Chrome.framework  
    0x00757a3d 0x45000 + 7416381
    6   com.google.Chrome.framework  
    0x0075a8ca 0x45000 + 7428298
    7   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    8   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    9   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 27:: WorkerPool/88591
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x95130280 _pthread_cond_wait + 833
    2   libsystem_c.dylib        
    0x951b60e0 pthread_cond_timedwait$UNIX2003 + 70
    3   com.google.Chrome.framework  
    0x00753627 0x45000 + 7398951
    4   com.google.Chrome.framework  
    0x0075d15f 0x45000 + 7438687
    5   com.google.Chrome.framework  
    0x0075d65c 0x45000 + 7439964
    6   com.google.Chrome.framework  
    0x007574e5 0x45000 + 7415013
    7   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    8   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 28:
    0   libsystem_kernel.dylib   
    0x961160ee __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x9512e0ac _pthread_workq_return + 45
    2   libsystem_c.dylib        
    0x9512de79 _pthread_wqthread + 448
    3   libsystem_c.dylib        
    0x95115d2a start_wqthread + 30
    Thread 29:: CVDisplayLink
    0   libsystem_kernel.dylib   
    0x961158e2 __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x951302e9 _pthread_cond_wait + 938
    2   libsystem_c.dylib        
    0x95130572 pthread_cond_timedwait_relative_np + 47
    3   com.apple.CoreVideo      
    0x94c98fd7 CVDisplayLink::waitUntil(unsigned long long) + 297
    4   com.apple.CoreVideo      
    0x94c9805c CVDisplayLink::runIOThread() + 658
    5   com.apple.CoreVideo      
    0x94c97db2 startIOThread(void*) + 160
    6   libsystem_c.dylib        
    0x9512b5b7 _pthread_start + 344
    7   libsystem_c.dylib        
    0x95115d4e thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x00000000  ecx: 0x7ce8e400  edx: 0x7ce97cc0
      edi: 0x7e9844e0  esi: 0x00000001  ebp: 0xbffc0688  esp: 0xbffc0680
       ss: 0x00000023  efl: 0x00000282  eip: 0x00711447   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
      cr2: 0x09907000
    Logical CPU: 2
    Binary Images:
       0x3e000 -
    0x3eff3 +com.google.Chrome (28.0.1500.95 - 1500.95) <1F14C17E-910C-3A38-B8EA-4D3868359AF3> /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
       0x45000 -  0x40f1f1f +com.google.Chrome.framework (28.0.1500.95 - 1500.95) <AFF7EFEF-A842-3ED5-8795-987BB0D2F0F4> /Applications/Google Chrome.app/Contents/Versions/28.0.1500.95/Google Chrome Framework.framework/Google Chrome Framework
    0x441e000 -  0x44e7ff3  com.apple.Bluetooth (4.1.4 - 4.1.4f2) <09A08285-00DD-3F8A-995B-18E2BF86E14B> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x4538000 -  0x4542fff  com.apple.CoreBluetooth (100.6 - 1) <3562A2BD-DDB4-337B-BD98-A89D24109094> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBlue tooth.framework/Versions/A/CoreBluetooth
    0x58f4000 -  0x5901ff3  com.apple.Librarian (1.1 - 1) <68F8F983-5F16-3BA5-BDA7-1A5451CC02BB> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
    0x5943000 -  0x5952ff7 +com.google.Keystone.Registration (1.1.0 - 1.1.0.3659) <2379CBDF-65AB-246D-D5F4-3A450D457F42> /Applications/Google Chrome.app/Contents/Versions/28.0.1500.95/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework/KeystoneRegistrat ion
    0x59a6000 -  0x59abfff  com.apple.audio.AppleHDAHALPlugIn (2.3.7 - 2.3.7fc4) <903097A8-3922-3BF8-8B82-8BD1D831F6E7> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
    0x7eed000 -  0x7eedfff +cl_kernels (???) <E37CAD34-CEF6-4542-8D4B-22D7EC0F5AD6> cl_kernels
    0x7f13000 -  0x7f14ff5 +cl_kernels (???) <4E8CD9D8-7F8F-4424-8A2E-EF38A1E6C8AD> cl_kernels
    0x85d4000 -  0x85dcffd  libcldcpuengine.dylib (2.2.16) <0BE2D018-66CC-3F69-B8F1-7A81EEEE09F4> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
    0x85e3000 -  0x8675fff  unorm8_bgra.dylib (2.2.16) <1298D118-0B14-3F3D-B2CA-348A1C67183E> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
    0x97a5000 -  0x97a9fff  com.apple.IOAccelerator (74.5.1 - 74.5.1) <CB7CDE62-DAEC-35AF-8ADB-3271AA2DF921> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelera tor
    0x9bd5000 -  0x9bdffff  libGPUSupportMercury.dylib (8.9.2) <302EC167-66A3-3E12-8416-F03F50CA96D9> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/lib GPUSupportMercury.dylib
    0xa4da000 -  0xa66effa  GLEngine (8.9.2) <73F967E8-16C2-3FB2-8C04-293EB038952D> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0xa6a5000 -  0xa826fff  libGLProgrammability.dylib (8.9.2) <B7AFCCD1-7FA5-3071-9F11-5161FFA2076C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0xa858000 -  0xaca5ff3  com.apple.driver.AppleIntelHD4000GraphicsGLDriver (8.12.47 - 8.1.2) <5B46A344-20F2-3C75-9D42-D13092E6BB81> /System/Library/Extensions/AppleIntelHD4000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD4000GraphicsGLDriver
    0xb1f7000 -  0xb222ff7  GLRendererFloat (8.9.2) <96FF25EA-1BC3-3FBA-85B6-08CC9F1D2077> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
    0x8fe3d000 - 0x8fe6fe57  dyld (210.2.3) <23516BE4-29BE-350C-91C9-F36E7999F0F1> /usr/lib/dyld
    0x90007000 - 0x9006bff3  libstdc++.6.dylib (56) <79A6B148-08F6-30C6-9B31-6183A6295290> /usr/lib/libstdc++.6.dylib
    0x9006c000 - 0x9006efff  com.apple.securityhi (4.0 - 55002) <15E9B9BC-108F-3416-A0A7-A321A85081F7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x9006f000 - 0x900deffb  com.apple.Heimdal (3.0 - 2.0) <964D9952-B0F2-34F6-8265-1823C0D5EAB8> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x900df000 - 0x90121ffb  com.apple.RemoteViewServices (2.0 - 80.6) <AE962502-4539-3893-A2EB-9D384652AEAC> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
    0x90122000 - 0x901b4ffb  libvMisc.dylib (380.6) <6DA3A03F-20BE-300D-A664-B50A7B4E4B1A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x901bd000 - 0x901f8fef  libGLImage.dylib (8.9.2) <9D41F71E-E927-3767-A856-55480E20E9D9> /System/Library/Frameworks/OpenGL.fr

    Here's the report from EtreCheck:
    Hardware Information:
              Mac mini (Late 2012)
              Mac mini - model: Macmini6,1
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              16 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 768 MB
    System Software:
              OS X 10.8.4 (12E55) - Uptime: 0 days 0:11:37
    Disk Information:
              APPLE HDD HTS545050A7E362 disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.25 GB (213.98 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Western Digital My Passport 0730 500.07 GB
                        disk2s1 (disk2s1) <not mounted>: 209.7 MB
                        Time Machine Backup (disk2s2) /Volumes/Time Machine Backup: 499.73 GB (52.94 GB free)
              Microsoft Microsoft® Digital Media Pro Keyboard
              Western Digital  External HDD     250.06 GB
                        Backups (disk1s1) /Volumes/Backups: 250.06 GB (60.58 GB free)
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.microsoft.driver.MicrosoftKeyboard          (8.2)
              com.microsoft.driver.MicrosoftKeyboardUSB          (8.2)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist
              [loaded] com.carbonite.launchd.carbonitedaemon.plist
    Launch Agents:
              [loaded] com.carbonite.launchd.carbonitealerts.plist
              [loaded] com.carbonite.launchd.carbonitestatus.plist
    User Launch Agents:
              [loaded] com.google.keystone.agent.plist
              [loaded] com.macupdate.desktop5.scanner.plist
    User Login Items:
              iTunesHelper
              ChronoSyncBackgrounder
              NZBVortex Helper
              TransmitMenu
              Dropbox
              PhotoStream2Folder
              Spark Daemon
              XMenu
              AudioSwitcher
              Alfred 2
              MicrosoftKeyboardHelper
              witchdaemon
              SpeechSynthesisServer
              RightZoom
    3rd Party Preference Panes:
              Carbonite
              Flash Player
              Microsoft Keyboard
              Witch
    Internet Plug-ins:
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Top Processes by CPU:
                   9%          VoiceOver
                   7%          ChronoSyncBackgrounder
                   2%          WindowServer
                   2%          EtreCheck
                   1%          coreaudiod
                   1%          CarboniteDaemon
                   0%          fontd
                   0%          diskmanagementd
                   0%          Dropbox
                   0%          warmd
    Top Processes by Memory:
              98 MB    mds
              82 MB    Finder
              82 MB    Dropbox
              82 MB    VoiceOver
              49 MB    com.apple.dock.extra
              49 MB    Alfred 2
              49 MB    CalendarAgent
              49 MB    loginwindow
              49 MB    SystemUIServer
              49 MB    PhotoStream2Folder
    Virtual Memory Statistics
              12.40 GB           Free RAM
              1.56 GB  Active RAM
              213 MB   Inactive RAM
              1.83 GB  Wired RAM
              347 MB   Page-ins
              0 B      Page-outs

  • Please help me to increase the performance of the query

    Hello
    I am not an oracle expert or developer and i have a problem to resolve.
    Below is the query and explaiation plan and seeking the help to improve the performance of the query.
    Our Analysis,
    The query runs good,takes less one minute and fetches the results but during peak time it takes 8 minutes
    Require anyone suggestion's to improve the query.
    The query is generated from the Microsft dll so we dont have SQL code and require some help on tuning the tables.
    If tuning the query improves then also fine please suggest for that also.
    Enviroment: Solaris 8
    DB : oracle 9i
    (SELECT vw.dispapptobjid, vw.custsiteobjid, vw.emplastname, vw.empfirstname,
    vw.scheduledonsite AS starttime, vw.appttype, vw.latestart,
    vw.endtime, vw.typetitle, vw.empobjid, vw.latitude, vw.longitude,
    vw.workduration AS DURATION, vw.dispatchtype, vw.availability
    FROM ora_appt_disp_view vw
    WHERE ( ( vw.starttime >=
    TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
    AND vw.starttime <
    TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
    OR vw.endtime >
    TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
    AND vw.endtime <=
    TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
    OR ( vw.starttime <=
    TO_DATE ('2/12/2007 4:59 PM', 'MM/DD/YYYY HH12:MI AM')
    AND vw.endtime >=
    TO_DATE ('2/21/2007 3:59 PM', 'MM/DD/YYYY HH12:MI AM')
    UNION
    (SELECT 0 AS dispapptobjid, emp.emp_physical_site2site AS custsiteobjid,
    emp.last_name AS emplastname, emp.first_name AS empfirstname,
    TO_DATE ('1/1/3000', 'MM/DD/YYYY') AS starttime, 'E' AS appttype,
    NULL AS latestart, NULL AS endtime, '' AS typetitle,
    emp.objid AS empobjid, 0 AS latitude, 0 AS longitude, 0 AS DURATION,
    '' AS dispatchtype, 0 AS availability
    FROM table_employee emp, table_user usr
    WHERE emp.employee2user = usr.objid AND emp.field_eng = 1 AND usr.status = 1)
    ORDER BY empobjid, starttime, endtime DESC
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=HINT: ALL_ROWS          23 K          11312                     
    SORT UNIQUE          23 K     3 M     11140                     
    UNION-ALL                                        
    VIEW     ORA_APPT_DISP_VIEW     17 K     3 M     10485                     
    UNION-ALL                                        
    CONCATENATION                                        
    NESTED LOOPS OUTER          68      24 K     437                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS OUTER          68      25 K     505                     
    NESTED LOOPS OUTER          68      24 K     505                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS          68      22 K     369                     
    NESTED LOOPS OUTER          68      22 K     369                     
    NESTED LOOPS          19      6 K     312                     
    NESTED LOOPS          19      5 K     312                     
    HASH JOIN          19      5 K     293                     
    NESTED LOOPS          19      5 K     274                     
    NESTED LOOPS          19      4 K     236                     
    NESTED LOOPS          19      4 K     198                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      4 K     160                     
    NESTED LOOPS OUTER          19      1 K     103                     
    NESTED LOOPS OUTER          19      2 K     103                     
    NESTED LOOPS OUTER          19      2 K     103                     
    TABLE ACCESS BY INDEX ROWID     TABLE_DISPTCHFE     19      1 K     46                     
    INDEX RANGE SCAN     GSA_SCHED_REPAIR     44           3                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22      3                     
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28      3                     
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_CASE     1      30      2                     
    INDEX UNIQUE SCAN     CASE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_SITE     1      12      2                     
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_ADDRESS     1      12      2                     
    INDEX UNIQUE SCAN     ADDRESS_OBJINDEX     1           1                     
    TABLE ACCESS FULL     TABLE_EMPLOYEE     1      34      1                     
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1      6      1                     
    INDEX UNIQUE SCAN     USER_OBJINDEX     1      6                          
    TABLE ACCESS BY INDEX ROWID     TABLE_X_GSA_TIME_STAMPS     4      48      3                     
    INDEX RANGE SCAN     GSAIDX_TS2DISP     1           2                     
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    TABLE ACCESS BY INDEX ROWID     TABLE_MOD_LEVEL     1      12      1                     
    INDEX UNIQUE SCAN     MOD_LEVEL_OBJINDEX     1                               
    INDEX UNIQUE SCAN     PART_NUM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     SUBCASE_OBJINDX     1      6      1                     
    NESTED LOOPS OUTER          68      25 K     505                     
    NESTED LOOPS OUTER          68      24 K     505                     
    NESTED LOOPS OUTER          68      24 K     437                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS          68      22 K     369                     
    NESTED LOOPS OUTER          68      22 K     369                     
    NESTED LOOPS          19      6 K     312                     
    NESTED LOOPS          19      5 K     312                     
    NESTED LOOPS          19      5 K     293                     
    NESTED LOOPS          19      5 K     274                     
    NESTED LOOPS          19      4 K     236                     
    NESTED LOOPS          19      4 K     198                     
    NESTED LOOPS OUTER          19      4 K     160                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      2 K     103                     
    NESTED LOOPS OUTER          19      2 K     103                     
    NESTED LOOPS OUTER          19      1 K     103                     
    TABLE ACCESS BY INDEX ROWID     TABLE_DISPTCHFE     19      1 K     46                     
    INDEX RANGE SCAN     GSA_SCHED_REPAIR     44           3                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22      3                     
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28      3                     
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_CASE     1      30      2                     
    INDEX UNIQUE SCAN     CASE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_SITE     1      12      2                     
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_ADDRESS     1      12      2                     
    INDEX UNIQUE SCAN     ADDRESS_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_EMPLOYEE     1      34      1                     
    INDEX UNIQUE SCAN     EMPLOYEE_OBJINDEX     1                               
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1      6      1                     
    INDEX UNIQUE SCAN     USER_OBJINDEX     1      6                          
    TABLE ACCESS BY INDEX ROWID     TABLE_X_GSA_TIME_STAMPS     4      48      3                     
    INDEX RANGE SCAN     GSAIDX_TS2DISP     1           2                     
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     SUBCASE_OBJINDX     1      6      1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_MOD_LEVEL     1      12      1                     
    INDEX UNIQUE SCAN     MOD_LEVEL_OBJINDEX     1                               
    INDEX UNIQUE SCAN     PART_NUM_OBJINDEX     1      6                          
    NESTED LOOPS OUTER          68      25 K     505                     
    NESTED LOOPS OUTER          68      24 K     505                     
    NESTED LOOPS OUTER          68      24 K     437                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS          68      23 K     369                     
    NESTED LOOPS          68      22 K     369                     
    NESTED LOOPS OUTER          68      22 K     369                     
    NESTED LOOPS          19      6 K     312                     
    NESTED LOOPS          19      5 K     312                     
    NESTED LOOPS          19      5 K     293                     
    NESTED LOOPS          19      5 K     274                     
    NESTED LOOPS          19      4 K     236                     
    NESTED LOOPS          19      4 K     198                     
    NESTED LOOPS OUTER          19      4 K     160                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      3 K     160                     
    NESTED LOOPS OUTER          19      2 K     103                     
    NESTED LOOPS OUTER          19      2 K     103                     
    NESTED LOOPS OUTER          19      1 K     103                     
    TABLE ACCESS BY INDEX ROWID     TABLE_DISPTCHFE     19      1 K     46                     
    INDEX RANGE SCAN     GSA_REQ_ETA     44           3                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22      3                     
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      22                          
    INDEX RANGE SCAN     GSA_COMDFE     1           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28      3                     
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_COMMIT_LOG     1      28                          
    INDEX RANGE SCAN     IND_CASE_COMMIT2CASE     2           2                     
    TABLE ACCESS BY INDEX ROWID     TABLE_CASE     1      30      2                     
    INDEX UNIQUE SCAN     CASE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_SITE     1      12      2                     
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_ADDRESS     1      12      2                     
    INDEX UNIQUE SCAN     ADDRESS_OBJINDEX     1           1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_EMPLOYEE     1      34      1                     
    INDEX UNIQUE SCAN     EMPLOYEE_OBJINDEX     1                               
    INDEX UNIQUE SCAN     SITE_OBJINDEX     1      6      1                     
    INDEX UNIQUE SCAN     USER_OBJINDEX     1      6                          
    TABLE ACCESS BY INDEX ROWID     TABLE_X_GSA_TIME_STAMPS     4      48      3                     
    INDEX RANGE SCAN     GSAIDX_TS2DISP     1           2                     
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     GBST_ELM_OBJINDEX     1      6                          
    INDEX UNIQUE SCAN     SUBCASE_OBJINDX     1      6      1                     
    TABLE ACCESS BY INDEX ROWID     TABLE_MOD_LEVEL     1      12      1                     
    INDEX UNIQUE SCAN     MOD_LEVEL_OBJINDEX     1                               
    INDEX UNIQUE SCAN     PART_NUM_OBJINDEX     1      6                          
    NESTED LOOPS          16 K     2 M     5812                     
    HASH JOIN          16 K     2 M     5812                     
    HASH JOIN          16 K     2 M     5286                     
    TABLE ACCESS FULL     TABLE_EMPLOYEE     13 K     441 K     28                     
    HASH JOIN          16 K     1 M     5243                     
    TABLE ACCESS FULL     TABLE_SCHEDULE     991      11 K     2                     
    HASH JOIN OUTER          16 K     1 M     5240                     
    HASH JOIN OUTER          16 K     1 M     3866                     
    HASH JOIN OUTER          16 K     1 M     450                     
    HASH JOIN          16 K     1 M     44                     
    TABLE ACCESS FULL     TABLE_GBST_ELM     781      14 K     2                     
    TABLE ACCESS FULL     TABLE_APPOINTMENT     16 K     822 K     41                     
    INDEX FAST FULL SCAN     CASE_OBJINDEX     1 M     6 M     201                     
    TABLE ACCESS FULL     TABLE_SITE     967 K     11 M     3157                     
    TABLE ACCESS FULL     TABLE_ADDRESS     961 K     11 M     1081                     
    INDEX FAST FULL SCAN     SITE_OBJINDEX     967 K     5 M     221                     
    INDEX UNIQUE SCAN     USER_OBJINDEX     1      6                          
    HASH JOIN          6 K     272 K     51                     
    TABLE ACCESS FULL     TABLE_USER     6 K     51 K     21                     
    TABLE ACCESS FULL     TABLE_EMPLOYEE     6 K     220 K     28

    Hi,
    First-off, it appear that you are querying a view. I would redo the auery against the base table.
    Next, look at a function-based index for the DATE column. Here are my notes:
    http://www.dba-oracle.com/t_function_based_indexes.htm
    http://www.dba-oracle.com/oracle_tips_index_scan_fbi_sql.htm
    Also, make sure you are analyzed properly with dbms_stats:
    http://www.dba-oracle.com/art_builder_dbms_stats.htm
    And histograms, if appropriate:
    http://www.dba-oracle.com/art_builder_histo.htm
    Lasty, look at increasing hash_area_size or pga_aggregate_tagtet, depending on your table sizes:
    http://www.dba-oracle.com/art_so_undocumented_pga_parameters.htm
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press Author

  • Help needed in overriding the finalize() method!

    Hi
    I need some help in overwriting the finalize() method.
    I have a program, but at certain points, i would like to "kill" a particular object.
    I figured that the only way to do that is to make that object's class override the finalize method, and call it when i need to kill the object.
    Once that is done, i would call the garbage collector gc() to hopefully dispose of it.
    Please assist me?
    Thanks
    Regards

    To, as you put it, kill an object, just null it. This
    will be an indication for the garbage collector to
    collect the object. In the finalizer, you marely null
    all fields in the class. Like this:
    public class DummyClass
    String string = "This is a string";
    Object object = new Boolean(true);
    public void finalize() throws Throwable
    super.finalize();
    string = null;
    object = null;
    public static void main(String[] args)
    //Create a new object, i.e allocate an
    te an instance.
    DummyClass cls = new DummyClass();
    //Null the reference
    cls = null;
    This is a pointless exercise. If an object is being finalized, then all the references it contains are about to cease being relevant anyway, so there's no purpose to be served in setting them to null.
    All that clearing a reference to an object does is to clear the reference. Whether the object is subsequently finalized depends on whether the object has become unreachable.
    Directly calling finalize is permitted, but doesn't usually serve any purpose. In particular, it does not cause the object to be released. Further, calling the finalize method does not consitute finalization of the object. Finalization occurs when the method is called as a consequence of a garbage collector action.
    If a variable contains a reference to an object (say a table), and you want a new table instead, then create a new table object, and assign its reference to the variable. Assuming that the variable was the only place that the old table's reference was stored, the old table will, sooner or later, get finalized and collected.
    Sylvia.

  • Help needed in understanding the concept of hierarchical queries

    I really need help in this matter. I have a flafile containing about 4000 rows. It is from my supplier, it's structure is as follows:
    create table Flatfile
    (Pgroup varchar2(30),
    Pclass varchar2(30),
    Manufacturer varchar2(30),
    Article varchar2(30),
    Price Number(6,2));
    Insert into Flatfile Values
    ('Application Software','Database Software','Oracle','Oracle 10G',115);
    Insert into Flatfile Values
    ('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
    Insert into Flatfile Values
    ('Application Software','Spreadsheet Software','Microsoft','Excel',100);
    Insert into Flatfile Values
    ('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
    Insert into Flatfile Values
    ('Monitor','15"','Sony','Sony R1500 flat',225);
    Insert into Flatfile Values
    ('Monitor','17"','Philips','Philips Flatscreen',250);
    Insert into Flatfile Values
    ('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
    Insert into Flatfile Values
    ('Processor','AMD','AMD','FX-55',600);
    Insert into Flatfile Values
    ('Processor','Intel','Intel','P4 3 GHZ',399);
    My goal is to make a hierarchical query with the start with and connect by clauses. From what I have read is that I need to normalize the data of the flatfile.
    How do I achieve a table which I can query so that the query will represent the hierarchy that exists. Namely
    Pgroup
    ++Pclasse
    Application Software
    ++Database Software
    ++Spreadsheet Software
    So a 2-level hierarchy. I'd like to understand this simple concept first. I built on the knowledge that I gain. So the questions are:
    1.What do I need to do to make the table so that I can use a hierarchical query on it?
    2. How should the query syntax be?
    3. Is it also possible to get the data in the hierarchical query sorted asec?
    I would only like to use the simple structures of the start with and connect by clauses first. I've read there are some new additions to 10G. The problem with the examples used by the tutorials is that the tables are already made so that they are suitable for hierarchical queries. I hope to understand it by this example. And take it a step further.
    Sincerely,
    Pete

    Primarily hierarchy query serves to process tree-like structures which RDBMS simulates using through parent-child relation, often in a single table (see famoust
    EMP table where employee can have the manager who is an employee at the same time).
    In your case it could look like:
    SQL> select pgroup, pclass from flatfile;
    PGROUP                         PCLASS
    Application Software           Database Software
    Application Software           Database Software
    Application Software           Spreadsheet Software
    Monitor                        15"
    Monitor                        15"
    Monitor                        17"
    Monitor                        19"
    Processor                      AMD
    Processor                      Intel
                                   Application Software
                                   Monitor
                                   Processor
    12 rows selected.
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Application Software
      Database Software              Oracle
      Database Software              Microsoft
      Spreadsheet Software           Microsoft
    Monitor
      15"                            Acer
      15"                            Sony
      17"                            Philips
      19"                            Viewsonic
    Processor
      AMD                            AMD
      Intel                          Intel
    12 rows selected.The hierarchy syntax is described completely in the documentation including
    LEVEL and PRIOR keywords.
    As for the ordering question you can use siblings ordering:
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  order siblings by 1 desc
      5  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Processor
      Intel                          Intel
      AMD                            AMD
    Monitor
      19"                            Viewsonic
      17"                            Philips
      15"                            Acer
      15"                            Sony
    Application Software
      Spreadsheet Software           Microsoft
      Database Software              Oracle
      Database Software              Microsoft
    12 rows selected.Rgds.

  • Help needed in using the appropriate Trigger

    I have a master detail form.DEPT block is the master block and Employee is Detail block.I need to display the message when user is
    trying to enter the ENAME field in the Employee block(detail) when the DEPTNO in the DEPT block(master) is not equal to 10.
    Messgae should be displayed when user trying to type the value but not when the user navigates into the ENAME text field.
    What is the appropriate trigger that is useful here?
    Thanks.
    GSR

    If the DEPT block is table based in the block's POST-QUERY trigger you can simply set
      if :DEPT.DEPTNO !=10 then
        set_item_proerty('DEPT.ENAME', insert_allowed, property_false);
        set_item_proerty('DEPT.ENAME', update_allowed, property_false);
      else
        set_item_proerty('DEPT.ENAME', insert_allowed, property_true);
        set_item_proerty('DEPT.ENAME', update_allowed, property_true);
      end if;if the block is a non-database one then you can put that code in EMPNAME's WHEN-VALIDATE-ITEM trigger
    Luca
    Don't forget to mark the answer as helpful/correct if it is. please.

  • Help needed in using the DocCheck utility

    Hi
    Can somebody help me to use the DocCheck utility.I need to check that all the java files have the required javadoc tags and they are correct.
    I have downloaded the zip file and I have been giving the following commands
    c:\javadoc -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath c:\svk\jdk1.2.2\bin\doccheck1.2b1\lib\doccheck.jar -sourcepath<full path with the file name>
    But I get the following error message : No package or class specified.
    I also tried giving the following command:
    D:\SegaSource\sega\src\com\sega\account>javadoc -doclet com.sun.tools.doclets.do
    ccheck.DocCheck -docletpath d:\jdk1.3\doccheck1.2b1\lib\doccheck.jar User.java
    But I get the following message:
    Loading source file User.java...
    Constructing Javadoc information...
    javadoc: warning - Import not found: com.sega.account.address.Address - ignoring
    javadoc: warning - Import not found: com.sega.account.icon.Icon - ignoring!
    javadoc: warning - Import not found: com.sega.common.DateUtil - ignoring!
    javadoc: warning - Import not found: atg.nucleus.GenericService - ignoring!
    javadoc: warning - Cannot find class com.sega.account.icon.Icon
    javadoc: warning - Cannot find class com.sega.account.address.Address
    javadoc: warning - Cannot find class com.sega.account.MasterManager
    7 warnings
    please help
    Thanks
    SVK

    I have never ran the DocCheck from the command prompt, so I really don't know how to do it, but I do run it succesfully using ant (build tool from apache - jakarta, if you use tomcat you already have it installed).
    So.. if you do use ant.. this will help:
    <target name="doccheck" depends="prepare">
         <javadoc
              packagenames="${packages}"
                    destdir="${doccheck.home}"
              doclet="com.sun.tools.doclets.doccheck.DocCheck"
              docletpath="${doccheck.path}" >
              <classpath refid="project.classpath"/>
              <sourcepath refid="project.classpath"/>
         </javadoc>
    </target>If you don't use it.. I guess I was of no help, sorry.
    Ylan

  • Please help me for  identify the ACTIVITIES in CRM

    how to identify the bapis for Activities

    Hi Suma latha,
    Apart from the above
    Getting List of activities : you can try FM "CRM_SEARCH_BUSINESSACTIVITY".
    Chk these BAPI for CRM.
    IB_CRM_ADD
    CRM_IBASE_CHECK_TYP
    IB_CRM_API
    CRM_IBASE_ADDRESS_SEARCH
    CRM_IBASE_CHANGE
    CRM_IBASE_COMP_ADDRESS_SEARCH
    CRM_IBASE_COMP_CHANGE
    CRM_IBASE_COMP_CHANGE_TYPE2
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_COMP_DELETE
    CRM_IBASE_COMP_FIND
    CRM_IBASE_COMP_FIND_MULTI
    CRM_IBASE_COMP_FIND_MULTI_R
    CRM_IBASE_COMP_GET_ADDRESS
    CRM_IBASE_COMP_GET_DETAIL
    CRM_IBASE_COMP_GET_FATHER
    CRM_IBASE_COMP_GET_HIERARCHY
    CRM_IBASE_COMP_GET_PARTNER
    CRM_IBASE_COMP_GOTO_DETAIL
    CRM_IBASE_COMP_GOTO_PARTNER
    CRM_IBASE_COMP_IMPORT_DETAIL
    CRM_IBASE_COMP_IMPORT_SUBSCR
    CRM_IBASE_COMP_INDOBJ_SEARCH
    CRM_IBASE_COMP_INDOBJ_SEARCH_R
    CRM_IBASE_COMP_MOVE
    CRM_IBASE_COMP_PARTNER_SEARCH
    CRM_IBASE_COMP_PARTNER_SEARCHR
    CRM_IBASE_COMP_TABLEINFO
    CRM_IBASE_COMP_TRANSL_PARAM
    CRM_IBASE_COPY
    CRM_IBASE_CREATE
    CRM_IBASE_DEQUEUE
    CRM_IBASE_DRILL_DOWN_FOR_COMP
    CRM_IBASE_ENQUEUE
    CRM_IBASE_FIND
    CRM_IBASE_FIND_MULTI
    CRM_IBASE_FREE
    CRM_IBASE_GET_ADDRESS
    CRM_IBASE_GET_ALL
    CRM_IBASE_GET_CHANGE_STATUS
    CRM_IBASE_GET_DETAIL
    CRM_IBASE_GET_HANDLE
    CRM_IBASE_GET_PARTNER
    CRM_IBASE_GOTO_DETAIL
    CRM_IBASE_GOTO_PARTNER
    CRM_IBASE_INITIALIZE
    CRM_IBASE_PARTNER_SEARCH
    CRM_IBASE_PARTNER_SEARCH_RANGE
    CRM_IBASE_SAVE
    CRM_IBASE_SET_HANDLE
    CRM_IBASE_TABLEINFO
    CRM_IBASE_TRANSL_PARAM
    IB_BAPI_IBASE
    BAPI_IBASE_CREATE
    BAPI_IBASE_GET_DETAIL
    BAPI_IBASE_SAVE
    IB_BAPI_COMP
    BAPI_IBASE_COMP_CREATE
    BAPI_IBASE_COMP_GET_DETAIL
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    <b>Reward Points if this helps,</b>
    Regards
    Satish

  • Need to identify the same people based on their (misspelled) names

    hello
    we have a table with persons and their name (first name and last name in 1 field) ;
    the names are often mispelled, so some string comparison is required;
    can you advise what the best approach would be to uniquely identify the same people?
    so far i have only found this functions :utl_match.jaro_winkler_similarity and SOUNDEX
    is there anything else 'out of box' i could make use of to implement the above?
    i appreciate any tips
    thanks very much
    rgds

    UTL_MATCH (either the Jaro-Winkler or the edit distance functions) would generally be preferred. SOUNDEX is a less sophisticated algorithm.
    In the general case, however, doing this sort of thing yourself is extremely difficult. There are commercial products out there that just help you do fuzzy matching on names. If you're going to build something yourself, you're likely going to spend a large amount of time trying to fine-tune the algorithm to try to balance type 1 (false positive, you match names that you shouldn't) and type 2 errors (false negative, you fail to match names that you should). To do it well will require a rather large number of meetings with users trying to figure out the appropriate balance of errors in your particular environment.
    Justin

  • I need to improve the performance of a migration

    Hello!
    I need to migrated a lot of data and i want to improve the performance
    I can use a cursor and then with a for ... loop insert every row or I can use insert into () select ....
    I would like to know which one is better?
    Thanks.

    If you need to do a lot of per-line processing the CURSOR FOR LOOP might be better. But almost certainly, if you can code it as straight SQL statements then that's the way to go. PL/SQL comes with tremendous overheads and is usually a lot slower than SQL.
    However, don't take my word for it: run some tests for yourself.
    Cheers, APC

  • Need to improve the performance

    Hi,
    New fields are added in the standard table,Before the we used select single * from the  table in program,Now because of those fields it reduced the performance,How to improve the performance of the select queary.
    Thanks in advance

    Hi
    folow these rules
    When a base table has multiple indices, the where clause should be in the order of the index, either a primary or a secondary index.
    To choose an index, the optimizer checks the field names specified in the where clause and then uses an index that has the same order of the fields . In certain scenarios, it is advisable to check whether a new index can speed up the performance of a program. This will come handy in programs that access data from the finance tables.
    For testing existence , use Select.. Up to 1 rows statement instead of a Select-Endselect-loop with an Exit. 
    SELECT * FROM SBOOK INTO SBOOK_WA
      UP TO 1 ROWS
      WHERE CARRID = 'LH'.
    ENDSELECT.
    The above code is more optimized as compared to the code mentioned below for testing existence of a record.
    SELECT * FROM SBOOK INTO SBOOK_WA
        WHERE CARRID = 'LH'.
      EXIT.
    ENDSELECT.
    Use Select Single if all primary key fields are supplied in the Where condition .
    If all primary key fields are supplied in the Where condition you can even use Select Single.  Select Single requires one communication with the database system, whereas Select-Endselect needs two.
    <b>Reward if usefull</b>

Maybe you are looking for

  • Shared variable / DSC problen

    hello out there, i've got a big problem with labview dsc. i've created library within an project with several network-bind shared vars (connected to a symbolic siemens opc server). the problem is that sometimes, when i use these variables (just drag

  • WAAS 4.1.1C & DFS

    Help please,I am not really a MS expert and am having trouble configuring the WAE's to see our DFS structure. I can set up pre positioning for a physical server,just not for a DFS share. I was lead to believe this was possible.Since WAAS was introduc

  • Volume can not be found          WHY THE HECK NOT??

    Hi ok I have 26000 photos in iphoto so I have a litte bit of an idea how to do it... but why is it doing this now? -this is my workflow I insert my card in the reader -copy them to my external HD iphoto is only a reference library ( have copy uncheck

  • Marketing deals or sales deal

    Hi every one , can any give the pdf or documentation on marketing deals/sales deal and best practise. please say the used "function modules" for sales deal/marketing deals  if there are any. thaks kreeeysh

  • Getting the new Iphone

    I recently dropped my iphone 3g and the screen shattered. I was thinking about buying the new iphone 3g s and replace my current iphone. How do you think I should do this? Do I need to pre-order the new iphone? Does it cost money to change phones? On