Re: Extremely Slow Database Import Due to Disk Cache?

From: Will Greene (willgreene99_at_hotmail.com)
Date: 06/23/03


Date: Mon, 23 Jun 2003 10:50:26 -0500

Thank you for the information.

Will

"Elias" <nospam@charter.net> wrote in message
news:vf77moi29fle39@corp.supernews.com...
> Will Greene wrote:
> > Hello,
> > I am having an extremely long processing time for a small oracle
> > database to import. I am running on a SunE450 with 2 cpu's at 300Mhz and
2
> > channel raid 5. The import file is only 2.5Gbs and should normally
require
> > only 2-3 hours to import.
> >
> > When I bring up the config for the DPT controller, I get an error
message of
> > "Cache is in Write-Through Mode because ... or battery is in Maintenance
> > Mode".
> > Click [Ok] and the battery status says "initial configuration discharge"
or
> > somesuch.
> > Any idea of what's going on? Could this be the culprit why disk i/o taks
> > take sooooo long?
> >
> > Thanks,
> > Will
>
> Yes the cache mode is causing slow performance. Using write-through
> sends all data straight through the cache immediately to disk. Your
> DPT/Adaptec system is a type of storage that uses its battery to keep
> the data in cache during a power outage, then write to disk once the
> power comes back on. The other type (that yours is not) uses the
> battery to write the uncommitted cached data to disk then powers down.
>
> If you were to have a power outage with a drained, malfunctioning, or
> expired battery the system might not have enough battery power to out
> last a power outage. If you loose battery power during an outage then
> the uncommitted data is lost forever. So, write-through protects you
> from this scenario.
>
> Your battery will from time to time discharge and recharge itself as
> part of a regular preventative maintenance cycle. Assuming everything
> is ok with the battery when it comes back to full charge the array
> should set the cache back to write-back mode. I'm pretty sure this is
> what will happen with your array. So, just give it about 12 hours or so.
>
> Elias
>

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
                http://www.usenet.com



Relevant Pages

  • Re: Extremely Slow Database Import Due to Disk Cache?
    ... Yes the cache mode is causing slow performance. ... the data in cache during a power outage, then write to disk once the ... power comes back on. ... battery to write the uncommitted cached data to disk then powers down. ...
    (comp.unix.solaris)
  • Re: Solaris ZFS on Linux [Was: Re: the " official point of view"expressed by kernelnewbies.org regar
    ... IMHO the best alternative for a situation like that is a storage controller with a battery-backed cache and a hunk of flash NVRAM for when the power shuts off, as well as a separate 1GB battery-backed PCI ramdisk for an external journal device. ...
    (Linux-Kernel)
  • Re: APC Professional Powercell UPS
    ... It came to me with a dead battery, ... The UPS charges this battery, but there is something funny going ... > If a "real" power outage occurs, this UPS will simply turn off. ...
    (sci.electronics.repair)
  • Re: FIle corruption on HPFS partition
    ... Marcel Müller wrote: ... Well, if the battery is really dead, there may be problems whith the power supply. ... Not that the machine needs the battery, but I heard from someone who had problems when moving the notebook. ... You could try to disable the write back cache of the HDD to proove for this. ...
    (comp.os.os2.misc)
  • Re: Im considering a Mac.I need Knowledge
    ... power outage (also known as power cut, power failure, power loss, ... A power outage does not affect battery powered devices, ... It doesn't go into hibernation mode when power is being ...
    (comp.sys.mac.advocacy)