Subject | Re: [firebird-support] How to re-activate index which de-activate from restore option ? |
---|---|
Author | Milan Babuskov |
Post date | 2006-03-30T16:30:54Z |
kamen_lai wrote:
select 'ALTER INDEX '||rdb$index_name ||'ACTIVE;'
from rdb$indices
where rdb$system_flag is not null and rdb$system_flag = 0;
Copy/paste the results you get and run that.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
> While i need to datapump from 1 gdb to another gdb, i use ibdatapumpWhy do you need to restore the database?
> from clevercomponents. The original database have about 1 million
> records. Due to i want to speedup the pumping process, i restore the
> destination database with deactivate index option on.
> So, how can i reactivate all index ?Run this query:
select 'ALTER INDEX '||rdb$index_name ||'ACTIVE;'
from rdb$indices
where rdb$system_flag is not null and rdb$system_flag = 0;
Copy/paste the results you get and run that.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org