for bitmap or not...

First of all, I would like to apologize if this question has been answered, but I couldn't find the answer to my related question.

I am running 11.2.0.2 EE on Solaris 10.

My problem is that we have a table very heavily used in an OLTP database that includes the columns that are regularly used in queries.

These columns have very low cardinality and seem to be an ideal candidate for the bitmap index.

But since we have so much activity on this table, I fear that it will be counterproductive on inserts and updates.

I guess I also need to rebuild the IMC every night with the volume of business that we have on the table.

The table is not a huge table and has only about 5 M record.

We have also a history table that regularly has about 25 M records and would probably also benefit by having a BMI, but again, I have fear of the impact of BMI is when large jobs making insertions are made on the history table.

Any ideas how to weigh whether it would be beneficial or not having the BMI is on the main table?

I can test the use of BMI in our test database, but I can't simulate the normal load of users on the table to determine the impact of the performance.

Your thoughts are appreciated.

Bitmap indexes are not suitable for tables that have a large number of small insertions, deletions or changes that change the indexed columns - so your main table of 5 M of lines is not a good candidate.  However, OLTP systems tend to have queries more predictable than DSS or DWH, if the fact that you have a lot of columns 'low cardinality' (i.e. columns with a relatively important lines by the key value) may not be a problem if you can identify a few multi-column indexes and build them with compression on the main columns.  It is also interesting to note that even if you create the index b-tree on individual columns (even once, you would use compression), the optimizer can do "tree / conversion of bitmap" to optimize the use of these indices.

History with 25 M lines table may be a better candidate if all what you do is inserts block with large table sizes - it can be done effectively, even when you have the index bitmap in place - and you can see that with a sufficiently broad framework for PCTFREE (eventually 51) when you initially create the index the index to stay in some sort of constant of size - only more in line with the evolution of the data.  If you are unlucky, you can find some of them unreasonably expanding quickly, then you can end up doing a daily load with a weekly reconstruction (for example).

Concerning

Jonathan Lewis

http://jonathanlewis.WordPress.com

Now on Twitter: @jloracle

Tags: Database

