Re: ASA unload/reload question
- From: ever90321@xxxxxxxxxxx
- Date: Thu, 13 Mar 2008 07:17:45 -0700 (PDT)
On Mar 13, 8:28 am, David Kerber
<ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
In article <be75bfe6-49d8-406b-bab4-7d222badc701@
59g2000hsb.googlegroups.com>, ever90...@xxxxxxxxxxx says...
Newbie question coming... I'd like to reclaim wasted space in a
Sybase ASA 9 database using the unload/reload technique. I have the
Why? Has your usage pattern changed enough that you are sure it won't
just grow back to its current size again? The empty space in a database
file is reused for various purposes, so most databases grow to a certain
size based on their usage patterns, and then stay at that size from then
on. A file-system based defrag can be useful for performance reasons
once it reaches a stable size, but unload/reload rarely gains you much.
The size of the database seems to continue growing, no matter what.
The number of employees in this company can vary, as it goes through
swings in the sales staff, and we're currently on a down-swing.
Primarily, though, the database just seems *huge* compared to what
Sybase Central tells me is inside. I don't have a great background in
databases, and am really curious what the actual size will be, even
for the short term, once I've reloaded. So it's also partly to get
experience.
The unload process generates a script that will have all those options
set correctly. So just use those scripts to create the new database.
Or you could unload/reload into a new database, which will handle all
that automatically.
Ah! I did skim the .sql file briefly, but must have missed that. I
also didn't realize it would populate those settings to a new
database. Will try this shorty. Thanks for the tips!
Todd
.
- Follow-Ups:
- Re: ASA unload/reload question
- From: David Kerber
- Re: ASA unload/reload question
- References:
- ASA unload/reload question
- From: ever90321
- Re: ASA unload/reload question
- From: David Kerber
- ASA unload/reload question
- Prev by Date: primary key
- Next by Date: Re: ASA unload/reload question
- Previous by thread: Re: ASA unload/reload question
- Next by thread: Re: ASA unload/reload question
- Index(es):
Relevant Pages
|
Loading