on 2022 Apr 07 11:43 AM
Hi Experts,
i want to know the difference on Best-Practice ASE restores. The load operation of a ASE Dump is used for any restore, so far so good.
However what do you recommend on how to perform the restore? Should i only load the dump into the existent database or should i first drop the SID DB, then recreate the SID DB and then load my dump for restore into the "fresh" database?
Request clarification before answering.
Dropping a database will clear the device pages.
Creating a database, unless you specify FOR LOAD, will also initialize the devices. If you use FOR LOAD, then it will initialize the alloc pages only (1 every 256 pages)
Load database will initialize any page that is not copied. So, if you drop & recreate, you will be reinitializing the same set of pages multiple times and unnnecessarily.
Restoring a database will also have to reconcile the entries in sysusages, and depending on how you create it, the database shape might not be as nice as you think. If the database is already created, the database fragments in sysusages will match and nothing will have to be adjusted.
So, if the database is already created I would recomend that you just load the backup on top of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.