home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!shearson.com!newshost!wfinnert
- From: wfinnert@larry.shearson.com (Warren Finnerty)
- Subject: Re: Moving Sybase from one server to another
- In-Reply-To: ben@sybase.com's message of 7 Jan 93 08:40:52 GMT
- Message-ID: <WFINNERT.93Jan8114044@larry.shearson.com>
- Sender: news@shearson.com (News)
- Organization: Lehman Brothers
- References: <C0Cnzr.4MD@news.cso.uiuc.edu> <27695@sybase.sybase.com>
- Date: Fri, 8 Jan 1993 16:40:43 GMT
- Lines: 48
-
- In article <27695@sybase.sybase.com> ben@sybase.com (Benjamin von Ullrich) writes:
-
- > move your databases according to their current layouts in size and number of
- > framgements, and extend them after everything is moved. the new devices the
- > segments are on may be of any total size and configuration, only the databases
- > need to be laid out in x chunks, each of a particular size, and as data, log,
- > or data & log. in technical terms, the sysusages rows for the old and new
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- > servers must be the same. but the new devices may be much bigger in capacity,
- ^^^^^^^^^^^^^^^^^^^^^^^^
- > if that is what your new machine affords you, and you may ALTER the databases
- > after all has been moved, and presumably when you need the space. personally,
- > i never give a database more space unless it needs it, as once it's given,
- > that's it -- no shrinking! you may find that some other database (or a new
- > one) will need the space you just gave away to a database that wasn't hurting..
-
- This is not quite true. As in this example:
-
- BEFORE
-
- 10 MB data
- 10 MB log
- 20 MB data
- 20 MB data
- 20 MB data
-
- AFTER
-
- 10 MB data
- 10 MB data
- 60 MB data
-
- There are not even the same number of rows in sysusages
- in the AFTER case. I recomend writing/buying/finding a
- schema extractor and using it with bcp -n. Eventually the
- DATA/LOG/DATA/LOG/DATA..... will prove to be a major pain.
- bcp will also defragment ( leave only clustered index up,
- batch size of 1000, truncate log on checkpoint, load the
- all data, bring up nonclustered, update stats on clustered,
- shut off truncate log )
-
-
-
- --
- warren finnerty | 388 Greenwich St.
- Lehman Brothers | NYC NY 10013
- "Back off man!" | wfinnert@shearson.com
-
-