Index Bitmap and MV in Standard edition

Salvation of DBA

I have an enterprise edition 10.2.0.3 database which can be transformed into 11.2.0.3 EE. There many Materialized view with activated query rewrite. If I downgrade to the standard edition, what will be the impact? I know the rewrite of the query is a feature of EA and not SE and SEO. It is also the index Bitmap in the database which I think must be re-created as the normal b-tree index.

I know that bitmap is not a feautre of the SE. One advantage that I see that updates will be faster if there is a normal index as DML are slow, if there is a Bitmap index.

What will be the impact on the performance of the database if there is standard edition which does not rewrite of the query and the characteristics of Bitmap?

Thank you

DBA is the hero behind the screen, while developers are heroes on the screen.

user13368428 wrote:
I went through this table before posting my first post. I don't know there are a lot of tables in my EE database that contains bitmap indexes. In the past, I turned on the control over some of them, and they have been used. Also, I have seen queries that are rewritten to use the MV table instead of the base of fact tables.

Yes. Really, I need to test in decommissioning and annexing the request to it. But I wanted to know if anyone has experienced this. What were their experiences do not use Bitmap indexes, function index and Query rewrite.

Your response was very useful.

Thank you.

The Oracle Server Standard edition supports function based indexes (I think since version 8.1.5). Bitmap indexes are not supported and treat B * index of tree as the index of the bitmap to bitmap join operations are also not supported. You can partially determine the impact of not having the second option by editing a hidden at the session level setting (obvious caveat on masked editing settings apply here):

ALTER SESSION SET "_B_TREE_BITMAP_PLANS" = FALSE;

I'm fairly certain that the Standard Edition supports materialized views - automatic query simply not rewrite for possibly enjoy this feature based on cost.

There may be a few other surprises, here is part 1 of 4 that explores the potentially unexpected differences between Standard Edition and Enterprise Edition (the differences are version and OPTIMIZER_FEATURES_ENABLED load):
http://hoopercharles.WordPress.com/2010/11/21/different-performance-from-Standard-Edition-and-Enterprise-Edition-1/

Good luck to you with the project.

Charles Hooper
http://hoopercharles.WordPress.com/
IT Manager/Oracle DBA
K & M-making Machine, Inc.

Tags: Database

