From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,18af55fd7a4410eb X-Google-Attributes: gidfee84,public From: Peter Mayne Subject: Re: AdvFS advantage Date: 1997/01/23 Message-ID: <32E686EE.75A1@cao.mts.dec.com>#1/1 X-Deja-AN: 211545231 cache-post-path: stevo.stl.dec.com!unknown@nessus.cao.dec.com references: <01bc016d$c3a1dfc0$dd1fdec2@liteyear> <5bo924$ar0@camel4.mindspring.com> <32E2A1D2.762B@cao.mts.dec.com> <5c2vlp$lea$1@jekyll.sgate.com> to: Michael Matthews content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 reply-to: Peter.Mayne@cao.mts.dec.com newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.01 (WinNT; I) [AXP] Michael Matthews wrote: > > In article <32E2A1D2.762B@cao.mts.dec.com>, > Peter Mayne wrote: > >This is from memory, use the man pages. > > >Assume your Oracle directory (/ora) is in the ora_dmn#ora fileset. > > >Shut down the database in /ora. > >clonefset ora ora2 > ># This makes a snapshot of the ora_dmn#ora fileset, takes no time. > >Start your database. > >mount -t advfs ora_dmn#ora2 /mnt > >Backup /mnt > >umount /mnt > >-- > >PJDM > >Digital Equipment Corporation (Australia), Canberra, ACT > > While this certainly works, it could potentially create a space problem. The > clone fileset works (as I'm sure you know, Peter Mayne) by writing out a new > file only if it's changed. There aren't that many files in an Oracle > database, and they tend to be huge. So you've got the "clone" main DB file > at, say, 1 gigabyte, and then you change it, and POOF! you've got the > read/write copy also at 1 gigabyte. Total space used: 2 gigabytes until you > rmfset the clone fileset. No, that's not how it works. Cloning only writes blocks that have changed, not files. If you change 1 block in the 1GB file, then the clone only writes out 1 block. Total space used: 1GB + 1 block until you rmfset the clone fileset. > Don't forget to unclone after you umount /mnt too. You mean rmfset. Already mentioned. -- PJDM Digital Equipment Corporation (Australia), Canberra, ACT ------------------------------------------------------------------------------- These are my opinions, and have nothing to do with Digital. This was typed by an infinite number of monkeys. .