Environment information:
* Oracle version: 10g
* Operating system: RH4
Srs ..
I need to create Some indices in production, but if I do this during the day I'll lock the table !!
Someone knows if there is someone parameter that I can change in my session to create these indices almost instantly ??
grateful
Index instantaneous
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
When it is Rebuild has the online, but I do not know if this parameter works together with CREATE INDEX ... online;
makes a test aí ...
makes a test aí ...
-
- Rank: DBA Júnior
- Posts: 193
- Joined: Thu, 24 Jan 2008 1:56 pm
- Location: SP
Dulima
DBA Oracle Jr
DBA Oracle Jr
So follows the error !!!
What do I need to activate?
ORA-00439: feature not enabled: Online Index Build
SYS@stddb > select parameter, value from v$option;
PARAMETER VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
Partitioning FALSE
Objects TRUE
Real Application Clusters FALSE
Advanced replication FALSE
Bit-mapped indexes FALSE
Connection multiplexing TRUE
Connection pooling TRUE
Database queuing TRUE
Incremental backup and recovery TRUE
Instead-of triggers TRUE
Parallel backup and recovery FALSE
Parallel execution FALSE
Parallel load TRUE
Point-in-time tablespace recovery FALSE
Fine-grained access control FALSE
Proxy authentication/authorization TRUE
Change Data Capture FALSE
Plan Stability TRUE
Online Index Build FALSE
Coalesce Index FALSE
Managed Standby FALSE
Materialized view rewrite FALSE
Materialized view warehouse refresh FALSE
Database resource manager FALSE
Spatial FALSE
Visual Information Retrieval FALSE
Export transportable tablespaces FALSE
Transparent Application Failover TRUE
Fast-Start Fault Recovery FALSE
Sample Scan TRUE
Duplexed backups FALSE
Java TRUE
OLAP Window Functions TRUE
Block Media Recovery FALSE
Fine-grained Auditing FALSE
Application Role FALSE
Enterprise User Security FALSE
Oracle Data Guard FALSE
Oracle Label Security FALSE
OLAP FALSE
Table compression FALSE
Join index FALSE
Trial Recovery FALSE
Data Mining FALSE
Online Redefinition FALSE
Streams Capture FALSE
File Mapping FALSE
Block Change Tracking FALSE
Flashback Table FALSE
Flashback Database FALSE
Data Mining Scoring Engine FALSE
Transparent Data Encryption FALSE
Backup Encryption FALSE
Unused Block Compression FALSE
Oracle Database Vault FALSE
Real Application Testing FALSE
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
Online is only for Enterprise banks, your should be Standart ..
= /
= /
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
Putz face, without affecting will be complicated,
What you should do for a faster creation is to create the index with nologging not to generate Red / Archive,
] Link with documentation http://download.oracle.com/docs/cd/B120 ... ndexes.htm
What you should do for a faster creation is to create the index with nologging not to generate Red / Archive,
] Link with documentation http://download.oracle.com/docs/cd/B120 ... ndexes.htm
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
See the CPU number you have on the machine, and do a CREATE INDEX with Parallel Degree = CPU number of them.
Then changes the index to Noparallel.
goes much faster (this if your machine is not a windows of life)
Then changes the index to Noparallel.
goes much faster (this if your machine is not a windows of life)
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
I think the biggest bottleneck would be in I / O ..
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
If they are many, then run a query in the User_indexes
to see if it does not have any with status = 'unusable' depending on the skip_indexes parameter can generate errors in the queries if you have index not available,;)
to see if it does not have any with status = 'unusable' depending on the skip_indexes parameter can generate errors in the queries if you have index not available,;)
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 1 guest