Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: UNIX root backup/SAN disk image vs. Oracle Hot Backups

Re: UNIX root backup/SAN disk image vs. Oracle Hot Backups

From: Joel Garry <joel-garry_at_home.com>
Date: 2 Sep 2004 14:51:56 -0700
Message-ID: <91884734.0409021351.3402900c@posting.google.com>


Mark Bole <makbo_at_pacbell.net> wrote in message news:<5qvZc.14343$7a.283_at_newssvr27.news.prodigy.com>...
> Joel Garry wrote:
>
> > idogan_tech_at_yahoo.com (Ibrahim DOGAN) wrote in message news:<6bf58828.0409010559.5ccd70bb_at_posting.google.com>...
> >
> >>Can UNIX root backup or SAN disk image backup be reliable as Oracle
> >>database backup?
> >>
> >>I don't know internals about root backup or disk images but it sounds
> >>like you may end up with inconsistent control file/datafiles when you
> >>load them back ?
> >>
> >>is there anybody out there who knows how root backup/disk image works
> >>and can tell whether they can replace Oracle hot backups?
> >>
> >>Thanks a bunch
> >>i.d.
> >
> >
> > As Sybrand sort-of intimated, they must work together. So, it depends
> > how fast your mirroring works. The general idea is to
> > [triple-]mirror, put all tablespaces into backup mode, break [extra]
> > mirror, take out of backup mode, and copy the image at your leisure.
> >
> > Backup mode causes much more writing to logs (look up "fractured
> > blocks" in the Oracle docs), so that's why RMAN is better versus
> > copying one tablespace at a time over a period of time, it has a much
> > lower impact on log writing. Image copies moot that, if they are fast
> > enough. Some configurations take a long time to resilver the mirror,
> > so, it depends, on transaction load, hardware, requirements, data
> > size, etc.
> >
> > Of course, RMAN has a lot of other benefits that might outweigh a
> > naive site-specific mirroring strategy.
> >
> > jg
> > --
> > @home.com is bogus.
> > Well, shiver me slartibartfast!
> > http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/3615046.stm
>
> I've been moderately confused by this issue (not a good thing to admit,
> I guess). Try searching for the following article title from Sys Admin
> Magazine .. (I have the paper version, don't think the on-line version
> is available for free):
>
> "Oracle Database Backups via UFS Snapshots and Enterprise Backup
> Products • Rick Moakley. Moakley describes how he uses UFS snapshots
> (and a little multi-tasking) to save significant time in the backup of
> an Oracle database. "
>
> The OS-level journalling and snapshot facilities seem to be doing the
> same thing as redo logs in Oracle. Instead of worrying about updating
> the datafiles right away, the most important thing is to update the
> journal (redo). From this, you can re-create a read-consistent version
> of the file system at a given point in time. No need to wait for
> mirrors to be synchronized (or any mirrors at all).

http://www.netapp.com/tech_library/3130.html#4.2. is another one (that also doesn't seem to know about suspending the db). I don't think copying an inode is really backup at all, until the thing is off to tape. But it does have the advantage of detaching the operation from the db operation.

>
> If you are using hot backup or cold backup, it seems to me this should
> work fine and be as "reliable as Oracle".
>
> All backups are site-specific, if not naive ;-)

I think there is some qualitative difference between homegrown hot-backup scripts and RMAN scripts. The naivete comes with inexperience and believing vendor claims. So they wind up doing things like putting the controlfiles and redologs on a separate device, so they can snaprestore the datafiles properly, then losing the device with the controlfiles and redologs...

>
> --Mark Bole
>
> (Never read the Hitchiker's Guide... my loss... so far...)

The original BBC tv show was one of the few adaptations that actually was as good as the book it was based on, IMO. There's also audio cd http://www.hhgproject.org/

jg

--
@home.com is bogus.
"I'm surrounded by performance problems and performance tools that
suck... including mine." - Craig Shallahamer
Received on Thu Sep 02 2004 - 16:51:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US