Similar Questions

  • Index BITMAP and NOT NULL

    Hi all
    Is it possible to use the Index BITMAP for a NOT NULL condition?


    >

    CREATE a BITMAP of INDEX x_ix FOR tab (x);

    SELECT *.
    TAB
    WHERE x IS NOT NULL

    >

    Thank you!

    user3646231 wrote:
    You say that :) to hope

    Here it is:

    Your test is a good effort - but it needs a little more.

    Your question is "is it possible...". «, not "If Oracle always...» »

    Your demonstration showed an example where the choice of plan Oracle has surprised you (and me). Now, you need run the query with index indicator (because if the indexed access path is legal, must be taken an indexed correctly suggested path).

    I just ran a similar test (1 line of 100,000), with the following results:

    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------
    SQL_ID  52q6gxkscvg9v, child number 0
    -------------------------------------
     select /*+ index(t1(n1)) */ * from t1 where n1 is not null
    
    Plan hash value: 2828957992
    
    ----------------------------------------------------------------------
    | Id  | Operation                    | Name  | Rows  | Bytes | Cost  |
    ----------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |       |       |       |  1859 |
    |   1 |  TABLE ACCESS BY INDEX ROWID | T1    |     1 |   118 |  1859 |
    |   2 |   BITMAP CONVERSION TO ROWIDS|       |       |       |       |
    |*  3 |    BITMAP INDEX FULL SCAN    | T1_N1 |       |       |       |
    ----------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - filter("N1" IS NOT NULL)
    

    You will notice that the cost of the query is unreasonable - and without the suspicion my test showed Oracle taking the full analysis at a much lower cost.
    If your test has actually demonstrated a bug in the costing, explaining why Oracle does not automatically take a path that seems reasonable.

    The above output comes from 11.2.0.3, but I had the same thing with 11.1.0.7

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • index bitmap and separate key

    Hi guys,.

    If the separate keys is very low (for example 20) and my index finger has more than 12,000 lines, should I consider using a bitmap index instead?

    Thank you

    OracleGuy777 wrote:
    But that say our table was very fragmented, would not--what it means that the bitmap index entries would be to store much more information than necessary? Say so we had a table with only 1000 entries and the first rowid is 1, and the last was 1000000 and then eventually we have 999000 additional entries for each bitmap index entry!

    Bitmap indexes are well compressed. So, this usually isn't a problem. An example...

    SQL> create table t as select rownum id from dual connect by level <= 1000000;
    
    SQL> execute dbms_stats.gather_table_stats(user,'t')
    
    SQL> select blocks from user_tables where table_name = 'T';
    
        BLOCKS
    ----------
          1557
    
    SQL> delete t where id between 500 and 999500;
    
    999001 rows deleted.
    
    SQL> commit;
    
    SQL> create bitmap index i on t (id);
    
    SQL> select distinct_keys, blevel, leaf_blocks from user_indexes where index_name = 'I';
    
    DISTINCT_KEYS     BLEVEL LEAF_BLOCKS
    ------------- ---------- -----------
              999          1           4
    

    Notice how the index has only 4 blocks of leaves...

    So you're saying something like

    FEMALE 1 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 0 0 0 1

    could be stored as

    FEMALE 1 0 0 0 1 1 0 1 0 1 for rowid a to j
    FEMALE 0 1 1 1 1 0 0 1 0 0 0 1 for rowid k - w

    Yes.

    HTH
    Chris Antognini

    Troubleshooting Oracle, Apress 2008 performance
    http://top.Antognini.ch

  • B - Tree and explanation Index Bitmap

    Hi gurus

    I am trying to absorb the notion of bitmap index and b-tree, but unable to grasp the concept, so far, I have learned the following:

    Index B-Tree

    Use in the OLTP environment

    It is customary for these types of columns where you have more unique value or we can say that high cardinality

    It occupies less storage

    Using the corresponding model and ranges

    By default, Oracle uses tree indexing

    Bitmap index

    Use in home environment/OLAP data items

    It is customary for these types of columns where repeated values exist or we can say that low cardinality, example are male and female

    It seems that these points of difference between the two indexes. I really appreciate if someone give me more explanation on these subjects.

    Thanks in advance

    Concerning

    Muzz

    I am trying to absorb the concept index bitmap and tree but unable to grasp the concept,

    Then the FIRST place to look is the Oracle documentation; specifically the chapter "Index and Index-Organized Tables" chapter of the Concepts doc.

    http://docs.Oracle.com/CD/E25054_01/server.1111/e25789/indexiot.htm

    3 indices and Index of Tables

    This chapter deals with indices, which are schema objects that can speed up access to the lines of the table and organized index of tables, which are tables stored in an index structure.

    This chapter contains the following sections:

    This chapter has a lot of basic information on ALL the various types of indexes.

    so far, I've learned the following:

    Where, exactly, 'have you' who? Most of it is wrong, incomplete or distorted.

    Index B-Tree

    Use in the OLTP environment

    Index B-Tree, by default, are used in all environments.

    It is customary for these types of columns where you have more unique value or we can say that high cardinality

    They can be used for a cardinality. True - a unique column index is most commonly used for high-cardinality columns. But Oracle may also use an index column, simple or composite, when the data being sought is ENTIRELY contained in one or more indexes, low cardinality.

    It occupies less storage

    Maybe, maybe not. It is based on the column being indexed, the size of the key values and the cardinality of the key values. For your example "Male and female" there will be only THREE index entries: male, female and null. And each entry is simply a list of ranges of ROWID. This index can be orders of magnitude smaller than the equivalent B-Tree index.

    Using the corresponding model and ranges

    For the most part correct - although the range queries can be used with the bitmap index which is not a common use.

    By default, Oracle uses tree indexing

    Fix.

    Bitmap index

    Use in home environment/OLAP data items

    Especially correct - DML on tables with the bitmap index can cause severe performance and throughput problems. The distinction is therefore between environments with medium/high DML on a table compared to the weak or nonexistent DML on a table.

    So rather than a distinction between environments (OLAP and warehouse) the distinction is no longer between the TABLES (high/medium DML versus LOW/NO DML). There is nothing wrong at all with the help of the index of the bitmap in an OLAP environment - but these indices should be limited to the tables with low, or no, DML.

    It is customary for these types of columns where repeated values exist or we can say that low cardinality, example are male and female

    Yes and no.

    Yes - a bitmap index is not really appropriate, if there is NO repeat value.

    No - part II (low cardinality). The attribute MAJOR missing from what you have posted is that bitmap indexes are ALMOST always used in conjunction with others (usually a bitmap) index.

    If one, or more, high cardinality bitmap index can be used VERY effectively together to identify a set of rows to a query.

    See my multiple responses in this thread

    https://community.oracle.com/message/10219613?

    One of my answers presents, in detail, just how many attributes can be combined using several bitmap on both high columns index and low cardinality.

    In a later response, I provide the actual sample code and display the execution plan indicating how Oracle just that.

    SQL> set serveroutput on
    SQL> set autotrace on explain
    SQL> select rowid from star_fact where
      2   (state = 'CA') or (state = 'CO')
      3  and (age = 'young') and (marital_status = 'divorced')
      4  and (((summer_sport = 'baseball') and (softdrink = 'pepsi'))
      5  or ((summer_sport = 'golf') and (beer = 'coors')));

    Read the full thread.

  • convert 9i enterprise standard edition on win2000

    Hello
    I want to convert a 9i enterprise edition on Windows 2000 standard edition on the samebox (win2000)

    my plan is to the standard edition on a new home of configuration and then create a new database, and then export and import

    What is the best way to do it?

    also, I went and installed the Standard Edition version on a new home
    but when I click on the wizard of DB configuration on the new House, he embarks
    He only started from the old "company" home
    I went to prompt back and

    ORACLE_HOME = C:\ORA9ISE SET
    C:\ora9iSE\bin\launch.exe c:\ora9iSE\assistants\dbca dbca.cl


    but still the DBCA don't throw!

    Any ideas why the dbca not start?

    Thank you

    The safest way is your initial proposal; export & import

  • Which switch to index for the index bitmap in Oracle Standard Edition

    Hello

    I have to move from Oracle Enterprise edition to standard edition (oracle11g). As standard edition does not support bitmap indexes. But the current database which is an Enterprise edition a bitmap index a column-based date or varchar2 or column in a table. The tables have approximately 60000000 records. I would like to know what index go for bitmap index.


    Kind regards
    Vaibhav

    Published by: Vaibhav on November 7, 2011 05:35

    The BTree index certainly can and are frequently used when values are not unique (e.g. are duplicated).

    uniqueness isn't the issue. The relative number of distinct values (relative to the total number of lines) is important. An advantage of BitMap index BTree indexes, it's that BTree indexes can be composite - made up of multiple columns.

    You can read the documentation on the index.

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e25789/indexiot.htm#CBBECABB

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e25494/indexes.htm#i1007132

    Hemant K Collette

  • Difference between Enterprise Edition and Standard Edition for Oracle RAC

    Hello

    In our current configuration we have CARS on standard edition and customer is now considering to go to Enterprise Edition, but not yet to decide because of the cost.

    Is there a difference between the Infrastructure of grid 11gR 3 Enterprise edition and Standard Edition?

    They told me first install Enterprise Edition and then will move to Standard Edition if they can not get the EA license, so in this case do I have to re - install standard edition network infrastructure?



    Kind regards
    Chirag

    994551 wrote:
    Hello

    In our current configuration we have CARS on standard edition and customer is now considering to go to Enterprise Edition, but not yet to decide because of the cost.

    Is there a difference between the Infrastructure of grid 11gR 3 Enterprise edition and Standard Edition?

    They told me first install Enterprise Edition and then will move to Standard Edition if they can not get the EA license, so in this case do I have to re - install standard edition network infrastructure?

    Hello

    There is no "grid Infrastructure 11gR 3 Enterprise edition and Standard Edition", is the only Infrastructure of grid 11 GR 2.

    On the Oracle Clusterware licenses (grid Infrastructure).
    At least one of the servers in the cluster is allowed for the Oracle database (SE1, SE or EE)
    A cluster is defined to include all machines that share the same Oracle Cluster Registry (OCR) and the drive to vote.
    http://docs.Oracle.com/CD/E11882_01/license.112/e10594/editions.htm#CJAHFHBJ

    On the licensing database.
    http://www.Oracle.com/us/products/database/Enterprise-Edition/comparisons/index.html

    Note: Oracle Real Application Clusters (Oracle RAC), is an option to Oracle Database 11 g Enterprise Edition and included with Oracle Database 11 g Standard Edition (on clusters with a maximum of 4 Sockets).
    If you move to EA Oracle, you must purchase a separate license to use the RAC option

    Regarding the Installation:
    Nothing changes on your current installation of Grid Infrastructure 11.2
    Just install a new fresh install to choose EF of the Oracle (the current clusterware) database during installation. Configure services database from this new HOME of ORACLE. Change anything on the database of all the previous backup and used functionality remains unchanged. With the help of this new House Oracle new features are enabled to be used by your databases.

    On the Downgrade:
    Step by step procedure to perform the conversion from Enterprise Edition to edition Standard [ID 465189.1]

  • Business of medium scale and Standard Edition One

    DB version: 11 GR 2
    Our client (a company average scale) wants to buy Standard Edition One. From the below URL I've read that it costs $180 per user.
    http://www.Oracle.com/us/products/database/STD-one/index.html

    What does that mean? Our client has 600 end users who use a Java application that connects to this database.
    Fees that means that our customer has to pay 600 * 180 = 108000 USD as license?

    Hello
    No don't worry about it! Other Oracle products, it can be licensed by CPU (actually by taking a multicore CPU is considered 1 CPU SE and SE1)
    https://shop.Oracle.com/pls/ostore/f?p=ostore:product:1960908607185564:no:RP, 3:P3_LPI, P3_PROD_HIER_ID:4508969204091805719879, # 4509958287721805720011
    Best regards
    Phil

    Published by: Philippe Florent on February 19, 2011 09:38 - added precision

  • I have windows server 2008 standard Edition and I need to convert an iso file in a wim file, so I can load in windows deployment services.

    Original title: iso to wim

    I have windows server 2008 standard Edition and I need to convert an iso file in a wim file, so I can load in windows deployment services.

    Thank you

    Because you are dealing with Windows Server 2008, I suggest that you go on the TechNet forums and re after your question here. They are better equipped to help you with questions regarding the problems of Windows Server.

    Thank you!
  • IHAVE windows server 2008 standard Edition, but we want to improve it to Enterprise Edition and save the elders allowed other servers how do I do this Action

    Dear Sir
    I have windows server 2008 standard Edition, but we want to upgrade to Enterprise Edition and save old licenses to other servers how do I do this Action

    Thank you in advance

    Hello

    You can find the Server forums on TechNet support, please create a new post at the following link:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • Difference between standard edition SQL and SQL workgroup edition

    I'm buying the processor SQL License. I'm looking for the standard edition of SQL, but the SQL workgroup edition is less expensive. I wonder what the difference is in two versions

    Hi DBBurns,

    This document compares the editions of SQL and should answer your question. If you need help, your questions there will be better answered in the Forums of SQL.

  • Difference between Standard 10g and 11g Standard edition.

    Hi all

    I tried Googling to find the difference between the Standard of 10g and 11g Standard editions, but couldn't find what I want.

    Y at - it links you want to share.

    Thank you

    Hello

    I tried, please check

    http://docs.Oracle.com/CD/B19306_01/license.102/b14199/editions.htm#BABJICBB (10 G based on the edition functions)

    http://docs.Oracle.com/CD/B28359_01/License.111/b28287/Editions.htm#DBLIC116 (11 g features based on edition)

    Just compare the two.

    Hope that helps.

    -Thank you

    Pavan Kumar N

  • MPIO, ALUA and Vsphere Standard Edition

    I'm having a hard time to give a sense of the differences in features between Vsphere standard Edition and enterprise Edition when it comes to storage.   In the comparison of the features he says that this standard does not support third-party plugins or MPIO.  But I know that at least, it supports MPIO basis because I have it running on one of my sites with ISCSI.    So I'm I wondered what exactly it does not support and more particularly wonder about MPIO on SAN FC who wants me to activate ALUA.

    Take a look at VMware KB: frequently asked Questions for the vStorage API for integration of the table that describes the functions available with VAAI.

    ALUA and the MPIO built-in will work regardless of the edition, you can simply use 3rd party software.

    André

  • Documaker 12.1 Standard Edition and Microsoft SQL Server

    Does it matter which version of Microsoft SQL Server that uses Documaker 12.1 Standard edition and may documaker using the latest version?  Is there a particular version of Microsoft SQL Server that is running better with Documaker?

    Documaker uses ODBC for most SQL connectivity. The application is therefore probably not aware (and indifferent) with the specific version of SQL Server, you have installed.

  • How to find the difference between standard edition and standard edition one

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql
    (b) using the configuration/installation files

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql

    Select * the option of $ v;

    (b) using the configuration/installation files

    opatch lsinventory-details

Maybe you are looking for