Subject | Re: [ib-support] gbak restore corruption |
---|---|
Author | Ann W. Harrison |
Post date | 2001-03-30T00:35:59Z |
At 10:14 AM 3/30/2001 +1000, Geoff Worboys wrote:
Domain definitions
Table definitions excluding computed columns & views
Commit
Store table data
commit
Generators
Commit
Procedures
Computed columns & views
Constraints
Triggers
Commit
Indexes
Commit
Within a single commit, InterBase will order things correctly.
What you need to do is avoid having triggers and constraints
active when the data is stored.
Regards,
Ann
www.ibphoenix.com
We have answers.
> > You have to be very careful of the order in which you restoreI think the order is something like:
> > data, triggers, & constraints. Easier, of course, if you know
> > the database.
>
>Is there any problem with just restoring the domains and table
>structures (and perhaps primary keys) then restore the data and then
>restoring everything else? Obviously there is still some order issues
>with procedures but these are fairly easy to avoid.
Domain definitions
Table definitions excluding computed columns & views
Commit
Store table data
commit
Generators
Commit
Procedures
Computed columns & views
Constraints
Triggers
Commit
Indexes
Commit
Within a single commit, InterBase will order things correctly.
What you need to do is avoid having triggers and constraints
active when the data is stored.
Regards,
Ann
www.ibphoenix.com
We have answers.