Problem with one table taking a long time to query.

We have one table with around 6000 rows and 30 columns. It has 1 primary key, 5 indexes, 2 foreign Keys
select primarykeycolumn from table
it takes 0.003 seconds.
If we add a where clause on an indexed column it takes 0.003 seconds approx.
If we add a simple where clause on ANY column that is not indexed then it takes around 7 seconds!
I have done a create table test as (select * from table) recreated all constraints and this again take milliseconds!
The only thing i noticed was that the table had a long RAW in it and the phyical size of it via dba_segments was 777mb. I dropped this column but the speed has not improved. But then again the dba_segment size has not changed?
Is there anything i can check or anything i can do to see where the problem could be?
Hope i have made myself clear.
Thanks in advance

Is this what is required?
PLAN_TABLE_OUTPUT
Plan hash value: 3474698526
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 10 | 21582 (1)| 00:04:19 |
|* 1 | TABLE ACCESS FULL| SFJR | 1 | 10 | 21582 (1)| 00:04:19 |
recursive calls     1
db block gets     0
consistent gets     98098
physical reads     95014
redo size     0
bytes sent via SQL*Net to client     725
bytes received via SQL*Net from client     606
SQL*Net roundtrips to/from client     2
sorts (memory)     1
sorts (disk)     0

Similar Messages

  • Import one table taking toom uch time

    Hi All,
    i have database 10g running with ASM under HPUX 04 processor with 08Gb of RAM.
    I have a problem of importing one table with 6M lines, it takes too much time even 02 days the data is not yet importing, i don't know where is the problem.
    I tried also to use data pump but when exporting the table from the other server in RAC it gives error bellow:
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 2 with process name "DW04" prematurely terminated
    ORA-31671: Worker process DW04 had an unhandled exception.
    ORA-12801: error signaled in parallel query server P029, instance ab-db2:abdb2 (2)
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-31626: job does not exist
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    ORA-06512: at "SYS.KUPW$WORKER", line 1342
    ORA-06512: at line 2
    Thanks fro your help for this problem.
    regards
    raitsarevo

    This the command i used:
    time expdp abillity/4dd1ct3d dumpfile=cb_coupons.dmp logfile=cb_coupons.log directory=exp_dir parallel=4 tables=cb_coupons
    and this is a portion of my alert log file, no error signaled:
    Fri Apr 18 15:57:35 2008
    ALTER SYSTEM SET service_names='abdb','SYS$SYS.KUPC$C_1_20080418155733.ABDB' SCOPE=MEMORY SID='abdb1';
    Fri Apr 18 15:57:35 2008
    ALTER SYSTEM SET service_names='SYS$SYS.KUPC$C_1_20080418155733.ABDB','abdb','SYS$SYS.KUPC$S_1_20080418155733.ABDB' SCOPE=MEMORY SID='abdb1';
    kupprdp: master process DM00 started with pid=212, OS id=10470
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_TABLE_09', 'ABILLITY', 'KUPC$C_1_20080418155733', 'KUPC$S_1_20080418155733', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=215, OS id=10621
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_TABLE_09', 'ABILLITY');
    kupprdp: worker process DW02 started with worker id=2, pid=219, OS id=11777
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_TABLE_09', 'ABILLITY');
    Fri Apr 18 15:59:41 2008
    ALTER SYSTEM SET service_names='SYS$SYS.KUPC$S_1_20080418155733.ABDB','abdb' SCOPE=MEMORY SID='abdb1';
    Fri Apr 18 15:59:41 2008
    ALTER SYSTEM SET service_names='abdb' SCOPE=MEMORY SID='abdb1';
    Fri Apr 18 16:01:16 2008
    Thread 1 advanced to log sequence 62141
    Current log# 5 seq# 62141 mem# 0: +ASM_DG2/abdb/onlinelog/group_5.286.618685253
    Current log# 5 seq# 62141 mem# 1: +ASM_DG1/abdb/onlinelog/group_5.10591.618685257
    Thanks for your help

  • Problem with one table in 8i

    Hi,
    I have one table in my database that is acting weird. When i do
    simple statements like 'select count(*) from cardholder' it hangs.
    I don't get any results back, it doesn't jump back at the prompt, it
    just hangs. Only if i do CTRL - C (it's a AIX Unix box)it goes back to
    the prompt. But if i do the following statement: 'select count (*) from
    cardholder where cardholder_id < 300000' it processes it.
    The other tables in the database are fine.
    Can anyone advise me about this issue?
    thanks,
    cihat

    Also you can enable the autotrace utillity, for rewing the execution plan for the statement, also check the alert for looking for a corruption problem.
    Sope this helps
    CYnthia Pulido
    Monterrey, Mexico
    Hi,
    I have one table in my database that is acting weird. When i do
    simple statements like 'select count(*) from cardholder' it hangs.
    I don't get any results back, it doesn't jump back at the prompt, it
    just hangs. Only if i do CTRL - C (it's a AIX Unix box)it goes back to
    the prompt. But if i do the following statement: 'select count (*) from
    cardholder where cardholder_id < 300000' it processes it.
    The other tables in the database are fine.
    Can anyone advise me about this issue?
    thanks,
    cihat

  • Query on flashback_transaction_query table taking ridiculously long time

    Oracle 10.2.0.3.0 on Solaris :
    I am trying to use Flashback Transaction Query table to track transactions and generate the undo_sql within a time period for an entire schema using the following sql :
    SELECT XID,START_SCN,COMMIT_SCN,OPERATION,TABLE_NAME,TABLE_OWNER,LOGON_USER,UNDO_SQL
    FROM flashback_transaction_query
    WHERE start_timestamp >= TO_TIMESTAMP ('2007-08-16 11:50:00AM','YYYY-MM-DD HH:MI:SSAM')
    AND start_timestamp <= TO_TIMESTAMP ('2007-08-16 11:55:00AM','YYYY-MM-DD HH:MI:SSAM')
    AND TABLE_OWNER = 'JEFFERSON';
    None of my attempts to run this query has succeeded so far as it keeps executing and executing that never seems to end.
    The highest I waited is 50 minutes before cancelling it.
    I did read thru metalink doc id 270270.1 (which I think is close), however, the solution is not relevant to the requirement I have.
    Any suggestions would be of help. Thanks

    I found that if I did the following:
    select t2.*
    from
      select taddr
      from v$session
      where username = <username>
      ) t1
      inner join
      v$transaction t2
      on t1.taddr = t2.addr
    /... and used the XID value in this:
    select *
    from flashback_transaction_query
    where xid = hextoraw('< the value of XID from above');... that it would come back fast.
    But even then, I would have to wait a little bit before the update statement seemed to register elsewhere in the database. There was a delay. But once the update seemed to register -- and you reselected -- it was fast.
    I had no luck using those other columns in 10.1.0.5.
    I also ran DBMS_STATS.GATHER_FIXED_OBJECT_STATS and DBMS_STATS.GATHER_DICTIONARY_STATS but I do not know if they changed anything or if I just was not waiting long enough for the statement to register.

  • Migration Working with Errors and Taking Very Long Time: Transient error MapiExceptionNetworkError, StalledDueToMailboxLock

    So, I am migrating mailboxes to a 2013 EXC from a 2010 EXC. Both in same subnet on same domain. Firewall on WIndows disabled: 
    Setup batch move on 2013 box. But users logs are getting 
    StalledDueToMailboxLock in the status as well as 
    Transient error MapiExceptionNetworkError has occurred. The system will retry (1/60).
    also, The mailboxes eventually migrate over 2-3 days. some quicker some with out error. Error comes up with mailboxes that users do not use. I have a lot of users to migrate and cannot migrate as such a slow pace. 
    Any Ideas of the error??
    RunspaceId : 6c688e69-8ba8-4044-9807-7f56d35be440
    MailboxIdentity : bwa.local/BWA/UK/UK User Redirect/Angie Dolan
    DistinguishedName : CN=Angie Dolan,OU=UK User Redirect,OU=UK,OU=BWA,DC=bwa,DC=local
    DisplayName : Angie Dolan
    Alias : adolan
    ExchangeGuid : 4c60f493-e5f5-46bb-adf1-9bea9790f5ca
    ArchiveGuid :
    Status : InProgress
    StatusDetail : StalledDueToMailboxLock
    SyncStage : CopyingMessages
    Flags : IntraOrg, Pull
    RequestStyle : IntraOrg
    Direction : Pull
    IsOffline : False
    Protect : False
    DoNotPreserveMailboxSignature : True
    Priority : Normal
    WorkloadType : Local
    Suspend : False
    SuspendWhenReadyToComplete : False
    IgnoreRuleLimitErrors : False
    RecipientTypeDetails : UserMailbox
    SourceVersion : Version 14.3 (Build 123.0)
    SourceDatabase : Mailbox Database 1691384683
    SourceServer : CLOUD-EXC-01.bwa.local
    TargetVersion : Version 15.0 (Build 775.0)
    TargetDatabase : Mailbox Database 0192305397
    TargetServer : CLOUD-EXC-02.bwa.local
    SourceArchiveDatabase :
    SourceArchiveVersion :
    SourceArchiveServer :
    TargetArchiveDatabase :
    TargetArchiveVersion :
    TargetArchiveServer :
    RemoteHostName :
    RemoteGlobalCatalog :
    BatchName : MigrationService:b
    StartAfter :
    CompleteAfter :
    RemoteCredentialUsername :
    RemoteDatabaseName :
    RemoteDatabaseGuid :
    RemoteArchiveDatabaseName :
    RemoteArchiveDatabaseGuid :
    TargetDeliveryDomain :
    ArchiveDomain :
    BadItemLimit : 0
    BadItemsEncountered : 0
    LargeItemLimit : 0
    LargeItemsEncountered : 0
    AllowLargeItems : True
    QueuedTimestamp : 3/23/2014 1:06:19 PM
    StartTimestamp : 3/23/2014 1:06:27 PM
    LastUpdateTimestamp : 3/23/2014 1:25:13 PM
    InitialSeedingCompletedTimestamp :
    FinalSyncTimestamp :
    CompletionTimestamp :
    SuspendedTimestamp :
    OverallDuration : 00:22:38
    TotalFinalizationDuration :
    TotalDataReplicationWaitDuration :
    TotalSuspendedDuration :
    TotalFailedDuration :
    TotalQueuedDuration : 00:00:03
    TotalInProgressDuration : 00:22:34
    TotalStalledDueToCIDuration :
    TotalStalledDueToHADuration :
    TotalStalledDueToMailboxLockedDuration : 00:13:47
    TotalStalledDueToReadThrottle :
    TotalStalledDueToWriteThrottle : 00:02:14
    TotalStalledDueToReadCpu :
    TotalStalledDueToWriteCpu : 00:00:04
    TotalStalledDueToReadUnknown :
    TotalStalledDueToWriteUnknown :
    TotalTransientFailureDuration : 00:01:36
    TotalProxyBackoffDuration :
    TotalIdleDuration : 00:04:45
    MRSServerName :
    TotalMailboxSize : 3.534 GB (3,795,059,862 bytes)
    TotalMailboxItemCount : 20741
    TotalArchiveSize :
    TotalArchiveItemCount :
    BytesTransferred : 59.82 MB (62,723,648 bytes)
    BytesTransferredPerMinute :
    ItemsTransferred : 412
    PercentComplete : 25
    CompletedRequestAgeLimit : 7.00:00:00
    PositionInQueue :
    InternalFlags : SkipFolderPromotedProperties, WordBreak
    FailureCode :
    FailureType :
    FailureSide :
    Message : Informational: The request has been temporarily postponed because the mailbo
    is locked. The Microsoft Exchange Mailbox Replication service will attempt t
    continue processing the request after 3/23/2014 1:30:13 PM.
    FailureTimestamp :
    IsValid : True
    ValidationMessage :
    RequestGuid : 55c14015-1bca-48eb-bb79-25b480464bfb
    RequestQueue : Mailbox Database 0192305397
    Identity : bwa.local/BWA/UK/UK User Redirect/Angie Dolan
    DiagnosticInfo :
    Report : 3/23/2014 1:06:19 PM [CLOUD-EXC-02] '' created move request.
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:06:26 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Request processing started.
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Source mailbox information:
    Regular Items: 17941, 3.509 GB (3,767,437,011 bytes)
    Regular Deleted Items: 2435, 26.34 MB (27,622,851 bytes)
    FAI Items: 365, 0 B (0 bytes)
    FAI Deleted Items: 0, 0 B (0 bytes)
    3/23/2014 1:06:27 PM [CLOUD-EXC-02] Mailbox signature will not be preserved
    for mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'. Outlook client
    will need to restart to access the moved mailbox.
    3/23/2014 1:06:29 PM [CLOUD-EXC-02] Stage: CreatingFolderHierarchy. Percent
    complete: 10.
    3/23/2014 1:06:36 PM [CLOUD-EXC-02] Initializing folder hierarchy from
    mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)': 370 folders total.
    3/23/2014 1:06:36 PM [CLOUD-EXC-02] Folder creation progress: 0 folders
    created in mailbox 'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:06:53 PM [CLOUD-EXC-02] Folder hierarchy initialized for mailbox
    'Primary (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)': 369 folders created.
    3/23/2014 1:06:53 PM [CLOUD-EXC-02] Stage: CreatingInitialSyncCheckpoint.
    Percent complete: 15.
    3/23/2014 1:07:58 PM [CLOUD-EXC-02] Initial sync checkpoint progress: 0/370
    folders processed. Currently processing mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:07:59 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:08:31 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:08:33 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:13:33 PM.
    3/23/2014 1:13:36 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:13:37 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:13:37 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:13:38 PM [CLOUD-EXC-02] Request processing continued, stage
    CreatingInitialSyncCheckpoint.
    3/23/2014 1:13:39 PM [CLOUD-EXC-02] Initial sync checkpoint progress: 0/370
    folders processed. Currently processing mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)'.
    3/23/2014 1:13:47 PM [CLOUD-EXC-02] Initial sync checkpoint completed: 354
    folders processed.
    3/23/2014 1:13:47 PM [CLOUD-EXC-02] Stage: LoadingMessages. Percent complete
    20.
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Messages have been enumerated
    successfully. 20738 items loaded. Total size: 3.535 GB (3,795,484,545 bytes)
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Stage: CopyingMessages. Percent complete
    25.
    3/23/2014 1:14:34 PM [CLOUD-EXC-02] Copy progress: 0/20738 messages, 0 B (0
    bytes)/3.535 GB (3,795,484,545 bytes), 12/370 folders completed.
    3/23/2014 1:16:45 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:17:17 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:22:17 PM.
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:22:39 PM [CLOUD-EXC-02] Request processing continued, stage
    LoadingMessages.
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Messages have been enumerated
    successfully. 20738 items loaded. Total size: 3.535 GB (3,795,484,545 bytes)
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Stage: CopyingMessages. Percent complete
    25.
    3/23/2014 1:22:40 PM [CLOUD-EXC-02] Copy progress: 0/20738 messages, 0 B (0
    bytes)/3.535 GB (3,795,484,545 bytes), 12/370 folders completed.
    3/23/2014 1:24:41 PM [CLOUD-EXC-02] Transient error MapiExceptionNetworkErro
    has occurred. The system will retry (1/60).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] The Microsoft Exchange Mailbox
    Replication service 'CLOUD-EXC-02.bwa.local' (15.0.775.35 caps:3F) is
    examining the request.
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Connected to target mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    0192305397', Mailbox server 'CLOUD-EXC-02.bwa.local' Version 15.0 (Build
    775.0).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Connected to source mailbox 'Primary
    (4c60f493-e5f5-46bb-adf1-9bea9790f5ca)', database 'Mailbox Database
    1691384683', Mailbox server 'CLOUD-EXC-01.bwa.local' Version 14.3 (Build
    123.0).
    3/23/2014 1:25:13 PM [CLOUD-EXC-02] Relinquishing job because the mailbox is
    locked. The job will attempt to continue again after 3/23/2014 1:30:13 PM.
    ObjectState : New

    How Many CAS Servers do you have?
    Did you changed the web.config file of MRS on both exchange 2010 and 2013 CAS servers?
    http://thoughtsofanidlemind.com/2010/12/03/tweaking-the-mailbox-replication-service-configuration-file/
    Question:
    How much time does it takes for 100 MB mailbox to move from 2010 to 2013?
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Taking too long time to get LOV

    HI,
    I have created a customer folder in which the query retuns 0.5 million records.
    I have created a item class in airline_name column which is being used in the worksheet as parameter.
    The problem is it is taking too long time near about 2 min to get LOV when the user wants to search the exact name.
    Thanks,
    Himanshu Tiwari

    Hi,
    Usually, you should not use the folder that the report is based on to define the LOV. You should use a separate folder to define the LOV that is optimised to return the content of the LOV.
    Rod West

  • I have just bought iphone 5 and i have a problem in charging it , firstly it took a long time to charge when i opened it to the first time , and its nearly dont charge on 110 output, and its taking a long time to charge on 220 reaches 50% in 1 hour

    I have just bought iphone 5 and i have a problem in charging it , firstly it took a long time to charge when i opened it to the first time , and its nearly dont charge on 110 output, and its taking a long time to charge on 220 reaches 50% in 1 hour is this normal?

    The charger block is universal and is able to handle multiple votages.  One hour to reach 50% seems fine to me if the phone was completely flat to start with.  Just leave it on charge for as long as it takes to reach 100%.  I leave mine connected overnight all the time and it does not harm the battery

  • Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long.

    Hello Friends,
    The background is I am working as conversion manager and we move the data from oracle to SQL Server using SSMA and then we will apply the conversion logic and then move the data to system test ,UAT and Production.
    Scenario:
    Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long. Both the databases are in the same server.
    Questions are…
    What is best option?
    IF we use the SSIS it’s very slow and taking 17 hours (some time it use to stuck and won’t allow us to do any process).
    I am using my own script (Stored procedure) and it’s taking only 1 hour 40 Min. I would like know is there any better process to speed up and why the SSIS is taking too long.
    When we move the data using SSIS do they commit inside after particular count? (or) is the Microsoft is committing all the records together after writing into Transaction Log
    Thanks
    Karthikeyan Jothi

    http://www.dfarber.com/computer-consulting-blog.aspx?filterby=Copy%20hundreds%20of%20millions%20records%20in%20ms%20sql
    Processing
    hundreds of millions records can be done in less than an hour.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Taking snapshot of oracle tables to sql server using transactional replication is taking a long time

    Hi All,
    I am trying to replicate around 200 oracle tables onto sql server using transaction replication and it taking a long time i.e the initial snapshot is taking more than 24 hrs and it still going on.
    Is there any way to replicate those these tables faster?
    Kindly help me out..
    Thanks

    Hi,
    According to the description, I know the replication is working fine. But it is very slow. 
    1. Check the CPU usage on Oracle publisher and SQL Server. This issue may due to slow client processing (Oracle performance) or Network performance issues.
    2. Based on SQL Server 2008 Books Online ‘Performance Tuning for Oracle Publishers’ (http://msdn.microsoft.com/en-us/library/ms151179(SQL.100).aspx). You can enable the transaction
    job set and follow the instructions based on
    http://msdn.microsoft.com/en-us/library/ms147884(v=sql.100).aspx.
    2. You can enable replication agent logging to check the replication behavior. You may follow these steps to collect them:
    To enable Distribution Agent verbose logging. Please follow these steps:
    a. Open SQL Server Agent on the distribution server.
    b. Under Jobs folder, find out the Distribution Agent.
    c. Right click the job and choose Properties.
    d. Select Steps tap, it should be like this:
    e. Click Run agent and click Edit button, add following scripts by the end of scripts in the command box:
            -Output C:\Temp\OUTPUTFILE.txt -Outputverboselevel 2
    f. Exit the dialogs
     For more information about the steps, please refer to:
    http://support.microsoft.com/kb/312292
    Hope the information helps.
    Tracy Cai
    TechNet Community Support

  • Hyperion Report taking a long time to process local query

    Hi All,
    I am trying to run a report on Hyperion IR 9.3.1. I am facing a performance issue with this report. I am joining 13 tables using full outer join. Each table is having data about 900 rows and the final output i am getting from the local query is about 11000 rows. This local query is taking a long time to get process about 3 - 5 minutes. I suppose it should run with in 30 sec as number of rows are very few. Can anyone tell me what is the problem with this local query and how the performance of the report can be increased?
    Thanks in advance.
    Regards
    Ujjawal

    Be aware that XP takes approx 1gb of your RAM leaving you with 1gb for whatever else is running. MS Outlook is also a memory hog.
    To check Virtual Memory Settings:
    Control Panel -> System
    System Properties -> Advanced Tab -> Performance Settings
    Performance Options -> Adavanced Tab - Virtual Memory section
    Virtual Memory -
    what are
    * Initial Size
    * Maximum Size
    In a presentation at one of the Hyperion conferences years ago, Mark Ostroff suggested that the initial be set to the same as Max. (Max is typically 2x physical RAM)
    These changes may provide some improvement.

  • Discoverer reports taking a long time!!!

    Hi all,
    One of our clients is complaining that the discoverer reports are taking a long time to run for the last few days, the report used to take 30 minutes before but now is running for hours!!
    I have checked the SGA and I have killed the idle sessions but still there was no improvement in the performance.
    The version of BI discoverer is 10 and database also is 10g and the platform is win server 2003.
    I have checked the forums and they talk about explain plan and tkprof and other commands, but my problem is that i am unable to find the query that discoverer is running i mean once the report is clicked the query runs and gives the estimate time it would take. can some one tell me where this query is stored so that i can check this query,
    Also there were no changes made in the query or to the database.
    The temp space fills up 100%, i increased the size of temp space but still it goes to 100% also i noticed that the CPU utilisation goes to 100%
    i also increased the SGA but still no go.
    can someone kindly help me as to what could be causing this problem
    also kindly guide me to some good documents for tuning the discoverer.
    thanks in advance,
    regards,
    Edited by: user10243788 on Jan 4, 2010 12:47 AM

    Hi,
    The fact that the report used to work fast and now not can be related to many things but my guess is that the database statistics were changed and so the explain plan has changed.
    This can be done due to change in the volume of the data that crossed a level were oracle optimizer change the behavior but it can be other things as well.
    Anyway it is not relevant since it will be easier to tune the SQL than to find what have changed.
    In order to find whether the problem is with the discoverer or in the SQL extract the SQL as described above and run it in SQL tool (SQL Plus, TOAD, SQL Developer and so on).
    The best way to get to the problem is run a trace on your session and then use the TKPROF command to translate it to a text file you can analyze - you can assist your DBA team they should have no problem doing that.
    By doing that you will get the problematic statements/ functions/ procedures that the report uses.
    From there you can start working on improving the performance.
    Performance is expertise for itself so i'm sorry i don't know to tell you where to start from, I guess the start will be from understanding the meaning of the explain plan.
    Hope I helped a little although I wish Ii had a magic answer for you
    BTW, until you resolve that problem you can use the discoverer scheduler to run the reports in the background and so the users will get the data.
    Tamir

  • Time Machine Taking a Long Time to Index / Back Up

    Hi everyone.
    I noticed this on the latest backup to my Time Capsule device.  I'm backing up over a WiFi connection to a time capsule device.  It is taking a long time to index the backup.  Here's the code from the latest backup.
    10/17/12 9:43:03.799 PM com.apple.backupd: Starting standard backup
    10/17/12 9:43:04.091 PM com.apple.backupd: Attempting to mount network destination URL: afp://Michael%20Payne@Extreme%20Pleasantville._afpovertcp._tcp.local/Time%20Mac hine%20Backups
    10/17/12 9:43:12.657 PM com.apple.backupd: Mounted network destination at mountpoint: /Volumes/Time Machine Backups using URL: afp://Michael%20Payne@Extreme%20Pleasantville._afpovertcp._tcp.local/Time%20Mac hine%20Backups
    10/17/12 9:43:34.015 PM com.apple.backupd: QUICKCHECK ONLY; FILESYSTEM CLEAN
    10/17/12 9:43:37.440 PM com.apple.backupd: Disk image /Volumes/Time Machine Backups/Michael’s MacBook Pro.sparsebundle mounted at: /Volumes/Time Machine Backups 1
    10/17/12 9:43:37.459 PM com.apple.backupd: Backing up to: /Volumes/Time Machine Backups 1/Backups.backupdb
    10/17/12 9:45:23.296 PM com.apple.backupd: 500.1 MB required (including padding), 3.27 GB available
    10/17/12 9:46:48.844 PM com.apple.backupd: Copied 1436 files (3.4 MB) from volume Macintosh HD.
    10/17/12 9:46:51.897 PM com.apple.backupd: 448.1 MB required (including padding), 3.27 GB available
    10/17/12 9:46:51.898 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:47:53.681 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:48:55.642 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:49:56.511 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:50:56.564 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:51:57.643 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:52:57.903 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:53:59.341 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:55:01.281 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:56:03.171 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:57:03.966 PM com.apple.backupd: Waiting for index to be ready (100)
    10/17/12 9:58:33.083 PM com.apple.backupd: Copied 824 files (1.2 MB) from volume Macintosh HD.
    10/17/12 9:58:40.359 PM com.apple.backupd: Starting post-backup thinning
    10/17/12 9:59:51.851 PM com.apple.backupd: Deleted /Volumes/Time Machine Backups 1/Backups.backupdb/Michael’s MacBook Pro/2012-10-16-213620 (5.6 MB)
    10/17/12 10:00:17.440 PM com.apple.backupd: Deleted /Volumes/Time Machine Backups 1/Backups.backupdb/Michael’s MacBook Pro/2012-10-16-113505 (1.6 MB)
    10/17/12 10:00:30.046 PM com.apple.backupd: Deleted /Volumes/Time Machine Backups 1/Backups.backupdb/Michael’s MacBook Pro/2012-10-16-103509 (1.6 MB)
    10/17/12 10:00:43.781 PM com.apple.backupd: Deleted /Volumes/Time Machine Backups 1/Backups.backupdb/Michael’s MacBook Pro/2012-10-16-093513 (1.3 MB)
    10/17/12 10:00:43.781 PM com.apple.backupd: Post-back up thinning complete: 4 expired backups removed
    10/17/12 10:00:45.207 PM com.apple.backupd: Backup completed successfully.
    10/17/12 10:00:56.988 PM com.apple.backupd: Ejected Time Machine disk image.
    10/17/12 10:00:57.550 PM com.apple.backupd: Ejected Time Machine network volume.
    I am just curious as to why this is, and what I might do to fix it.  I did see one suggestion in another website suggesting diabling spolight indexing of the backup image with sudo mdutil -i off /Volumes/Time Machine Backups, but don't know where to type that in.  It then states to reenable it, but don't know where to type that in, either.  Any advice would be helpful.  I did run a verification not too long ago, and here's that code.
    10/14/12 3:44:14.289 PM com.apple.backupd: Backup verification requested by user.
    10/14/12 3:44:41.503 PM com.apple.backupd: Running backup verification
    10/14/12 4:04:31.602 PM com.apple.backupd: Backup verification passed!
    If any of you have or had a similar problem, I'd appreciate your help.  For the time being, I may just disable time machine during the evening, and only have it run during the day when I'm at work.

    Is your sig still current (10.7.3)? Or did you update to 10.7.5? Because 10.7.5 had a Spotlight/Time Machine bug that slowed down a lot of backups. If that's what it is, there's now a 10.7.5 Supplemental Update that fixes the slow Time Machine problem.
    If it isn't 10.7.5, I don't know what the problem might be.

  • Issue in updating large number of rows which is taking a long time

    Hi all,
    Am new to oracle forums. First I will explain my problems as below:
    1) I have a table of 350 columns for which i have two indexes. One is for primary key's id
    and the other is the composite id (combination of two functional ids)
    2) Through my application, the user can calculate some functional conditions and the result
    is updated in the same table.
    3) The table consists of all input, intermediate and output columns.
    4) The only way of calculation is done through update statements. The problem is, for one
    complete process, the total number of update statement hits the db is around 1000.
    5) From the two index, one indexed column is mandatory in all update where clause. So one
    will come at any case but the other is optional.
    6) Updating the table is taking a long time if the row count exceeds 1lakh.
    7) I will now explain the scenario:
    a. Say there is 5lakh 100 records in the table in which mandatory indexed column id 1 has
    100 records and id 2 has 5 lakhs record.
    b. If I process id 1, it is very fast and executed within 10seconds. But if I process id 2,
    then it is taking more than 4 minutes to update.
    Is there any way to increase the speed of the update statement. Am using oracle 10g.
    Please help me in this, Since I am a developer and dont have much knowledge in oracle.
    Thanks in advance.
    Regards,
    Sethu

    refer the link:
    http://hoopercharles.wordpress.com/2010/03/09/vsession_longops-wheres-my-sql-statement/

  • Rank Function taking a long time to execute in SAP HANA

    Hi All,
    I have a couple of reports with rank function which is timing out/ or taking a really long time to execute, Is there any way to get the result in less time when rank functions are involved?
    the following is a sample of how the Query looks,
    SQL 1:
    select      a.column1,
                    b.column1,
                    rank () over(partition by a.column1 order by sum(b.column2) asc)
    from         "_SYS_BIC"."Analyticview1"         b
                    join          "Table1"            a
                      on          (a.column2 = b.column3)
    group by  a.column1,
    b.column1;
    SQL 2:
    select    a.column1,
                    b.column1,
                    rank () over( order by min(b.column1) asc) WJXBFS1
    from         "_SYS_BIC"."Analytic view2"         b
                    cross join                "Table 2"               a
    where      (a.column2  like '%a%'
    and b.column1  between 100 and 200)
    group by  a.column1,
                    b.column1
    when I visualize the execution plan,the rank function is the one taking up a longer time frame. so I executed the same SQL without the rank() or partition or order by(only with Sum() in SQL1 and Min() in SQL 2) even that took a around an hour to get the result.
    1.Does anyone have an any idea to make these queries to execute faster?
    2. Does the latency have anything to do with the rank function or could it be size of the result set?
    3. is there any workaround to implement these rank function/partition inside the Analytic view itself? if yes, will this make it give the result faster?
    Thank you for your help!!
    -Gayathri

    Krishna,
    I tried both of them, Graphical and CE function,
    It is also taking a long time to execute
    Graphical view giving me the following error after 2 hr and 36 minutes
    Could not execute 'SELECT ORDER_ID,ITEM_ID,RANK from "_SYS_BIC"."EMMAPERF/ORDER_FACT_HANA_CV" group by ...' in 2:36:23.411 hours .
    SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed
    CE function - I aborted after 40 mins
    Do you know the syntax to declare local variable to use in CE function?

  • Firefox in my Mac is suddenly taking a long time to activate, my Mac seems to block as if it was a PC

    Firefox in my Mac is suddenly taking a long time to activate, my Mac seems to block as if it were a PC

    It may be some dodgy settings or plugins causing that, I would say job one is to check out your extensions, as these can cause all sorts of issues. First, disable them all temporarily and see if that fixes the problem. If it does, turn them back on in turn and see if one in particular is causing the issue. If you find one, ditch it!
    If the app is still slow, I would recommend backing up all your bookmarks, and then dumping any settings associated with the app. If you don't feel comfortable doing this manually, you may want to use a tool like Appcleaner to uninstall all of the application's files, and then reinstall a fresh copy from firefox.com.
    Hope that helps!

Maybe you are looking for

  • ITunes stores background is black

    The background is black in iTunes store. We can not see the titles listed, so we can not buy new songs. We can see the album covers. Any help??

  • 2 "blank" accounts in File Sharing Preference Pane

    See screenshot here: http://dl.dropbox.com/u/2213114/Screen%20Shot%202011-08-31%20at%2023.07.33.png How do I get rid if them? Thanks

  • Launching LR on my new iMac

    Hi there I have been running LR on my PC for a few years.  Today I have purchased a new imac.  I have downloaded and installed LR4 onto my imac, and I can see the icon but I don't seem to be able to run it or click on it?? Would love some help please

  • Creating in Final Cut and hosting on a Windows streaming media Server

    Is it possible to host video files created in Final Cut Studio 2 and host them on Windows Server 2003 Streaming Media Server? If yes what format should I render the video? H.264?

  • Sending Virtual Keypress while locking out peripherials

    I am working on a 2010 LV program to mitigate operator errors--pretty simple; mainly manipulating a third party executable window (TPEW).  However, my program (MP) works great but has a huge, basic flaw that I am sure there is a simple solution?  Wit