Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: postgres 8.1 features ... possible pressure on migration of features from enterprise edition down to standard edition?

Re: OT: postgres 8.1 features ... possible pressure on migration of features from enterprise edition down to standard edition?

From: stephen booth <stephenbooth.uk_at_gmail.com>
Date: Wed, 9 Nov 2005 08:27:49 +0000
Message-ID: <687bf9c40511090027x102c8221w@mail.gmail.com>


On 08/11/05, Paul Drake <bdbafh_at_gmail.com> wrote:
> "Make REINDEX DATABASE reindex all indexes in the database ".
>

I can see where something like that might be useful (although probably more useful at the schema level) *if* it were coupled with a 'disable indexes' command. Currently it is quite common, when doing a batch load, to first drop all indexes then do the load and recreate the indexes afterwards. This does rely on you knowing all the indexes in your database and updating the scripts that do the drop and recreate to take account of any changes (new indexes, dropped indexes, columns added to or removed from an index, indexes moved to a different tablespace &c). It might be easier if there was someway to just disable all the indexes (they're still there, they just won't be updated or used in queries) before the load then re-enable and rebuild them with just a couple of commands.

I know that as a DBA you should know what's going on with the database interms of new indexes &c, but that does presuppose that you have absolute authority and only you know the passwords. In reality the application support team will almost certainly have the schema owner password and it would only take for one of them to decide that going through change control is too labourious for 'just a couple of indexes' to possibly cause problems.

Stephen

--
It's better to ask a silly question than to make a silly assumption.

http://stephensorablog.blogspot.com/
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 09 2005 - 02:29:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US