Slow inserts after log size increase

I have an app that does 10k-50k consecutive SELECTs and INSERTs as part of a loading operation. Recently, I enlarged the redo logs from 10M to 100M, which appears about right, based on the frequency of log switches (half a dozen/day). Trouble is, now the load takes 5 times longer (20-25 min vs. 5). Any thoughts? I thought redo logs that were too small caused poor performance, b/c of increased checkpoint activity, but I can't imagine why larger redo logs would slow inserts down.
Rob

Logically the only difference a larger online redo log should make is that the number of checkpoints invoked due to log switches should decrease. But a larger online redo log will take longer to archive.
Where did you place the larger online redo log and where does the archive redo log go to? Is this performance decrease consistent or does it appear when certain redo logs are in use?
Even if your logical disk are different it could be the physical disk for some of your files are now the same where before this was not true.
The suggested statspack is probably a good place to start but you might also want to take some OS IO stats during the run also.
HTH -- Mark D Powell --

Similar Messages

  • Weblogic 8.1 Server log size increase in Production environment

    Hi,
    Issue:: One of the log file is increasing in size and exceeding beyond the size mentioned in the configuration file resulting in application outage.
    Issue description:
    We are having problems with the log size in the Weblogic 8.1 server. The fileminsize has been mentioned in the config.xml.
    New log files like MYsvr.log00001,MYsvr.log00002, MYsvr.log00003, MYsvr.log00004 etc are also being generated appropriately when the max file size has been reached. But simultaneously, one of the files is growing in size, exceeding the limit mentioned in the configuration file. Eg.. the MYsvr.log00001 file is 800MB in size while the other files(MYsvr.log00002, MYsvr.log00003 etc are 10MB in size)
    This increase in size of the log has been resulting in an application outage.
    More Details:
    1. Server: BEA Weblogic 8.1 server
    2. Log size is fine in other environements. This is a problem only in the production environment.
    3. The entry in the config.xml is as follows:
    <Server ListenPort="6313" Name="MYsvr" NativeIOEnabled="true" TransactionLogFilePrefix="./">
    <ServerStart Name="MYsvr"/>
    <Log FileMinSize="10000" FileName="MYsvr.log" Name="MYsvr"
    NumberOfFilesLimited="true" RotationType="bySize"/>
    <SSL Name="MYsvr"/>
    <ServerDebug Name="MYsvr"/>
    <WebServer Name="MYsvr"/>
    <ExecuteQueue Name="default" ThreadCount="15"/>
    <KernelDebug Name="MYsvr"/>
    </Server>
    Could you please help with this issue ?
    Thank you.

    Can someone please provide a solution for the issue

  • SQL Logs Size Increasing automatically

    Hi,
    I am facing a very strange issue in my SQL Server 2008 R2 Logs folder.
    Actually in every 10 seconds SQLDump0000,SQLDump0001,.....     and so on named files are being created automatically in the Logs folder where SQL stores it's logs.I don't know why is this happening.
    Due to this issue logs folder size is increased to 160GB and  my c drive where windows is installed is keep showing Low space message in fact 0MB space is showing.
    Please help urgently.

    Hi,
    I am facing a very strange issue in my SQL Server 2008 R2 Logs folder.
    Actually in every 10 seconds SQLDump0000,SQLDump0001,.....     and so on named files are being created automatically in the Logs folder where SQL stores it's logs.I don't know why is this happening.
    Due to this issue logs folder size is increased to 160GB and  my c drive where windows is installed is keep showing Low space message in fact 0MB space is showing.
    Please help urgently.
    Hello Zubair,
    This dumps are getting created due to some issue SQL server is facing.Its not a SQL Server transaction log file dump.I guess your system is not updated to latest Service pack.
    Latest Service Pack for SQL server 2008 R2 is SP2.Apply this SP and see if this dump generation subsides.If not you need to raise a case with Microsoft to get these dumps analyzed.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Slow down after logging out then in again?

    Has anyone been having problems with OS X getting pretty slow/choppy/having programs not respond when you open them after you cycle a login? Kind of irritating, but a restart fixes it. (I'm on a base Core i5 Macbook Pro, purchased couple days ago).

    bump

  • SQLSERVER 2012 LOG SIZE INCREASE EXTENSIVELY

    Hi Friends,
    I want to inquire, as our sqlserver 2012 in full  recovery mode , I notices whenever we are executing rebuild indexes maintenancejob the logfile grown up extensively every time.  h
    thank you.
    regards,
    asad

    Hi Friends,
    I want to inquire, as our sqlserver 2012 in full  recovery mode , I notices whenever we are executing rebuild indexes maintenancejob the logfile grown up extensively every time.  h
    Asad,
    Why are you posting same thread about SQL Server log file every time. I can see all your previous threads on same Log file issue.
    This clearly shows that you don't spend event single moment reading links posted as answer. Why dont you go and read about SQL Server before asking *almost* same question every time.
    Yes log file will grow that is default behavior why are you executing index rebuild for all index. Did you searched about index rebuild and how it works and what gets logged.
    You can read here
    Curious case of logging in Online and offline index rebuild
    Use Ola Hallengren solution for index rebuild it will only rebuild index that is fragmented.
    Don't just blindly post question spend some time on net searching I am sure you would find lot of articles
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Why size of archive log file increasing in merge clause

    my database is running in archive log mode.
    someone is running oracle merge statement. still it is running.
    He will issue commit after the operation.
    in that period redolog file increasing now.
    my question is why size of archive log file increasing with redolog file.
    i know that after commit archive log file should generate.(may be it is wrong).
    please suggest........
    Edited by: 855516 on Mar 13, 2012 11:18 AM

    855516 wrote:
    my database is running in archive log mode.
    someone is running oracle merge statement. still it is running.
    He will issue commit after the operation.
    in that period redolog file increasing now.
    my question is why size of archive log file increasing with redolog file.
    i know that after commit archive log file should generate.(may be it is wrong). No this is not correct that after commit archive log will generate....You know merge statement causes the insert (if data not present already) or update if database is present.. Obviously these operation will generate lots of redo if the amount of data been processed is high.
    If you feel that this operation is causing excessive of redo then root cause analysis should be done...
    For that use Logminer (excellent tool to provide segment level breakdown of redo size). V$logmnr_contens has columns redo block and redo byte address associated with the current redo
    change
    There are some gudlines in order to reduce redos( which may vary in any environment)
    1) check if there are unwanted indexes being used in tables which are refereed in merge. If yes then remove those could bring down the redo
    2) Use global temporary tables to reduce redo (if there is a need to keep data only temporarily in a session)
    3) Use nologging if possible (but see its implications)
    Hope this helps

  • Index size increased after import

    hi i mentioned already the index creation problem when i am trying to create index using script after import of table.So droped the table and created table using script and index also without data,then i started to import at tablelevel with indexes=n then ia m importing data from the production database.
    The size of the 2 indexes in production is 750 and 1200 mb each in test db both index size increased around double 1200 and 1700 mb each.I used same script in both db.Why this is increased here i took the export with compress=y full database export.Why the index size increased? when i created the index with initial extent and next extent size respective 800 and 100 mb.Whether is it the reason?
    with regards
    ramya

    i gave initial 1000 and next 100 for the index size around 1.1 gb in production but here in test why this became around 1.7 gb,eventhough the pct increase is 50 it should come around 1.3 maximum.Whether it will give any performance problem
    wiht regards
    ramya

  • SSIS 2008 Rebuild Index Task increasing Log Size

    I am testing SSIS 2008 Rebuild Index Task on a single database (db1). I shrank the
    db1's log file to initial size. I also checked the box Sort results in tempdb on the SSIS package.
    However, when I run the package, db1's log file size increased about 55 times the original size.
    When I run a rebuild of all the index on db1
    with (sort_in_tempdb=ON) ; there was only a slight increase in the log file size ( did not even double the initial size).
    Is this a SSIS bug? The check box is not actually sorting in tempdb?

    I am testing SSIS 2008 Rebuild Index Task on a single database (db1). I shrank the
    db1's log file to initial size. I also checked the box Sort results in tempdb on the SSIS package.
    However, when I run the package, db1's log file size increased about 55 times the original size.
    When I run a rebuild of all the index on db1
    with (sort_in_tempdb=ON) ; there was only a slight increase in the log file size ( did not even double the initial size).
    Is this a SSIS bug? The check box is not actually sorting in tempdb?
    Arthur can you please move this thread in Database engine forum. IMO its what changed from 2008 .Index rebuild is fully logged from 2008 onwards it was previously (in 2005) minimally logged .Refer below link for information regarding same
    http://support.microsoft.com/kb/2407439/en-gb
    Now about when sort intempdb is used.The intermediate sort results that are used to build the index are stored in tempdb .When you rebuild without sort_in_tempdb ( i guess your data and log file are on same drive) index will utilize disk space on which it
    resides so it might seem to you log has increased.Is it so ,am i correct.
    What query you used to measure log file size,are you absolutely sure it was log file that increased
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I am handling logistics department in a company, i am handling more than 100 calls in a day. But my iPhone 4 have only 100 number call history. How to increase my call log size or kindly suggest a better app for storing 1 month call history..

    I am handling logistics department in a company, i am handling more than 100 calls in a day. But my iPhone 4 have only 100 number call history. How to increase my call log size or kindly suggest a better app for storing 1 month call history..

    Here's one:
    https://itunes.apple.com/us/app/callog/id327883585?mt=8

  • MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    Delete any items in System Preferences > Users & Groups (or Accounts) > Login Items
    Same for  HD > Library > StartupItems
    Not enough free space on the startup disk can slow the system down.
    Right or control click the MacintoshHD icon on your Deskop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.

  • Mailbox sizes increase dramatically after migration to exchange 2013

    After I migrate mailboxes from exchange 2010 mailbox to 2013, the size increases.
    For example -
    On exchange 2010 I run get-mailboxstatistics: TotalItemSize : 6.706 GB
    On exchange 2013: TotalItemSize : 9.374 GB
    Anand_N

    Hi Anand,
    Please note that the actual space used by the mailbox database will not increase. This only refers to the attribution of space used by each individual mailbox. Actually, this happens due to the inclusion of all item properties into quota calculations, providing
    a more accurate computation of space consumed by items within their mailbox. However, you can adjust mailbox size and increase mailbox quota by 40% before moving.
    You can follow below cmdlet in order to increase "ProhibitSendQuota" value for all users that are not using the database quota defaults:
    Get-Mailbox -ResultSize Unlimited -Filter {UseDatabaseQuotaDefaults -eq $False} |
    Where {$_.ProhibitSendQuota -ne "unlimited"} | ForEach {Set-Mailbox $_ -ProhibitSendQuota "$($($_.ProhibitSendQuota).Value.ToMB() * 1.4)MB" -WhatIf}
    You can have a look on this link to prevent the cause :
    Mailbox migration from 2010 to 2013
    Hope, this will be helpful for you.

  • Slow computer after sleep, this is my console log

    2/15/13 11:19:15.772 AM ReportCrash[551]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 5-111551_Lawrence-Achrams-MacBook-Pro-Orange.crash
    2/15/13 11:19:25.870 AM com.apple.launchd.peruser.503[144]: (com.zte.mcserver[552]) Job appears to have crashed: Trace/BPT trap: 5
    2/15/13 11:19:25.870 AM com.apple.launchd.peruser.503[144]: (com.zte.mcserver) Throttling respawn: Will start in 10 seconds
    2/15/13 11:19:25.936 AM ReportCrash[551]: Saved crash report for mcserver[552] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-15-111925_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    2/15/13 11:19:25.938 AM ReportCrash[551]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 5-111601_Lawrence-Achrams-MacBook-Pro-Orange.crash
    2/15/13 11:19:36.064 AM com.apple.launchd.peruser.503[144]: (com.zte.mcserver[553]) Job appears to have crashed: Trace/BPT trap: 5
    2/15/13 11:19:36.064 AM com.apple.launchd.peruser.503[144]: (com.zte.mcserver) Throttling respawn: Will start in 10 seconds
    2/15/13 11:19:36.133 AM ReportCrash[551]: Saved crash report for mcserver[553] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-15-111936_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    2/15/13 11:19:36.135 AM ReportCrash[551]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 5-111612_Lawrence-Achrams-MacBook-Pro-Orange.crash
    2/15/13 11:19:46.260 AM com.apple.launchd.peruser.503[144]: (com.zte.mcserver[554]) Job appears to have crashed: Trace/BPT trap: 5
    I am assuming that this is related to my slow computer after waking from sleep.  Every click has delayed reaction up to spinning beach ball in length.  Went to console log and see this same message repeating over and over and over.  What does it mean?  How do I fix it?  Is it related to the slowdown?
    Thanks

    Ok...  Sometimes Mail will abort the restart that I am trying to do to get the system back to normal speed so I was wondering about that "plug-in" which appears to be more than a plug in.  It put a bundle in my Library/Mail folder that can't be deleted...
    Here is my log now which starts showing errors as soon as I reboot... I am backing up now.  It seems that there should be something that I could remove without a clean install, but I can't figure it out from this....Thanks for the insight...
    Feb 18 11:13:14 --- last message repeated 7 times ---
    Feb 18 11:13:14 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23461]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:13:14 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:13:14 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23461] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111314_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:14 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-110950_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:16 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist
    Feb 18 11:13:24 --- last message repeated 9 times ---
    Feb 18 11:13:24 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23463]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:13:24 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:13:24 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23463] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111324_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:24 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-111000_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:26 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist
    Feb 18 11:13:35 --- last message repeated 9 times ---
    Feb 18 11:13:35 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23464]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:13:35 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:13:35 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23464] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111335_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:35 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-111011_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:38 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist
    Feb 18 11:13:45 --- last message repeated 7 times ---
    Feb 18 11:13:45 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23465]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:13:45 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:13:45 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23465] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111345_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:45 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-111021_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:47 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist
    Feb 18 11:13:55 --- last message repeated 7 times ---
    Feb 18 11:13:55 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23466]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:13:55 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:13:55 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23466] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111355_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:55 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-111031_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:13:56 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist
    Feb 18 11:14:05 --- last message repeated 9 times ---
    Feb 18 11:14:05 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver[23467]): Job appears to have crashed: Trace/BPT trap: 5
    Feb 18 11:14:05 Lawrence-Achrams-MacBook-Pro-Orange com.apple.launchd.peruser.503[147] (com.zte.mcserver): Throttling respawn: Will start in 10 seconds
    Feb 18 11:14:05 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Saved crash report for mcserver[23467] version ??? to /Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-18-111405_Lawrenc e-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:14:05 Lawrence-Achrams-MacBook-Pro-Orange.local ReportCrash[23462]: Removing excessive log: file://localhost/Users/carguy/Library/Logs/DiagnosticReports/mcserver_2013-02-1 8-111041_Lawrence-Achrams-MacBook-Pro-Orange.crash
    Feb 18 11:14:08 Lawrence-Achrams-MacBook-Pro-Orange.local sandboxd[23109] ([594]): Mail(594) deny file-read-data /Library/Preferences/com.apple.mail.plist

  • Why does my data logging program slow down after a while?

    A data logging program created with Labview 5.1. Slows down after a few weeks and creates files in the Temp. directory.Computer is Siemens Scenic pro 124 MB ram and AT-MIO-16XE50 Data acquisition board. Also using Solartron Dig. probes and Fieldpoint units.

    Any chance that you are using Win 95/88/ME? Those OS's have well documented
    memory leaks which will consume all your available memory if an application
    is run long enough. Also there are some issues of memory management within
    LabView in the allocation of memory.
    The solution to the first is to switch to WinNT/2K. The second will be much
    more difficult.
    On Thu, 22 Feb 2001 03:19:12 -0800 (PST), Freek wrote:
    >A data logging program created with Labview 5.1. Slows down after a
    >few weeks and creates files in the Temp. directory.Computer is Siemens
    >Scenic pro 124 MB ram and AT-MIO-16XE50 Data acquisition board. Also
    >using Solartron Dig. probes and Fieldpoint units.
    ===========================================================================
    SolidW
    orks Research Partner National Instruments Alliance Member
    Christopher Dubea Phone: (504) 847-2280
    Vice President of Engineering Fax: (504) 847-2282
    Moving Parts L.L.C. email: [email protected]
    P. O. Box 6117 URL: http://www.movingpart.com
    Slidell, LA 70469-6117

  • Work book size increased by 4 times after migrating from BW3.5 to BI7

    Hi Experts
    work book size increased by 4 times after migrating from BW3.5 to BI7
    our client runs the report using BI web report and exports to excel sheet.
    she asks us to investigate why the size of the work book isincreased by 4 times after migrating from BW3.5 to BI7.
    please let me know what you think.
    thank you  for reading this.
    Regards
    satish

    ANY suggestion would be greatly appreciated

  • IPA size increasing after itunes connect upload

    Hello,
    it seems that the IPA size increases after upload to the AppStore: i have an 8Mo IPA (where near 80% is Air runtime), when it's uploaded to the AppStore i get a 21Mo file to download.

    The IPA file you've made is really a zip file. The one from the app store is more of a package. If you rename your IPA to end as .zip, and uncompress that, what is the size of the app file that is inside the Payload folder? That's roughly the size the app store IPA will be.

Maybe you are looking for