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

Tags: Database

Similar Questions

  • DD - WRT or not, that is the question!

    I just bought the WRT610N (on sale for $145 =)) and I see that version 2 of this router is now supported for DD - WRT

    My implementation is download torrents on my Windows Home Server, and I stream video of my Popcorn Hour of this machine as well. I have then playing XBox 360 online and listen to music from my Macbook Pro to my Apple TV.

    It is close enough to the Miller of bandwidth in my house. I'm upgrading to a WRT310N (he died) who had DD - WRT. I put DD - WRT on this router because I had a Macbook, which would connect 50 percent of the time until I put DD - WRT on it but I found I have to disconnect my WHS, whenever I want to play some XBox Live, even after I install QoS.

    This router has a technology called 'Technology Media Optimized Network' (DLink calls their 'fuel HD'), I hope it will work better then the QoS on DD - WRT.

    So my main result is, I want to be able to play XBox Live videos and stream to my pch with out having to unplug the ESM.

    If you have experience with the WRT610v2 with two firmwares or have some tips on how to make this work, I would be very grateful.

    Thank you very much.

    Coasttech.

    I had all the ports opened and had the xbox in the demilitarized zone. Still does not work.

    I had the 610 for a day now and can notice a big difference in performance. So far I'm happy, but as I said, this has been a day. I miss logging of bandwidth and a much better status page with all kinds of good info that DD - WRT designated operational entities and a bunch of other things. I wish linksys would not lame and put some better features in routers out there. I looked about the same user interface since the beginning of the 2000s, time to change!

  • My MacBook Pro runs very slowly.  I El Captain 10.11.4 rare apps on it, most are closed while I'm on safari.  My photos take a 125 gb storage capacity.  If that is the question, what external hard drive is recommended?  If not, what is?

    My MacBook Pro runs very slowly.  I El Captain 10.11.4 rare apps on it, most are closed while I'm on safari.  My photos take a 125 gb storage capacity.  If that is the question, what external hard drive is recommended?  If not, what is?

    Download and and publish a report of Etrecheck:

    http://etrecheck.com/

    Ciao.

  • I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The updated CC on the road Katies.m

    I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The CC file to get started Katies.mulib is also not if you can't automatically download all the necessary files.  Can anyone help?

    found in another area

    Where can I find updated cc enroute Katies.mulib file?

  • Buy or not to buy - that is the question

    I am not new in the world of Apple products, but I'm new to owning a Mac.

    I am looking to buy a MacBook Pro 2010. Is this a wise choice? Or is the machine already so old that he will soon be obsolete and not supported by Apple?

    I'm looking at those is the 13 "MacBook Pro with 500 GB HDD and the core 2 duo processor and the 17" MacBook Pro with 500 gb hard drive and i5 processor.

    Should I get one on the other? Or look for something more recent.

    I would like to note that I'm interested in computers preowned certified with warranty and they are 50% less than retail.

    Thanks in advance for your advice!

    I am running on an iMac end 2010 now with no complaints. I've probably will modernize in a few years, because there is a new technology and I don't know how long even updates my system will support. Of course the 17 "is more heavy to lug around. The MacBook Pro also came in the i5 15 ", that would be a good common ground.

  • 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

  • Why are there "No content found" even after updating the Guide on WMC. I also note that, on the main page of ITV, none of the links are clickable. What gives?

    I removed and re-installed Internet TV for my Home Premium from windows system 7 several times, using an account administrator as well as a standard user account. I find that the ITV homepage is NOT clickable; the links don't point out even when I hover over them (top tv, full episodes, etc.). I also click on an icon of TMZ in alternation, which, once clicked active active search at the top right of the screen button, but when I opt for the Internet TV within the open window radio button I've always found "no content found. Does anyone have an idea here? Confused in Maryland.

    Microsoft has removed Internet TV in Windows Media Center effective 9/20.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • Submit a Mutli-question application to Apple without that complete the question.

    When you submit a multi-question DPS app to the App Store for the first time, Apple requires only the full first issue with the container application? I would like to present the application container for Apple this week with maybe a little teaser article (1-2 screens), but the first real question won't be for another 2-3 weeks. I would like to introduce at the beginning so that at the time wherever I finish all the question, will Apple has already approved the presentation of app container. Oh, and the questions will be free.

    If your application displays no content in the library, Apple will reject. If you provide a partial question with only a two or three items, Apple could not approve it. I think it's a good idea to present from the beginning, but you might want to delay this until you have a reasonable amount of content.

  • My external hard drive will not go up and I'm not sure what the question is

    My external hard drive will show up in disk utility, but not of viewfinder. I tried to hit "repair disk" and he says it will take 4 hours, but after a while, that he's finally going to say that it is impossible to repair the disk and I need to make a backup.

    Help?

    Almost always, the question is quite simple: the hard drive is faulty or has failed. So I hope that you have a backup of everything that is on, it is absolutely essential.

  • Control Panel for W7 will not remain in the category option

    I had used the control panel and changed icon to find a specific option that was not evident in the category. I forgot to return to classes and eventually change the folder options in the world. Now the category parameter will not stick in Control Panel and change the options file locally or globally is not working either. Does anyone have a solution for this problem... TIA.

    --
    Eddie in Loveland

    "When the only tool you have is a hammer, you tend to treat everything as if it were a nail." -Abraham Maslow

    Not sure, but see if that helps - http://www.sevenforums.com/tutorials/262-control-panel-view-category-icons.html good read and see if it helps.

  • Map memory for Smartphones blackBerry not seen on the desktop

    When I plug my BB Storm to my computer, the BB is presented, but not the memory card. Both used appears before I upgraded to v. 5 software. I even checked disk management. I also deleted and reinstalled the memory card in case that was the problem.

    Is there a way to get the card appears as another drive? I desperately need to transfer files from my desktop to my blackerry.

    I found the solution!

    I stopped both:

    Auto Mode of mass Sotrage activate when connected

    Buffer Mode support mass

    And then transformed them both under tension.

    It worked.

    Thank you for pointing me in the right direction.

  • For each does not properly in the XSLT file to two loops on a single node

    Hi all

    I'm transforming 2 inputs to a single target using XSLT. Both of the target entry of the same pattern and have the child element.
    In the XSLT, I gave this condition.
    "< xsl: for each select="$Variable1.payload/ns1:BookStore/ns1:Books ">
    < xsl: for-each select = "/ ns1:BookStore / ns1:Books" >
    "< xsl: if test="$Variable1.payload/ns1:BookStore/ns1:Books/ns3:BookId = ns3:Books / ns3:BookId ">

    My second for each does not work and in the target, I'm getting double elements. Help, please. Here are two xml source and xml desired target.
    1 XML source:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < / book >

    XML source 2:

    < bookStore >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 1 < / BookId >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 2 < / BookId >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 3 < / BookId >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Desired target XML:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Thank you

    Hello

    It will not work like that... To do something like the following... Only one for each...

    
      
      
        ns1:Name
        ns1:Author
        ns1:BookId
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Quantity
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Price
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Status
      
    
    

    I don't have to check the syntax, but you get the idea...

    I hope this helps...

    See you soon,.
    Vlad

  • Class not found - was the question of definition of channel

    I'm a lot closer.  Tomcat is to put some key messages in the console and I forgot them.  Looks like I'm closer than I thought.  The query looks like its getting received, but my favorite service upward on the answer because I think two class not found issues.  But I can't say what classes are missing.

    [Flex] Application of the financial/RTMP deserializing AMF
    Version: 3 null
    2.0

    (Order = null (0) trxId = 2.0)
    null
    (Externalizable object #0 'flex.data.messages.DataMessageExt')
    (Table #1).
    [0] = (typed object #2 'flex.data.messages.DataMessage')
    identity = (Object #3)
    partId = 81959
    operation = 11
    correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7."
    headers = (object #4)
    messageId = "8AF6C660-9DE3-F155-6A91-88F3CAC5A4F0."
    timestamp = 0
    destination = "DocumentPart.
    timeToLive = 0
    body = (typed object #5 'com.hpdocs.ds.document.DocumentPart')
    documentId = 81960
    partId = 81959
    Content = "Hello World".
    clientId = "05E549ED-455F-A9AF-EEDE-88F3CA7E4BF9".
    "DocumentPart.
    (Object #6)
    DSEndpoint = "hp_rtmp".
    Iddm = "F65B351A-A60C-6F91-2932-44630DAED2B9."
    (#7, length 16 byte array) ""
    7
    [Flex] Order receipt: TCCommand [Cmd: 0, MethodName: null, TrxID: 2.0]
    [Flex] Response of the AMF financial/RTMP serialization
    Version: 3
    (Order method = _error (0) trxId = 2.0)
    (Print object #0 'flex.messaging.messages.ErrorMessage')
    headers = (1 item)
    rootCause = (typed object #2 "java.lang.NoClassDefFoundError")
    message = "javax/transaction/SystemException.
    localizedMessage = "javax/transaction/SystemException.
    cause = (typed object #3 "java.lang.ClassNotFoundException")
    message = "javax.transaction.SystemException."
    localizedMessage = "javax.transaction.SystemException."
    cause = null
    exception = null
    body = null
    correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7."
    faultDetail = null
    faultString = "there is an error unhandled on the server. javax/transaction/SystemException.
    clientId = "F65B3649-620E-C827-50C4-6A1C78BC3712".
    timeToLive = 0.0
    destination = "DocumentPart.
    timestamp = 1.273607998612E12
    extendedData = null
    faultCode = "Server.Processing".
    messageId = "F65B3675-5409-795E-747F-B2F459749415."

    It seems that your Tomcat missing the JTA parameter.

    Tomcat

    To use LiveCycle Data Services with Tomcat when not to use the integrated Tomcat configuration, install support for the Java API of the Transaction (JTA). You will also need to install several other libraries depending on the features you want to use. Follow these steps after deploying the LiveCycle Data Services WAR files. These steps are not required for the integrated Tomcat installation.

    1. Stop Tomcat.
    2. To install support for JTA, a recommended implementation is the Manager of operation open Java (JOTM), which is a transaction manager standalone fully functional opensource.
      1. Download JOTM from http://jotm.objectweb.org.
      2. Copy the JAR files from jotm -root/lib to [tomcat root] / common/lib.
      3. Create a context for your web application and register JOTM using the Transaction element. For example, for the samples WAR create a tomcat-root/conf/Catalina/localhost/lcds-samples.xml file and add the following lines:
        CONTEXT antijarlocking="false" antiresourcelocking="false"   docbase="${catalina.home}/webapps/lcds-samples" path="/lcds-samples"   privileged="true">  
        

        Note: If a context file exists for your web application, add the element under the element.

    3. Increase the maximum memory to at least 512 MB by specifying the maximum segment size for the JVM in the JAVA_OPTS:-Xmx512m
    4. (Optional) To enable custom authentication, locate libraries under install_root/resources/security/tomcat Tomcat security resources.
      1. Place the fichiers.jar - tomcat-flex and flex-tomcat - server.jar in tomcat/lib folder.
      2. Add the following line in the file descriptor context for your web application:

        You can now perform authentication against the current Tomcat realm. Generally, the default configuration for authentication stores information user in conf/tomcat - users.xml. See the Tomcat documentation for more information on realms. See the LiveCycle Data Services documentation for more information on custom authentication.

      3. You may also update her active > in /WEB-INF/flex/services-config.xml in each deployment of a LiveCycle Data Services WAR file. For Tomcat, ensure that the TomcatLoginCommand is active in the section:
        ...
        
    5. (Optional) To use the JMSAdapter with the Message Service, install and configure a JMS (such as ActiveMQ or openJMS) for use with Tomcat.
    6. Restart Tomcat.

    original doc is here

    I hope this will help.

  • resources for customizing Windows not found on the server

    Hola

    Tengo vsphere don't con vcenter, y estoy venga perform the tests y no can not desplegar una nueva Máquina virtual basandome in una plantilla, en el Assistant me da dice:

    resources cutomization Windows not found on the server

    Y todo aprarece appears.

    He descargado el sysprep y he probado en leave in several rutas distintas, probando a ver en cual works,... of momento in none pero me ha funcionado:

    C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\1.1

    C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep

    C:\Archivos programa\VMware\Infrastructure\VirtualCenter Server\sysprep

    C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep

    C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\1.1

    ¡¡Aucune hay manera wearing

    Saludos

    Hola

    Cuando you refieres a:

    The creo Ahí las carpetitas that enriched para los sistemas operating different.

    No you aparecian are con make? Como you comenta jose_maria no don't be crear carpetas sino use deben las existing. Perhaps the problem of the creation of cada vidéoconférence venga y permissions that the asignan... can VCenter no can access has provided carpetas.

    Puedes revisar permissions? o heredar desde sysprep?

    Saludos

    If upon esta u otras answer useful, por favor considered el puntos seleccionando respuesta correcta o util como asignar

    If you find this or any other answer useful please consider giving points by checking the answer useful or appropriate.

  • Start the virtual machine and wait for WF, does not connect to the computer virtual for Vds (Windows 2008 R2)

    Hello

    See a strange problem with only a Windows 2008 R2 model. When you use the built-in function "Start VM and wait" workflow to start a virtual machine (after conversion from a template either manually, or through workflow) NIC of the virtual machine (I tried VMXNET3 and e1000 times) does not connect to the problem. Vds can be replicated in a different VCenter, so spreading the vds. I also created several models of Windows 2008 r2 and all have this problem.

    If the model is converted and started outside VRO, it gets an IP from and is connected to the VDS immediately

    Tried add/remove the NIC of the model

    Tried to move the comments on different hosts

    Tried to create a new template from scratch

    NOTE: Windows 2012 R2 doesn't have this problem in the same circles, the only constant is the Windows 2008 R2 being started by VRO.

    Anyone seen this before?

    I found this article and it fixed my problem VMware KB: registration or the deployment of a virtual computer model fails apparently a fix a problem in ESX 5.1, 5.5 (I used the option to get around and things are good)

Maybe you are looking for

  • Problem installing IOS 9.3 on 4S

    I have problem updating my Iphone 4 s IOS9.3! It is downloaded, but when it comes to installation, it is said that there is no internet connection while I am connected to the internet infact! Any body can help me with the problem?

  • is "driver support" a company is legitimate

    I received a notice of 'support pilot' that I have 20 obsolete drivers and offering a solution if I save & pay a fee. Is - is this legitimate?

  • What is the safe way to do initialization and finalization?

    Hi all I have a thrid driver for an external to use in my CVI device. I have to initialize the driver during the initialization of the main draw and RELEASE the driver to close the application. In my code, the main structure is something like int mai

  • Customer auditor of Java (TM) update has stopped working

    I get this message every week (once a week - same time, same day): (Java (TM) Update Client Checker has stopped working.A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is avail

  • How can I stop Vista to boot into safe mode? Vista does not meet F8 when starting upwards.

    How can I stop Vista to boot into safe mode? Vista will not run on F8 before Windows starts. Update: I did system restore and still Vista boot in safe mode. More, start > run > "msconfig" > tab "Startup" and "Safeboot" was not selected. Any other sug