Database hangs during import

hi guys,
one of our client using oracle 9i R2 on windows server 2003 platform.
they used to make export backup.when they called me and show me that when they import a schema, import hangs at one large table (i think containing more that 4000,000 rows).
i couldn't understand what might be the problem.it is also not generating any kind of error.
where should i look for tuning???
thanks and regards
VD

As Sybrand suggested you have to check some of the V$ views.
You need to understand what your session is waiting for.
In order to do that you have to find the session ID of the import process. You can use V$SESSION view Link to the 9iR2 Reference Page
In order to get to the right session id use USERNAME='<i>user performing the import</i>' and STATUS='ACTIVE'.
Once you have the right SESSION ID, you can query V$SESSION_WAIT and V$SESSION_EVENT.
- V$SESSION_WAIT will give you the information what the session is currently waiting on. Link to the 9iR2 Reference Page
- V$SESSION_EVENT will give you the information about the wait events this session was waiting so far. Link to the 9iR2 Reference Page
And that is all you need to get the initial clue on what is going on.
Additionally, you may want to query V$SQLAREA to get the current SQL your session is executing.
Link to the 9iR2 Reference Page
Moreover, if you need to get even more details, you may want to turn SQL tracing on (event 10046).
The queries below are just examples on how you can use the views from above to get the information you need:
select      s.sid
       , s.username
       , sw.event
         , sw.P1TEXT
         , sw.P1
       , sw.P2TEXT
          , sw.P2
from
        v$session s
        , v$session_wait sw
where s.sid=sw.sid
  and s.status='ACTIVE'
  and s.username=&my_username
  and s.username is not nullThe query above will give you information about what the current active sessions are waiting for.
The query below will give you information about all of the wait events a particular session was waiting so far.
select sid
     , event
     , total_waits
     , time_waited
     , average_wait
     , max_wait
from v$session_event
where sid=&my_sid
order by time_waited descBut the information provided by the views and queries above are not going to be useful if you don't understand how to interpret it.
Again, read the documentation, forums, blogs to learn more on how to use Oracle Wait Interface to make your debugging/optimization easier.
vikrant dixit wrote:
and by posting here we minimize the searching time,experimentation time, etc. dont u think so?That might be true, but the benefit you are going to gain would be a temporary one. The next time you run into the same problem, you will post the question again and again and again ... You must agree that sometimes you might not get the answers right away..
Cheers,