Similar Questions

  • for bitmap or not, that is the question

    Hello my friends tuning.

    I'm running Oracle 11.2 (on Solaris 10) for a database very active OLTP, but which is also frequently used to pull reports on the more volatile critical table in the database.

    My database has anywhere from 100 to 400 concurrent users.
    Our application (REMEDY) is designed to put 'tickets' in one main table (with about 560 fields that 40 are CLOB).
    The dilemma, I need help is if we put a little map on some low cardinality columns indexes or not.
    And, besides, the number of columns in this table is very low cardinality.
    My fear is that I fear that putting a bitmap on a highly active OLTP table index might decrease the performance of ticket creations (new lines in the table).
    Can or, if I did, I have a job done every night that re-creates the index bitmap on this table?
    But what about performance on the table between the time to rebuild the indexes of BM?

    In this case, it is a query that is run on our main table (containing the records of about 6 m and is 16G in size).
    When I look in OEM, I see that he did a scan of full table on this table and in this case, returns only the records of 262.
    Of course, you can deduce that the columns in the predicate clause are very low cardinality (by the names of the columns and the values you want).
    SELECT "Main_Ticket"."SHORTTICKETNUMBER"      ,
            "Main_Ticket"."OUTAGESEVERITY"        ,
            "Main_Ticket"."OUTAGESEVERITYTEXT"    ,
            "Main_Ticket"."OUTAGESERVICESLIST"    ,
            "Main_Ticket"."OUTAGESTATUS"          ,
            "Main_Ticket"."OUTAGEOVERALLSTARTTIME",
            "Main_Ticket"."OUTAGEOVERALLENDTIME"  ,
            "Main_Ticket"."CITY"                  ,
            "Main_Ticket"."STATE"                 ,
            "Main_Ticket"."MASTEROUTAGE"          ,
            "Main_Ticket"."GROUPCREATEDBY"        ,
            "Main_Ticket"."GROUPASSIGNEDTO"
    FROM "ARADMIN"."MAIN_TICKET" "Main_Ticket"
    WHERE "Main_Ticket"."OUTAGESEVERITY"<=2
            AND NOT
            (
                    "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'BBSG%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'CIA%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'DESIGNED%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'IHD%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'NABB%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'NCC%'
                    OR "Main_Ticket"."GROUPASSIGNEDTO" LIKE 'NFC%'
            )
    I guess that put the index bitmap on 'OUTAGESEVERITY '.
    Not sure about the GROUPASSIGNEDTO, because it uses the SIMILAR function and may not use the index BM if she had a.
    In this case, an FBI would be better?

    Published by: 974632 on February 27, 2013 06:29

    put a bitmap on a table with DML heavy index looks like a very bad idea and I would not even sure if it would help your request (which is the number of values<=2 compared="" to="" the="" total="" number="" of="" rows?="" -="" if="" this="" is="" a="" significant="" amount,="" then="" a="" full="" scan="" is="" propably="" in="" order="" anyway.).="" put="" an="" fbi="" on="" the="" text="" column="" is="" also="" not="" very="" likely="" to="" help="" you="" out,="" especially="" with="" the="" not="" clause.="" it="" would="" be="" much="" easier="" to="" reverse="" the="" logic="" here="" like="" ...="" and="" groupassignedto="" in="" ('group1',="" 'group2'...)="" as="" long="" as="" the="" number="" of="" different="" values="" can="" be="">

    In general, how do you the idea to keep a second copy of this table for reporting? You can create a view, materialized from this table and then create your index bitmap on this MV and run your reports against it. Maybe you could get away with just a drink a day? And the strengthening of this way that you will not lose DML performance against the table real all performance reports. Just an idea

    Bjoern

  • Error of Musicmatch jukebox, "skin bitmap is not found."

    When I try to open my musicmatch jukebox I get message "the skin bitmap is not found" C:/programfiles/musicmatchjuebox/skin/dell/cobalt/plrbtns1.bmp.   OR 'there was a problem play.dl or mixer.dll.

    Hello
     
    You did it changes on your machine before the problem?
     
    You may need to contact Musicmatch Inc. for the best help.
     
    Aziz Nadeem - Microsoft Support
  • updated itunes,-, outlook, for, icloud, would not work, windows, outlook 10, 2016

    updated itunes,-, outlook, for, icloud, would not work, windows, outlook 10, 2016

    Error: 0 x 80040604: upward / POST: conflicts

    [Error: 0 x 80040604: Up/HdlPOSTr[p06-caldav.icloud.com/412/0#16/83]

    See if it might help - Error: 0 x 80040604: Up/POST: conflict

  • Firefox for Mac does not recognize a valid SSL certificate

    Firefox for Mac does not recognize the SSL certificate that is valid for this site, I got: https://www.georgeglazer.com. It gives a warning "not reliable." However, the Firefox for Windows does not give a warning. This happens even if I clear the cache and it happens in the Mavericks and OS of Yosemite. The certificate is up-to-date and with Comodo. Firefox for Mac is now the only browser producing these errors (v. 39, put updated) - Internet Explorer, Safari and Chrome are not. Our hosting provider has said it's probably a browser issue, perhaps having to do with intermediate certificates in Firefox being obsolete. I really hope you'll solve the problem, as it's annoying for us when we're going to do right by our customers and pay for the SSL certificate. I have attached a picture of the warning and the other from what you see on a PC: a pop-up that says it is a verified SSL certificate and gives details about the issuer, the period of validity, etc.

    COMODO should you sent a link to download the file 'bundle' containing the intermediate certificates. Who needs to go in the same directory as the certificate of your site. If you are using a control panel, your host can probably help with this process. And if you bought through them, shame on them for not taking care of this for you already!

  • the update of firefox 28 for mac does not, the bar just rotates, I can't get the update

    the update of firefox 28 for mac does not, the bar just rotates, I can't get the update. Thank you

    Hello

    Try to get the full version here:

    Then just install it.

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

  • If Firefox for Android has not been optimized for 4.3?

    After having updated my Nexus 10 to 4.3 Monday, everything works well except for Firefox. I have two 22.0 and Beta installed, and the problems are identical in both. Keyboard lag, characters appearing not to if I typed in the search/address, blank white bar screens well it shows the page has finished loading, the previous page always shows even if the poster address bar a new page was supposedly loaded, ugly scrolling. Chrome browser works perfectly as it is. I rebooted several times and no joy. I have not uninstalled and reinstalled Firefox, but I don't know who would do good. I will try that next, but I wonder if there is a known issue with Firefox for Android is not yet optimized for 4.3.

    Hi all:

    I wrote an article of SUMO KB on the 4.3 Android and Nexus 10 questions.

    See you soon!
    ... Roland

  • I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • Music - part "For You" is not updated

    When I open the app music on my Apple TV, the section "For You" is not for the most part always showing the recent suggestions from what is shown both on iTunes on my Mac or my iPhone.

    Has anyone found a solution to this? Is there a way to manually update the "For You" section on the new Apple TV?

    Apple TV with tvOS 9.1 (13U85). Model A1625 (32 GB)

    It works for me:

    -Double click on the "Screen" button on the remote control (in the upper right)

    -Select the music application and drag up to kill him

    -Return to the home screen and open the music application

    Terribly inelegant, but works every time.

  • MobileMe will not let me that post us because that seems to me not having the correct password which I thought to be the same pw for iCloud, but not so much.  How can I me Mail online?

    Product name: MobileMe

    Computer: iMac system 10.7.5 Lion

    Story: My drive hard Snow Leopard is dead, but have an external drive on which I have installed Lion, then Mail began requiring a MobileMe password that I do not have.  MobileMe won't let me use Mail because I do not have the correct password which I thought to be the same pw for iCloud, but not so.  How can I me Mail online?

    MobileMe was discontinued on June 30, 2012.  There is no more MobileMe e-mail.  Go to the preferences panel accounts Mail and remove any MobileMe account which is there.  That should get rid of these messages.

  • A .cab file needed for installation is not reliable. Please check the Cryptographic Services are enabled and that the cab file is valid .__Help! __

    OK, so I need DirectX 0.9 c to the game red alert 3, but I can't on the new directx installed on my computer because of this error
    A .cab file needed for installation is not reliable. Please check Cryptographic Services are enabled and the certificate file is valid.

    have you tried solutions on how to solve this problem posted by mods on the previous posts with a similar problem, but it does not work for me

    help is appreciated, thanks

    Game of automatic encryption Services Cryptography on AutoServices and then try again to install the program. To set the cryptographic on AutoServices, follow these steps:

    1. Start the Administrative Tools utility in control Panel.
    2. Double-click Services.
    3. Click Cryptographic Services, and then click Properties.
    4. Click Automatic for Startup type, and then click Start.

    Reference: http://support.microsoft.com/kb/822798/ and follow all practices listed in the article.

    Man is the only animal that laughs and cries; because it is the only animal that is struck by the difference between what things are and what they could be.

  • Nimbuzcalls webdialler for PC are not heard by others

    original title: NIMBUZZCALLS DIALER IS NOT BE INSTALLED PROPERLY

    NIMBUZCALLS WEBDIALLER FOR PC IS NOT INSTALLED CORRECTLY. ALSO I M HAVING SOUND PROBLEMS WHEN I TALK. MY SOUND DOES NOT GO TO THE OTHER END, WHILE I LISTEN TO THE OTHER PERSON WHEN I M USING NIMBUZCALLS. KINDLY GUIDE ME ON THIS ISSUE.
    Thank you
    TIPU

    Hello

    1. you receive an error message when you try to install the program Nimbuzzcalls webdialler ?

    2. what operating system is installed on the computer?

    I suggest you to contact Nimbuzzcalls support on the issue.

    http://www.nimbuzzcalls.com/Contact_us.html

  • Error.' c:\docume~'\earl\locals~1\temp. A temporary file needed for initialization could not be created or cannot be written in ' when try to run 16-bit programs in windows xp computer at home.

    original title: 16-bit windows subsystem error

    I was able to run 16-bit programs on my computer with windows xp home edition. now when I try to open the program I get a 16-bit windows subsystem error. c:\DOCUME~'\earl\locals~1\Temp. a temporary file needed for initialization could not be created or cannot be written to. Make sure that the path exists, and the space is 'close' to teminate the application available.choose

    Hi EarlBettencourt,

    You can follow this link & check if the problem persists:

    Error message when you install or start an MS-DOS-based program or 16 - bit Windows based

    Hope the helps of information.

  • Why did did you publish 2.6 of Movie Maker for Vista and not for XP?

    Original title: Movie Maker

    Hey Microsoft, I want to ask U! Why did did you publish 2.6 of Movie Maker for Vista and not for XP?

    Hello

    Movie Maker 2.6 is for Windows Vista users whose computer cannot run the Vista's Movie Maker version. However if you want to upgrade the Movie maker for Windows XP you can try to download Windows live essentials.

    Windows Live Essentials includes seven major programs Windows Live to help you stay in touch with the people you care most, edit and share your photos, blog, browse, search, and help your kids safer online. Programs include Windows Live Messenger, Mail, Writer, photo library, Family Safety, toolbar, and Movie Maker and Outlook Connector, Office Live Add-in and Microsoft Silverlight.

    Check the minimum system requirements for Windows XP.

    http://explore.live.com/Windows-Live-Essentials-system-requirements

    To download Windows Live Essentials refer:

    http://explore.live.com/Windows-Live-Essentials

Maybe you are looking for

  • MacBook laptop

    I need a laptop for use in the library of my church. That I'll be using iWorks 9.0 on. This will be used for presentations, the topics of discussion paper, etc. on a television screen.  I'm looking at a MacBook Pro 2010.  Have a desktop at home. Don'

  • Centralized authentication (IAS/Radius) in IDS/IPS 4260

    All, I was in charge of configuring authentication centralized via IAS for all IPS/IDS devices in the enterprise.  After much invest I'm pretty sure that my goal is not available due to the limitations of the device.  However, I'm still not sure at 1

  • Cannot fill and sign the constant blue circle on the mouse.

    HelloI am writing today because my ticket 0188187579 have not yet been resolved. I am currently under the latest version of windows 10 that began to cause problems with Adobe Acrobat DC. This causes many problems for my end users. They were unable to

  • Lightroom keyword attributes

    Lightroom has frequently assigns a previous keyword in my list of keywords to new photos when importing. It always affect the same key word, which is not correct for my new images. I can attribute keywords new/correct, but I don't understand why it k

  • I can't access the page of redemption for creative cloud

    I am currently a student in a design program that gives me right to a free year of Creative Cloud software. I followed all the steps to get the redemption code, but now I can't open the trade page: https://creative.adobe.com/educard/wahI'm on a mac p