Subject | Re: Help. Need to add a foreign key, but "object is in use" error in single-user mode. |
---|---|
Author | Alexander V.Nevsky |
Post date | 2002-10-07T11:58:09Z |
--- In ib-support@y..., Paul Reeves <paul@f...> wrote:
(re-design database) even disconnect/connect does'nt help. Seems it is
possible that automatically started sweep gives the same effect in
metadata cashing, so, before doing such changes it is better to turn
off autosweep.
Best regards, Alexander V.Nevsky.
> Andrew Guts wrote:engine
> > Thank you, Paul. But I was single user at that time.
>
> That doesn't matter. Once you start working with the database the
> starts caching metadata. The only solution to your problem, atpresent,
> is to restart the server, open the database and execute yourstatement
> before doing anything else.Paul, I had reports that sometimes doing a lot of FK creation
(re-design database) even disconnect/connect does'nt help. Seems it is
possible that automatically started sweep gives the same effect in
metadata cashing, so, before doing such changes it is better to turn
off autosweep.
Best regards, Alexander V.Nevsky.