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: matthewm@sgate.com (Michael Matthews) Subject: Re: AdvFS advantage Date: 1997/01/21 Message-ID: <5c2vlp$lea$1@jekyll.sgate.com>#1/1 X-Deja-AN: 211453480 references: <01bc016d$c3a1dfc0$dd1fdec2@liteyear> <5bo924$ar0@camel4.mindspring.com> <32E2A1D2.762B@cao.mts.dec.com> organization: Southgate Internet Host newsgroups: comp.unix.osf.osf1 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. Don't forget to unclone after you umount /mnt too. -- --- Mike Matthews, Mike_Matthews@sgate.com PGP public key available on request