Howto avoid disk I/O?

I hate when my disk spins up every 10 seconds just to write 28k and a 4k block (at least that's what dstat tells me).
I use laptop mode tools (http://paste.pocoo.org/show/271842, hard disk settings begin on line 214), and I think I have configured it correctly.
`touch a` makes my hard disk to wake up in ~ 7 seconds.
I want it to wake up after, say, 5 minutes, if the amount of data is, say, < 3mb.
Any tips?
Last edited by dauerbaustelle (2010-10-06 18:10:37)

assuming that you are not running whatever indexing/crap facilitating daemons: use syscals to fix vm.dirty_writeback_centisecs, dirty_background_ratio
vm.dirty_ratio, vm.vfs_cache_pressure,
you may consider I/O scheduler optimized for your fs,
there are syscals specific for fs
ext3/4 do a lot of stuff by default if not controlled
properly set up should help with desktop interactivity and file transfer
hope this will help

Similar Messages

  • Howto avoid specifying the type for every subclass?

    Hi,
    I have a base-class called DynTableColumn, one subclass which further restricts the type and a bunch of subclasses of that type.
    class BaseClass<E> {}
    StricterBaseClass<E extends ArgumentType> extends BaseClass<E> {}
    ConcreteClass1<E extends ArgumentType> extends StricterBaseClass<E> {}
    ConcreteClass2<E extends ArgumentType> extends StricterBaseClass<E> {}
    ConcreteClass3<E extends ArgumentType> extends StricterBaseClass<E> {}
    ConcreteClass4<E extends ArgumentType> extends StricterBaseClass<E> {}Is there any way to avoid specifying <E extends ArgumentType> for ConcreteClass 1-4 again and again?
    After all, the type information is already set by StricterBaseClass.
    Re-thinking the question I guess I am searching for a way to de-generify concrete subclasses.
    For the example above I know the generic type is of type ArgumentType, so no further need to specify it in the class hierachy nore at construction time.
    Thank you in advance, Clemens

    linuxhippy wrote:
    For the example above I know the generic type is of type ArgumentType, so no further need to specify it in the class hierachy nore at construction time.Ok, how aboutclass BaseClass<E> {}
    StricterBaseClass extends BaseClass<ArgumentType> {}
    ConcreteClass1 extends StricterBaseClass {}
    ConcreteClass2 extends StricterBaseClass {}
    ConcreteClass3 extends StricterBaseClass {}
    ConcreteClass4 extends StricterBaseClass {}However, the desire to save a few characters in the class declaration doesn't have much merit - after all the small amount of characters in "<E extends ArgumentType>" is surely negligible with regards to the number of characters needed for actual implementations of class methods, isn't it?

  • 9i: howto avoid automatic creation of surrogate keys

    hi,
    i'm modeling multiple intersection entities in the ERD by adding the relationships to UID-elements. Whenever i do this, a surrogate key is automatically created, even when my settings in the DDT are correct. How can i avoid this?
    thanks, trevi

    Hi,
    Note that generating the DDL for Oracle 12c means that it will attempt to use your Oracle 12c Physical model.  So if you normally use Oracle 10g or 11g, you will find that any details from your Oracle 10g or 11g Physical Model will not be included.  So this approach may have other implications for you.
    If you are not using Oracle 12c, there are some relevant properties on the Auto Increment tab of the Relational Model properties dialog for the Column which may help:
    Sequence Name - allows you to specify the name of the Sequence (which can be the name of a Sequence defined in the relevant Physical Model).
    Trigger Name - allows you to specify the name of a Trigger (which can be the name of a Trigger that is defined for the Table in the Physical Model).
    Generate Trigger - unsetting this will stop the Trigger being generated.
    David

  • Avoiding "Disk initialisation"-Dialog

    Hello everybody,
    Hello Aplle,
    can anybody tell me if there is a way to stop the finder asking to initialize disks that supposedly aren't formatted? If I want to do so I will manually open disk utilities but as I often use disks from TrueCrypt not recognized by the system I get asked this question multiply times a day which sums up to be very annoying.
    Any help.. Terminal Command etc.?
    Best regards
    Max Ziebell

    On many of my scripts I use header(), but some scripts will
    set a variable based on POST data, such as '$error' if an error
    were to occur. If I were to use header() at the end of the script
    before any output is displayed, the variable would be destroyed
    before it could be displayed. How can I get around this issue?
    The only method I could come up with is setting a $_SESSION
    variable (like 'error') at the end of the script just before the
    header function is called. Then first thing on the next page, set a
    variable equal to the session variable ($error =
    $_SESSION['error']), and then unset the session variable.
    I am just not sure if this is the best and most flawless
    method. I fear it might be possible for something to go wrong
    between the two pages. Then a user loads an entirely different page
    and has some completely irrelevant error message appear on that
    page, due to a session variable still being set. The 'error'
    variable has the same name on all my pages.

  • HOWTO: Avoid go to detail block without fullfill the master block?

    Hi:
    I have a master detail form with 2 blocks. When the user open the form the focus is on the first text item (required = yes) of the master block. If the user tries to get out of that item with keyboard (tab or enter), it gets the correct message saying that the item is required and must be filled. But the problem starts when the user click with the mouse on another item of the detail block. Here, I will have 8 or 9 messages saying that is impossible to create records without a master record. This is really annoying. This message has no ID (FRM-XXXXX), and I really must get a way to forbide users to go to the detail block without filling required items in the master.
    Anyone?
    Best Regards
    Joao

    Hello,
    if there is a relation between the two blocks double click on that rel.and mark the check box property:prevent Masterless operation try this option and tell me what's ur feed back..?
    Regards,
    Abdetu..

  • Howto avoid upmixing 2.0 stereo to 5.1 or 7.1?

    Hi there,
    I have a Audigy 2 card with a Gigaworks 750 setup.
    5.1 Surround works great, but 2.0 stereo comes out of all the speakers. How can I get it to just come out of the two speakers in front?
    I'm not even sure if this upmixing is done by the linux driver, by the Audigy 2 card or by the Gigaworks 750, but I'd like it to stop!
    Anybody have any idea how to do this?
    Peter

    turn off the eax cmss, or set your speakers to 2

  • Howto avoid over-resolution when printing & Graphics.scale?

    Hello,
    The application I've created uses I Graphics.scale to generate thinner lines which act as cells of a grid.
    The problem is that I've to print as thin lines as possible, but if I scale too much my lines aren't printed because the printer's DPI is lower than what I've set my Graphics2d object :-/
    Are there any existing solutions to overcome this problem?
    I would be really happy about any hints, since I was not able to find a solution ... really great would be if it the solution would be java-1.3 compatible.
    Thank you in advance, lg Clemens

    Hello,
    thanks for your comment, but I had already this information. I want a good grey scale print with a low resolution because if you make the resolution high the file archives become quite big which costs money for hardware.
    My personal impression is, that you can't solve this problem because it is problem of the printing drivers that SAP uses. So one has to look for better third party solutions or wait until SAP has better printing drivers.
    Regards, Lars.

  • Cleanup disk space on SCCM Management point server

    Hi all
    I have a SCCM 2007 infrastructure with 1 primary site and three secondary sites.
    The disk data D of a sccm management point of one secondary site is full.
    Is it possible cleanup data from a sccm tool??
    Regards
    Christian

    if you have other drives with enough space,you can create no_sms_on_drive.SMS and place it on the root folder to avoid storing the packages.
    couple of posts on how to deal with PCK Files:
    http://eskonr.com/2012/10/how-to-move-pck-files-to-different-drive/
    http://eskonr.com/2013/09/sccm-2007-script-to-delete-old-pck-files-from-smspkg-folder-avoid-disk-space-issues/
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • ACS 5.3 Occurred At: Tue Sep 10 04:00:00 IST 2013 Cause: Purge Configuration Repository not configured

    hi team,
    I am runing ACS 5.3 version and i am getting error messages like below
    System Alarm [Database Purging]
    Mon Sep 09 04:00:00
    Incremental Backup Not Configured
    System Alarm [Database Purging]
    Sun Sep 08 04:00:00
    Purge Configuration Repository not configured
    Cause:
    Purge Configuration Repository not configured
    Details:
    Configure Remote Repository under Purge Configuration which is used to take a backup of data before purge.
    Cause:
    Incremental Backup Not Configured
    Details:
    Incremental backup is not configured. Configuring incremental  backup is necessary to make the database purge successful. This will  help to avoid disk space issues. View database Size is 1.27GB and size  it occupies on the harddisk is 1.22GB.
    Could any one provide solution to overcome this issue.

    Hi,
    I guess I've seen this before even we've repository and incremental backup configured fine on ACS. One reason could be for the above alarms is the configuration on the GUI might not have taken over completely in the database and alarms will trigger due to that. Please restart the services of the ACS or reload the ACS in off production hours.
    acs stop
    acs start
    OR
    reload
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

  • ACS 5.3 Backup idea

    IS this below alerts  1 .  Incremental Backup Not Configured and Purge Configuration Repository not configured is must ?
    or it leads to any issues in future ?
    <TABLE style="BORDER-BOTTOM: #fc8932 1.5pt outset; BORDER-LEFT: #fc8932 1.5pt outset; WIDTH: 100%; BORDER-TOP: #fc8932 1.5pt outset; BORDER-RIGHT: #fc8932 1.5pt outset" border=1 cellSpacing=0 cellPadding=0 width="100%" mcestyle="width: 100%; padding: px; border: #fc8932 1.5pt outset;">
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" colSpan=2 mcestyle="background: #fc8932; border: #fc8932 1pt inset; padding: 7.5pt;">
    Cisco Secure ACS - Alarm Notification
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="background: #fc8932; border: #fc8932 1pt inset; padding: 7.5pt;">
    Severity: Warning
    <TD style="PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; PADDING-TOP: 7.5pt" mcestyle="background: #fc8932; padding: 7.5pt;">
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Alarm Name
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    System Alarm
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Cause/Trigger
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Incremental Backup Not Configured
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Alarm Details
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Incremental backup is not configured. Configuring incremental backup is necessary to make the database purge successful. This will help to avoid disk space issues. View database Size is 0.1GB and size it occupies on the harddisk is 0.09GB.
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Generated On
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Thu Sep 13 04:00:00 UTC 2012
    <TABLE style="BORDER-BOTTOM: #fc8932 1.5pt outset; BORDER-LEFT: #fc8932 1.5pt outset; WIDTH: 100%; BORDER-TOP: #fc8932 1.5pt outset; BORDER-RIGHT: #fc8932 1.5pt outset" border=1 cellSpacing=0 cellPadding=0 width="100%" mcestyle="width: 100%; padding: px; border: #fc8932 1.5pt outset;">
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" colSpan=2 mcestyle="background: #fc8932; border: #fc8932 1pt inset; padding: 7.5pt;">
    Cisco Secure ACS - Alarm Notification
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="background: #fc8932; border: #fc8932 1pt inset; padding: 7.5pt;">
    Severity: Warning
    <TD style="PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BACKGROUND: #fc8932; PADDING-TOP: 7.5pt" mcestyle="background: #fc8932; padding: 7.5pt;">
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Alarm Name
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    System Alarm
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Cause/Trigger
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Purge Configuration Repository not configured
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Alarm Details
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Configure Remote Repository under Purge Configuration which is used to take a backup of data before purge.
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Generated On
    <TD style="BORDER-BOTTOM: #fc8932 1pt inset; BORDER-LEFT: #fc8932 1pt inset; PADDING-BOTTOM: 7.5pt; PADDING-LEFT: 7.5pt; PADDING-RIGHT: 7.5pt; BORDER-TOP: #fc8932 1pt inset; BORDER-RIGHT: #fc8932 1pt inset; PADDING-TOP: 7.5pt" mcestyle="border: #fc8932 1pt inset; padding: 7.5pt;">
    Thu Sep 13 04:00:00 UTC 2012

    Hi,
    Depending on the version of ACS you are on, there were some issues where a purging repository needs to be configured (nfs is recommended) in order to purge the monitoring data, there have been issues where this can fill up and cause the box to become inoperable.
    What version of ACS are you on?
    Tarik Admani
    *Please rate helpful posts*

  • Cannot format hard drive on macbook pro.

    Hi, I am trying to run bootcamp and install Windows but am having no luck. When I try to partition the drive through bootcamp it tells me that it cannot be partitioned because some files cannot be moved. The message also says to format the drive after backing it up and partition after that. I have backed up my drive and am trying to erase the disk but the erase disk option is grayed out when I click on my disk to be formatted.
    Also, I tried to partition the hard drive without using bootcamp, and it will not allow me to format the partition to FAT, or anything other than OSX Extended Journaled.
    What am I doing wrong? Also, if I try to verify the disk for repairing it, Disk Utility freezes and I have to force quit it. My only thought in reading this is that maybe I should partition through Disk Utility if it will work, format to OSX Extended, and then format the partition to NTFS after. Is this the best way to do this.

    plorelle wrote:
    Hi, I am trying to run bootcamp and install Windows but am having no luck. When I try to partition the drive through bootcamp it tells me that it cannot be partitioned because some files cannot be moved.
    this happens because your drive is too fragmented and bootcamp assistant can't find a contiguous piece of free space to make the bootcamp partition.
    The message also says to format the drive after backing it up and partition after that. I have backed up my drive and am trying to erase the disk but the erase disk option is grayed out when I click on my disk to be formatted.
    What am I doing wrong?
    you can't erase a drive while you are booted from it. how did you back up the drive? you need to make a bootable clone and test that it works. boot from the clone and repartition (not erase) your main hard drive using the partition disk utility. then clone the clone back. boot from the internal and try using bootacmp assistant again. keep in mind that you need to leave plenty of free space on the OS X partition after you create the bootcamp partition. at least 15% of the OS X partition should be free to avoid disk fragmentation issues.

  • SGA/PGA best practice

    With an XE limitation of 1GB for the PGA and SGA, how would one best preserve this limitation?
    In other words, how would one minimise the PGA and SGA usage via ones interface with Oracle?
    For instance, in a SQL query I was building I could either (The query has multiple aggregates on multiple tables in a 'one to many' join relationship):
    1) Use WITH clauses
    2) Use inline views
    3) Use standard views
    4) Use temporary tables
    5) Maybe more possibilities
    Without much of an insite into how Oracle 'works' it's difficult to gauge which of these is less 'resource hungry'.
    Possibly there is a reference on how to use the PGA & SGA efficiently?
    Or possibly a more definitive explanation on what's actually stored in these memory areas (rather than just 'prorgam' and 'system' data).
    Regards all,

    SGA is used in 2 main areas: parsing the SQL and avoiding disk reads by having stuff in memory. There is one SGA for all of XE instance.
    PGA is used heavily for sorting, hash joining and 'working stuff'. The PGA is created for each Dedicated Server process. Much of the PGA is inside the SGA for Shared Server processes
    SGA: (There are exceptions to each of these 'Rules Of Thumb' or 'ROT' statements)
    Good coding technique will allow reuse of SQL and avoid as much as possible reparsing;
    Use bind variables;
    Do not create SQL on the fly;
    Avoid dynamic SQL (concat strings to create SQL on the fly);
    Forget about tweakiing the buffer cache as it is mainly a performance thing that you can't do much about in XE;
    WITH clause is nice as it may reduce the count of subqueries;
    Leave it with 'automatic memory management' (again a perf hit, but it will attempt to optimize mem availability);
    Don't reinvent - Use the features that are loaded as they will likely get statements out faster, releasing memory faster;
    Stored Views may (often do) grab unneeded table data. When joining to stored views, see whether they can be replaced by cleaner code;
    Do not create SQL on the fly.
    PGA:
    Use shared server when feasible (at risk of performance hit);
    Global Temp Tables go into PGA, watch the use;
    Maximize reuabale SQL, minimze all other languages (remote or in DB) including PL/SQL;
    Watch for PGA wasters such as UNION vs the better UNION ALL, and unneeded sorts;
    PGA is 'swapped out' to Temporary tablespace. Make sure temp tablespace big enough ... it's not counted in the 4GB disk;
    Avoid using COMMIT except at end of transaction. Avoid COMMIT in loops. Make sure undo tablespace is big enough ... it's not counted in the 4GB disk ;
    Did I mention it's not a good idea to create SQL on the fly?

  • Facing problem when using SYNC and ASYNC bridge in ID

    Hi all,
    In BPM i am using SYNC/ASYNC bridge for that Outbound Interface and BPM Sync Interface has the same structure is it mapping necessary for that intercaces.
    In interface determination it is showing error duplicate interfaces in ID test configuration , when i loading the Interface mapping for the same.
    In the Receiver determination i am sending the message based on the conditions to the particular receives through different receivers Business Systems from the Sync interface showing error.
    Give me solution how should i do the Interface determination and receiver determination.
    Please help me any one .
    Thanks in advance,
    Manohar.
    Edited by: Manohar S on Feb 28, 2008 9:50 AM

    Sorry for delay.
    Tough question.
    Oracle® Database High Availability Best Practices 11g Release 2 (11.2) E10803-01 August 2011
    Under "5.1.8 Set LOG_BUFFER Initialization Parameter to a Minimum 8 MB"
    States :
    "If you are using Oracle Data Guard with asynchronous redo transport, you may need to increase the value of the
    LOG_BUFFER parameter to avoid disk I/Os to online redo logs."
    Nothing about "Synchronous".
    I agree with you on Oracle Support Note 951152.1, its vague.
    Additional links on the subject
    This also seems to imply :
    http://joordsblog.vandenoord.eu/2010/08/data-guard-optimizing-async-redo.html
    So does this ( With ASYNC, increase log buffer size if necessary )
    http://www.oracle.com/technetwork/database/features/availability/316925-175283.pdf
    This one has a very nice Synchronous and Asynchronous compare.
    http://www.datadisk.co.uk/html_docs/oracle_dg/architecture.htm
    New Zealand, Someday I may have to travel there.
    Best Regards
    mseberg

  • What to back up?

    I want to jump from tiger to snow leopard. I wanted to just do the upgrade option on top of tiger but people have been saying that I should erase and do a clean install.
    I'm in the process of creating some backups now with SuperDuper.
    Do I need to backup everything? I only want some of my applications, all of my photos+music etc are all on external drives already.
    Do I need to backup /system, /private, /library? Can I just backup /Users?
    When I do create the backup, do I create a disk image? Or just transfer to another drive?
    How will this work with migration assistant?

    I want to jump from tiger to snow leopard. I wanted to just do the upgrade option on top of tiger but people have been saying that I should erase and do a clean install.
    That may not be necessary, but the backup issues you mention should be addressed regardless. See my [Mac Backup Guide|http://www.reedcorner.net/thomas/guides/backups> for more info.
    Do I need to backup everything?
    When doing a major upgrade like this, it is generally a good idea to have a complete backup of everything on your boot drive. That way, if there are incompatibilities with old hardware/software, if something goes wrong and the system gets damaged, etc, you have a quick and easy way to restore to the previous state.
    I only want some of my applications
    Note that you should have copies of installers for all apps that require one. If you are going to go to the trouble of doing a clean install, you should reinstall apps from scratch. If you copy apps over from the old system, it's no longer a completely clean install.
    all of my photos+music etc are all on external drives already.
    Do you have a backup of all those things? Not that it's particularly relevant to a system upgrade, but you should not fool yourself into thinking that just because they're on an external drive, they're safe. If that drive fails, you need to be prepared or you'll loose all that stuff.
    When I do create the backup, do I create a disk image? Or just transfer to another drive?
    I would avoid disk images. One teeny bit of corruption and the whole thing becomes unusable. If you're using SuperDuper, just have it copy the files to the backup drive.
    How will this work with migration assistant?
    If you use something like SuperDuper to create a "clone" of your boot drive (meaning an exact copy on another drive), then I would think Migration Assistant could help import data from there into the new system. After all, there's no difference between that and your boot disk, except for physical location. OTOH, if you tell it to copy everything into a folder on an external drive, it wouldn't look the same as a boot drive and MA might fail. Just be cautious with what you import using MA... again, if you do a clean install and then import all your apps and settings from the old system, you've wasted the time it took to do the clean install. You might as well have just installed over the old system.

  • I do underwater video and add still photos to the video I create. When playing the video the still shots show distorted lines in any design in the picture and as it transitions to the next photo it clears up for a split second. What is causing this?

    The photos are clear for the firt instant the appear during palyback and for the 3 or 4 seconds they are on the screen any pattern or design in the photo, say a patterned tablecloth, the pattern goes wavy, distorted, and then at the last moment before moving on the photo goes clear and smooth. It looks like when the picture goes in the "freeze" mode it distorts and when releasing for the next photo it smooths out again. This is really messing up some very good underwater still shots and land photos. I'm using a transition between photos and not using Ken Burns effect. Could use some help on this. Thanks.

    so. to summarize your workflwo in my own words:
    you're applying 12Mpix stills to an iMovie project
    (btw: what setting has the iM project…?)
    iMovie doesn't do interlaced internally…
    you then 'share to iDVD'
    as far as we know, iM converts to some h.264 file…
    iDVD has to convert that again, to finally create a standard DVD:
    720x480pix, interlaced = 0.3Mpixel resolution (yes, zero.point.three )
    and, you're watching via a projector - most projectors have a non-video-resolution e.g. 800x600, 1200x800:
    again, scaling effects.
    so, tons of scaling/resizing, tons of comversions …
    a) use any graphic tool (your Mac's Preview.app?) to scale the pics BEFORE import to iMovie to your Projects resolution (1920x0180, 1280x720, 720x480); choose tiff or png as doemat, avoid jpg
    => this avoids lossy scaling effect in iM
    b) if DVD is your only delivery media, set iMovie's Project preferences to your TV-Standard (PAL/NTSC)
    c) from iMovie, use 'Export using Quicktime', and in its options, choose AppleIntermediateCodec as … codec
    => this exports iMovies internal timeline without lossy conversions
    d) set iDVD manually to same standard as your iMproject, 25/PAL or 30/NTSC
    e) stay under 60min of length to allow max. quality
    f) try to find a resolution on that laptop that comes close to DVDs res; synch res of laptop with proejctor
    g) consider iDVD solo to create a slideshow; avoids any lossy 'inbetween steps' due to iMovie; very limited in terms of 'creation' … creates a slideshow (with music and transitions)
    h) consider to avoid the DVD process at all; export from iMovie a 'file'; use a usb-stick to transfer to playback-computer; allows HighDef! DVD is SDef only ...
    to create a file whic is compatible with any computer, follow my advice here:
                     How to create a video for playback with Windows/XBox/PS3/… etc?
    For maximum quality of stills, I would use iDVD only (disk, but SDef only);
    or avoid disks at all, create a charming HDef iMovie project and transfer via stick

Maybe you are looking for