Discussion:
Dump Database
(too old to reply)
unknown
2010-01-25 11:30:32 UTC
Permalink
Hi,

i've looked in the ASE doc, but i can't find an answer to my
question.

When a 'dump database' command is given, what is exactly
dumped? Lets make myself clear: Lets say a dump takes 30
minutes to complete. When you start a dump, is there a kind
of "dump marker" initiated, or is it possible that
transactions that happens after the start of dump are
included in the dump (it takes 30 minutes to dump)

Greetz
Pieter
unknown
2010-01-25 14:28:48 UTC
Permalink
(1) The "backup and recovery" newsgroup is probably a better
group for this question.

(2) From Chapter-11 "Developing a backup and recovery
plan"(SAG)
"The dump database command makes a copy of the entire
database, including both the data and the transaction log.
dump database does not truncate the log.

dump database allows dynamic dumps. Users can continue to
make changes to the database while the dump takes place.
This makes it convenient to back up databases on a regular
basis.

dump database executes in three phases. A progress message
informs you when each phase completes. When the dump is
finished, it reflects all changes that were made during its
execution, except for those initiated during phase 3."


(3) From prior newsgroup posts

Phase 1

* Phase 1 is the DBPAGES phase
* The Backup Server scans and dumps all the allocated
pages (both data and log pages) for the given database,
without checking to see whether any of the pages were
updated while this phase is going on.

Phase 2

* Phase 2 is the FLUSHPAGES phase:
* All the data pages that were modified during but not
logged in phase 1 (for example, a fast bcp) are dumped.
* The dump instant is the end of this phase. Recovery
restores the database to the state after phase 2.

Phase 3

* Phase 3 is the SCANLOGPAGES phase:
* The log pages are dumped again to capture
up-to-the-minute changes.
* dump transaction has only one phase: the SCANLOGPAGES
phase.
unknown
2010-01-25 16:26:44 UTC
Permalink
Thx for the info,

i didn't spot that one in the documentation...

Greetz
Pieter
Post by unknown
(1) The "backup and recovery" newsgroup is probably a
better group for this question.
(2) From Chapter-11 "Developing a backup and recovery
plan"(SAG)
"The dump database command makes a copy of the entire
database, including both the data and the transaction log.
dump database does not truncate the log.
dump database allows dynamic dumps. Users can continue to
make changes to the database while the dump takes place.
This makes it convenient to back up databases on a regular
basis.
dump database executes in three phases. A progress message
informs you when each phase completes. When the dump is
finished, it reflects all changes that were made during
its execution, except for those initiated during phase 3."
(3) From prior newsgroup posts
Phase 1
* Phase 1 is the DBPAGES phase
* The Backup Server scans and dumps all the allocated
pages (both data and log pages) for the given database,
without checking to see whether any of the pages were
updated while this phase is going on.
Phase 2
* All the data pages that were modified during but not
logged in phase 1 (for example, a fast bcp) are dumped.
* The dump instant is the end of this phase. Recovery
restores the database to the state after phase 2.
Phase 3
* The log pages are dumped again to capture
up-to-the-minute changes.
* dump transaction has only one phase: the
SCANLOGPAGES phase.
Continue reading on narkive:
Loading...