Similar Messages

  • Hang during import from camera or media - HELP!

    iPhoto hangs during import from camera or media reader. Works for 20 or more photos, then hangs. No response at all. Must force quit. After restarting the import, it will go further the next time, then hang again. And again. And again. Eventually the import completes. After that, all is OK until next import. VERY FRUSTRATING. Especially with 8GB media cards. ARRGH!
    I've tried rebuilding iPhoto library (all options). Using iPhoto 7.1.5 on OS X 10.5.6. 4GB ram, intel dual core.
    Help me Obe-Wan. You're my only hope.

    LarryHN wrote:
    Once you get your photos use your camera to reformat your media card - problems like this can be caused by a flaw in the card format
    And it is better to use a card reader to import yoru photos and after they are safely in iPhoto use your camera to reformat your card - this assues no data loss and keeps your card format fresh
    LN
    I usually use the media reader. After the imports started hanging is when I tried importing direct from the camera to see if it made a difference. No difference.
    I've reformatted the media. No difference. Still hangs on first import after reformat. Multiple media cards, all same result. Tried different USB ports, same result. Tried different media readers. Same result.

  • LR3 Hangs during import

    I have an iMac Core Duo 32 bit OSX 10.6.8 all updates current. 2GB RAM. LR3.6 used to run fine on this machine. I didn't use LR3 for some time then on coming back to it I notice that it would hang on importing images from a memory card. Computer and card etc all running well otherwise. LR3 would import several of the images then stop. Indefinite beachball on trying to close LR3 so had to Force Quit. On restarting LR3, it stops at the splash screen and needs Force Quit to get out of it.
    However, if I Force Quit the MassStorageCamera app using the Activity Monitor, LR3 runs fine again! No problem, unless I try to re-import. There is no problem importing from the hard disk if I first copy the same images from the SD card. AS LONG AS MASSSTORAGECAMERA is not running! If Mass StorageCamera is running, LR3 will hang even if importing from the hard disk. There are 2 small AVI files on the SD card which were copied to the hard disk so that's not a factor.
    So, I surmise that MassStorageCamera was updated during the time I was not using LR3 and now there is some incompatibilty between it, LR3 and my Core Duo system. I'm guessing there's an updates MassStorageCamera app, probably for Lion, that has broken LR3 on my system.
    AppleMenu/About This Mac/More Info/Software/Applications/MassStorageCamera shows version 6.1 4/26/12 Universal 64 bit.
    Any thoughts?

    I have an iMac Core Duo 32 bit OSX 10.6.8 all updates current. 2GB RAM. LR3.6 used to run fine on this machine. I didn't use LR3 for some time then on coming back to it I notice that it would hang on importing images from a memory card. Computer and card etc all running well otherwise. LR3 would import several of the images then stop. Indefinite beachball on trying to close LR3 so had to Force Quit. On restarting LR3, it stops at the splash screen and needs Force Quit to get out of it.
    However, if I Force Quit the MassStorageCamera app using the Activity Monitor, LR3 runs fine again! No problem, unless I try to re-import. There is no problem importing from the hard disk if I first copy the same images from the SD card. AS LONG AS MASSSTORAGECAMERA is not running! If Mass StorageCamera is running, LR3 will hang even if importing from the hard disk. There are 2 small AVI files on the SD card which were copied to the hard disk so that's not a factor.
    So, I surmise that MassStorageCamera was updated during the time I was not using LR3 and now there is some incompatibilty between it, LR3 and my Core Duo system. I'm guessing there's an updates MassStorageCamera app, probably for Lion, that has broken LR3 on my system.
    AppleMenu/About This Mac/More Info/Software/Applications/MassStorageCamera shows version 6.1 4/26/12 Universal 64 bit.
    Any thoughts?

  • IPhoto hanging during import

    How do I force iPhoto to close, the App is hanging following an attempted import from iPhone 5c via USB cable. iPhoto is release 9.5.1

    Force quit iPhoto via the  ➙ Force Quit menu.  Launch iPhoto and try importing from the phone again.  If that also fails do the following:
    1 - launch iPhoto with the Command+Option keys held down to open the First Aid window. Be sure to follow the circled recommendation in the screenshot.
    2 - run Option #4, Rebuild Database.
    3 - try importing again from the iPhone.

  • ITunes sync 'hangs' during 'importing photos'

    iPhone 4, latest iOS version and latest iTunes version ...
    During syncing, the process gets to 'importing photos' and then never finishes. I have to manually cancel the sync to use the phone again. How do I fix this? Thanks.

    Sorry RamsayX, but how do you do that?  You turned it off in iPhoto or iTunes?  The latter I can't find.  That's where it hangs for me.  I need to sync my phone once in a while. 
    Ray, do you know what app it hangs on?  Not sure if it displays this.  Have you opened all your apps on your phone recently?  The one that gives you a potential problem, delete it, and reinstall it from iTunes.
    Other than that, I have no clue how to force this out.  Not like it was dealt with in the last update. 
    Cheers

  • Oracle 8i database hangs for the same amount during JDBC calls.

    Hi all,
    I have a Oracle 8i database on solaris. The database hangs for exactly 61 seconds for a random jdbc call from my Java application, i mean there is no particular pattern or a JDBC call for which the database hangs. If i choose to wait for 61 seconds it returns the results from the database but if i try to access the database with another query(SQL Plus) the first query starts executing immediately. Is that a database configuration problem or some thing else.
    And i also get some exceptions occasionally( Maximum Open Cursors exception). Are these two related?
    Any feedback is appreciated.
    Thanks
    Hugo Victor

    I have uninstalled Oracle 8i.
    Removed all the services from Windows services by deleting corresponding registry entries and deleted the Oracle folder.
    I have reinstalled Oracle 8i, this time i changed the name of global database to oracledb.
    I channged the tnsnames.ora file from DevSuite appropriately as:
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mscserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLEDB)
    Still it can't login using scott/tiger authentication.
    What may be the problem? Please help.
    -Sameer

  • How to skip database JOBS during export &  import ?

    1) Is there a way to skip database jobs while exporting (EXPDP) ?
    2) Is there a way to skip database jobs while importing (IMPDP) ?

    johnpau2013 wrote:
    1) Is there a way to skip database jobs while exporting (EXPDP) ?I forgot where, but I have clipped following from some blog, that helped me with this question in the past. You may want to add more filters for schema as well ...
    #exclude scheduler jobs from expdp
    exclude=procobj:"IN (SELECT NAME FROM sys.OBJ$ WHERE TYPE# IN (47,48,66,67,68,69,71,72,74))"
    >
    2) Is there a way to skip database jobs while importing (IMPDP) ?You can use exclude from above, or if your exclude file already does not contain scheduler/jobs, then you can do skip the exclude. do test before running on prod, it worked for me doesnt mean it will work for you 100%.
    Raj

  • Unable to open the export file during Import ABAP phase on tar(System copy)

    Hi Experts,
    We are encountering the following error during Import ABAP phase on target system as we are performing system copy on target system as part of hardware migration(Data center migration).
    Scenario:
    Sourrce system -  BI- ABAP(7.01), Win 2003 x64 unicode,Oracle 10.2.0.4
    Target system - BI-ABAP(7.01), Win 2008 R2 unicode, Oracle 11.2.0.1
    Actually on source system the data has been generated using migration monitor by using table splitting option and transferred on target system thru ftp option.
    During Import process while selecting the Database installation type we have selected the installation method as "Standard systemcopy/Migration(load based)" and not checked the option "Start Migration montior Manually".
    As far as my concern this error has nothing to do with this selection.please correct me If i am wrong.
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110428082000
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 23:41:07
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (TFH) ERROR: Unable to open
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    (TFH) ERROR: OS error message: Invalid argument
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110428082003
    Kindly revert with resolutions and suggestions and any hint to the oss notes as we haven't found anything specific to this error.
    Regrds,
    Dheeraj

    \\10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    Please check if above said file located under specified path where SAPINST searvhing for it ie at
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA. if this file dont exist them it may be the case that your export is not proper.
    Also check if user from which you have started this SAPINST is able to access
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA.
    Thanks..
    Mohit

  • Error importing SharePoint site collection - "there is an error during importing the Roles tag"

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

  • CRM SYSFAIL - Error when decompressing during Import

    Hi All,
    We are getting error in SMQ2   "Error when decompressing during Import"
    in Function module BAPI_CRM_SAVE and status is SYSFAIL. We are having CRM 4.0 and patch level 7.
    Please see the source code extract
    001920   ********************************************************************
    001930   * define a little macro to add a table name to l_t_tables           
    001940     DEFINE lmacro_add_import_table.                                   
    001950       l_t_tables-name = 'T_&1&2&3&4'.                                 
    001960       l_t_tables-itabname = 'C_S_BLOCK-T_&1&2&3&4'.                   
    001970       append l_t_tables.                                              
    001980     END-OF-DEFINITION.                                                
    001990   * define which tables have to be imported                           
    002000     macro_execute: lmacro_add_import_table.                           
    002010     lmacro_add_import_table:                                          
    002020       m h d r,                                                        
    002030       p a r 1,                                                        
    002040       p a r 2.                                                        
    002050   * carry out the IMPORT statement to decompress data                 
         >     IMPORT             (l_t_tables)                                   
    002070       FROM DATABASE    baldat(al)                                     
    002080       ID               i_s_ldat-log_handle                            
    002090       USING            baldat_import                                  
    002100       IGNORING CONVERSION ERRORS.                                     
    002110                                                                       
    002120   ENDFORM.                    "log_block_decompress                                                                               
    Thanks & Regards
    Sujith

    Hi Andersen,
    You should be a system administrator to do above task.
    Deepak Jangra

  • Oracle 10g Database Hanging twice a day

    My database server has 10g with MS 2003 server as OS.
    Twice a day the database hangs and does disconnects all the users from local and remote locations.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data files are, I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    Please reply.
    Thanks
    Ajaz Ahmed

    Hi friends / sameer,
    Sorry for the delay. Here is the attached alert.log file Since the data from foxpro was loaded into oracle on to oracle 10 g from 7th may the problem of database hanging started from the next day. I joined the organization on 22nd july.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data file is, it does not add. I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    If you can get me your mail id then I can send the
    attachment of alert.log file as [email protected] bounces back.
    Thanks
    Ajaz Ahmed

  • Errors ORA-39002,ORA-39070, ORA-29283, ORA-06512, ORA-29283 during import

    Hi all,
    I am getting errors during import to 10g database using impdp command.
    D:\>impdp nisa_lt/abc123@objtel1 directory=dtpump dumpfile=20120208_expobj.dmp full=y logfile=dbblog.log
    Import: Release 10.2.0.1.0 - Production on Monday, 13 February, 2012 17:16:05
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 488
    ORA-29283: invalid file operation
    dmpfile history:
    Starting "NISA_LT"."SYS_EXPORT_SCHEMA_01": nisa_lt/********@OBJ schemas=nisa_lt directory=dtpump dumpfile=20120208_expobj.dmp logfile=20120208_expobj.log
    Master table "NISA_LT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for NISA_LT.SYS_EXPORT_SCHEMA_01 is:
    /oradb/OBJ/oraarch/20120208_expobj.dmp
    Job "NISA_LT"."SYS_EXPORT_SCHEMA_01" successfully completed at 15:04:36
    and the dump file was done ftp with bin mode set.
    It'll be really helpful if some one can guide me on this.

    Hi all,
    I was trying to import into a database which i have only the details, but i have no access to db machine, which i think was the problem.
    dmp file easily got imported to database present in the systems which i had access.
    Following are my conclusions based on the experiments, correct me if I'm wrong:
    1. Basically these are errors when db system cant read/write/access the directory structure pointed by directory in database.
    2. This can be achieved by mounting the directory in which dmp is present to the system where database is present.
    2. We cannot import using impdp just by having tns details of the db, we need to have access to db system.
    Thanks
    Avi :)

  • DTW Sort Error - after mapping during import

    I got the "Sort Error - after mapping during import" message in DTW. (version 8.8)
    I would like to import warehouse info for items.
    My itemcodes are fix 15 character numbers, like this: 10204150020011
    The note nr. [1331130|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/oss_notes/sdn_oss_sbo_dtw/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333331313330%7d] said that I can't use recordkey like this.
    Do you have any idea how can I import thees information with DTW?
    Thank you,
    Attila Sarkady

    Dear All
    Please give correct and complete information
    i have tested every kind of combination;
    - recreate the template with the dtw for Items = i have UDF's
    - ADD the column RecordKey   !!! unbelievable that we have to do this
    - i have entered a nr 1 in it (even when we had already 850 items in the database)
    (and of course the hints of Gordon - columns as text, start with basic... - and use CSV format)
    now at last i can import the record line
    greetings
    philippe

  • Sessions/connections gets hang during update and select operations.

    A table with 3 million records, which has customer details data.
    Everyday application is executing select and update queries on that table.
    Sessions/connections gets hang during update and select operations.
    After checking ADDM report, following are the findings:
    Please suggest the solutions
    Findings and Recommendations
    Finding 1: Row Lock Waits
    Impact is 145.22 active sessions, 99.77% of total activity.
    SQL statements were found waiting for row lock waits.
    Recommendation 1: Application Analysis
    Estimated benefit is 145.22 active sessions, 99.77% of total activity.
    Action
    Significant row contention was detected in the TABLE
    "AVAYA.AIRTEL_CUSTOMER_MASTER" with object ID 82155. Trace the cause of
    row contention in the application logic using the given blocked SQL.
    Related Object
    Database object with ID 82155.
    Rationale
    The SQL statement with SQL_ID "974vg65j29pmv" was blocked on row locks.
    Related Object
    SQL statement with SQL_ID 974vg65j29pmv.
    UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
    WHERE ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
    Rationale
    The session with ID 50 and serial number 34525 in instance number 1 was
    the blocking session responsible for 100% of this recommendation's
    benefit.
    Symptoms That Led to the Finding:
    Wait class "Application" was consuming significant database time.
    Impact is 145.22 active sessions, 99.77% of total activity.
    Finding 2: Top SQL Statements
    Impact is 46.39 active sessions, 31.87% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
    Recommendation 1: SQL Tuning
    Estimated benefit is 46.39 active sessions, 31.87% of total activity.
    Action
    Investigate the UPDATE statement with SQL_ID "974vg65j29pmv" for
    possible performance improvements. You can supplement the information
    given here with an ASH report for this SQL_ID.
    Related Object
    SQL statement with SQL_ID 974vg65j29pmv.
    UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
    WHERE ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
    Rationale
    The SQL spent only 0% of its database time on CPU, I/O and Cluster
    waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
    Look at performance data for the SQL to find potential improvements.
    Rationale
    Database time for this SQL was divided as follows: 100% for SQL
    execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
    execution.
    Rationale
    SQL statement with SQL_ID "974vg65j29pmv" was executed 212 times and had
    an average elapsed time of 2494 seconds.
    Rationale
    Waiting for event "enq: TX - row lock contention" in wait class
    "Application" accounted for 100% of the database time spent in
    processing the SQL statement with SQL_ID "974vg65j29pmv".

    **addm report **
              ADDM Report for Task 'TASK_7526'
    Analysis Period
    AWR snapshot range from 5003 to 5004.
    Time period starts at 08-JUL-13 11.00.27 AM
    Time period ends at 08-JUL-13 12.00.45 PM
    Analysis Target
    Database 'AVAYADB' with DB ID 2878789264.
    Database version 11.2.0.1.0.
    ADDM performed an analysis of instance avayadb, numbered 1 and hosted at
    NG-LA04AVAYA01.
    Activity During the Analysis Period
    Total database time was 563062 seconds.
    The average number of active sessions was 155.63.
    Summary of Findings
       Description         Active Sessions      Recommendations
                           Percent of Activity
    1  Row Lock Waits      155.44 | 99.88       1
    2  Top SQL Statements  26.67 | 17.14        1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Findings and Recommendations
    Finding 1: Row Lock Waits
    Impact is 155.4 active sessions, 99.88% of total activity.
    SQL statements were found waiting for row lock waits.
       Recommendation 1: Application Analysis
       Estimated benefit is 155.44 active sessions, 99.88% of total activity.
       Action
          Significant row contention was detected in the TABLE
          "AVAYA.AIRTEL_CUSTOMER_MASTER" with object ID 82155. Trace the cause of
          row contention in the application logic using the given blocked SQL.
          Related Object
             Database object with ID 82155.
       Rationale
          The SQL statement with SQL_ID "974vg65j29pmv" was blocked on row locks.
          Related Object
             SQL statement with SQL_ID 974vg65j29pmv.
             UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
             WHERE  ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
       Rationale
          The session with ID 167 and serial number 6084 in instance number 1 was
          the blocking session responsible for 100% of this recommendation's
          benefit.
       Symptoms That Led to the Finding:
          Wait class "Application" was consuming significant database time.
          Impact is 155.45 active sessions, 99.88% of total activity.
    Finding 2: Top SQL Statements
    Impact is 26.66 active sessions, 17.14% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
       Recommendation 1: SQL Tuning
       Estimated benefit is 26.67 active sessions, 17.14% of total activity.
       Action
          Investigate the UPDATE statement with SQL_ID "974vg65j29pmv" for
          possible performance improvements. You can supplement the information
          given here with an ASH report for this SQL_ID.
          Related Object
             SQL statement with SQL_ID 974vg65j29pmv.
             UPDATE AVAYA.AIRTEL_CUSTOMER_MASTER SET PREFERRED_LANGUAGE = :1
             WHERE  ( AIRTEL_CUSTOMER_MASTER.MSISDN = :2 )
       Rationale
          The SQL spent only 0% of its database time on CPU, I/O and Cluster
          waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
          Look at performance data for the SQL to find potential improvements.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "974vg65j29pmv" was executed 707 times and had
          an average elapsed time of 794 seconds.
       Rationale
          Waiting for event "enq: TX - row lock contention" in wait class
          "Application" accounted for 100% of the database time spent in
          processing the SQL statement with SQL_ID "974vg65j29pmv".
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Additional Information
    Miscellaneous Information
    Wait class "Commit" was not consuming significant database time.
    Wait class "Concurrency" was not consuming significant database time.
    Wait class "Configuration" was not consuming significant database time.
    Wait class "Network" was not consuming significant database time.
    Wait class "User I/O" was not consuming significant database time.
    Session connect and disconnect calls were not consuming significant database
    time.
    Hard parsing of SQL statements was not consuming significant database time.

  • Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.

    Dear Team,
    I have two Enterprise lync 2013 pools, abcPool and abcpool1. abcPool1 has got two servers, Server1 and server2. and abcpool has one FE server named "Server 3". and they have pool pairing.
    Replication was fine between them when i had only one FE server in each pool, one day FE service broke on one of the FE server on abcpool1 and failed to start so i had to do failover to another pool, at that time i introduced one more FE in abcPool1, that
    why now 2 FEs in abcPool2. Server1 FE service was resolved by reinstalling the binaries. However after that im unable to get the backupservice state to normal, i tried the below articles with no luck,
    http://social.technet.microsoft.com/Forums/lync/en-US/0403621e-26b6-4cd0-bbca-8534a20de665/backup-service-pool-ownership-conflict-during-import?forum=lyncdeploy 
    http://msucmenow.blogspot.in/2013/05/troubleshooting-lync-2013-pool-pairing.html
    "Event on Server 1"
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 8:02:33 AM
    Event ID:      4073
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      ABC.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.
    Items having pool ownership conflict: 
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7972, DocName: urn:hcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7973, DocName: urn:lcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7974, DocName: urn:upc:[email protected]
    PS C:\Users\lyncadmin> Get-CsBackupServiceStatus -PoolFqdn pool1.net | fl
    ActiveMachineFqdn   : abc1.net
    OverallExportStatus : SteadyState
    OverallImportStatus : ErrorState
    BackupModules       : {UserServices.PresenceFocus:[SteadyState,ErrorState],
                          ConfServices.DataConf:[FinalState,NormalState],
                          CentralMgmt.CMSMaster:[FinalState,NotInitialized]}
    Following error in "Lync Server" logs on server3 on abcPool.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:37:47 AM
    Event ID:      4069
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully when importing document batch.
    Batch file: UserServices\PresenceFocus\1-UserServices-8\Data\488bc218-9954-4caf-a5da-89efdb7b85a7_0_1562.xml.
     Exception: System.Data.SqlClient.SqlException (0x80131904): Snapshot isolation transaction aborted due to update conflict. You cannot use snapshot isolation to access table 'dbo.Batch' directly or indirectly in database 'rtcxds' to update, delete, or
    insert the row that has been modified or deleted by another transaction. Retry the transaction or change the isolation level for the update/delete statement.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:52:45 AM
    Event ID:      4064
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully during export.
    Additional Message: 
     Exception: System.IO.IOException: The process cannot access the file '\\SQl1.net\LyncShare\1-BackupService-10\BackupStore\UserServices\PresenceFocus\Cookie\Cookie.zip' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    Praveen | MCSE Messaging 2003

    When you add a new FE in pool acdpool1, please check you have run the following:
    <system drive>\Program Files\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe
    For the details, check
    http://technet.microsoft.com/en-us/library/jj204773.aspx
    Lisa Zheng
    TechNet Community Support

Maybe you are looking for