Is there any max character length for index usage ?

deleting this thread..
Edited by: OraDBA02 on Oct 3, 2012 2:32 PM

This is a fairly well documented issue. (At least, I documented it a few years ago in "CBO Fundamentals").
Oracle only considers the first few bytes of a character string when calculating selectivity, so you can get all sorts of anomalous results.
You could start by reading a couple of notes I wrote some time ago - this might give you a few pointers for your particular case:
http://jonathanlewis.wordpress.com/2010/10/05/frequency-histogram-4/
http://jonathanlewis.wordpress.com/2010/10/13/frequency-histogram-5/
Regards
Jonathan Lewis

Similar Messages

  • Max Character Length for Text Variables

    Hi folks,
    Quick question:
    Does OPA have a max character length for text variables?
    -Isamu

    Obviously common sense prevails here. The system is unlikely to perform very well if you start passing around MBs of data in text variables!

  • Can we put INDEXES on Views if not Is there any way to make it Index bas

    Hi
    I am running a query in which there are several views involved in the join condition Can we put INDEXES on Views in ORACLE 9i if not Is there any way to make it Index based views beacuse the result that i am getting is very slow and is eating like 10gb of the temp tablespace.
    Thanks

    No, you cannot put indexes on a view. Think about what a view is, a stored sql statement. Oracle has no way of knowing what rows are in a view until it actually runs the view. So, even if you could, Oracle would need to run the view to get the rows, build the index, then run your query a second time using the index. Seems counter productive to me. A view can use indexes on the underlying tables if appropriate.
    Generally speaking, I would say that a query that makes use of multiple views is probably really inefficient. Often, you are only looking for one or two columns from a view which may require joining several tables whose columns are of no use in the main query. I would start by re-writing the query using the base tables, and only using those tables that are actually required to answer the question.
    TTFN
    John

  • Is there any quick buttons setup for going back or forward

    Is there any quick buttons setup for going back or forward for navigating on a website. I would like to press a button to go back or forward while surfing different websites.

    Do you mean the back and forward history of a tab or buttons on a web page to go to the next and previous page?
    * [[Keyboard shortcuts]]
    * [[Mouse shortcuts]]
    *NextPlease!: https://addons.mozilla.org/firefox/addon/390
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r45
    # Next Generation Java Plug-in 1.6.0_14 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Is there any Thai character that requires more that Unicode to store?

    Hi all,
    I am doing a system that uses Thai langauage.
    Is there any Thai character that requires more that Unicode to store?
    It would be grateful if you could show me an example or point me to any link for further investigation.
    Thanks in advance for any inputs or ideas.
    Wing

    could you shed some more light as to what do you actually plan to do? Is the question from a java perspective or is it general? With so little info I doubt if you would get the info you are looking for.

  • Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab?

    Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab? When there was support for Google Toolbar, I was able to do this; now, whenever I want to search for something, I have to open a new tab to do it, and cut-and-paste my search into the search field in the new tab. I used to be able to highlight, drag, and drop something into the search field and have it automatically open in a new tab. This is enough for me to switch to Chrome . . .

    Set a preference to have searches from the Search Bar (upper right) automatically open all searches in a new tab
    #type '''about:config''' in the URL/Location/Address bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''browser.search.openintab'''
    #in the lower panel, double click the item (or right-click and choose "Toggle") to change the value to "true"
    #close the about:config tab and test
    #See:
    #*For help with opening/using about:config, also see: http://kb.mozillazine.org/About:config
    #*Also see: http://kb.mozillazine.org/About:config_entries (click on "Browser", scroll down to browser.search.openintab)
    '''Search Bar''': http://support.mozilla.com/en-US/kb/Search+bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    About Google toolbar............
    Google decided that they will no longer produce the Google Toolbar for Firefox 5 and newer version. It is best to move on to other alternatives than to try any "hacks" to the toolbar that may or may not perform in the future. Future versions of Google toolbar will only work with IE7-9. Google Toolbar is not available on any other browser, even Google's own browser.
    *http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    *https://support.mozilla.com/en-US/kb/google-toolbar-not-compatible-firefox?s=google+toolbar&r=0&as=s
    *http://www.google.com/support/toolbar/bin/answer.py?answer=1342452&topic=15356%29
    *Google Toolbar 8 FAQ (IE only): https://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588
    '''''To access your Google Bookmarks visit''''' www.google.com/bookmarks.
    Alternatives:
    *http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    *https://addons.mozilla.org/en-US/firefox/addon/googlebar-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/gbookmarks-google-bookmarks-fo/

  • Is there any BTE or Badi for Vendor Outgoing payment posting

    Hi Experts,
    My client who want the bank commission deduction at the time of vendor outgoing payment on the net values. the bank commission is fix of Rs. 0.07 Paise Per Rs. 1000/-
    The scenario is as below:
    Client who deduct the deduction at the time of Invoice for e.g. can bhade, Sanstha anamat , Prakriya Kharch ,Vahtuk Bhade, Share anamat etc. this deduction are directly update the Accounting GL .
    after that the client pay the vendor dues amount. in this they deduct some deduction through Account (FI) (E.g. Sanstha Audit fee, Shikshan fund, machine anamat) & After deducting the Accounting deduction they calculate bank commission on the net amount (Invoice amount - FI deductions = Net amount)
    Dear Expert, Please help me to work out this problem. in sap at the time of invoice we deduct the deduction as per client required & get the vendor due amount properly.
    but at the time of vendor outgoing payment i had done the FI side deduction manually but i can't get the bank commission on the net dues amount. client required automatic bank commission deduction on the net amount.
    is there any BTE or BADi for Vendor outgoing payment?
    Please help me to workout this issue.
    Warm regards,
    Dhananjay Rahane.

    ok

  • Is there any difference viewer software for reports??

    Hi,
    Is there any difference viewer software for viewing differences between two oracle reports??
    Thanks for ur suggestions!
    Madhu

    Any version control software, like CVS, allows for line-to-line comparison of different versions of the same file. The problem with reports is that to understand differences you need to save the reports in human readable format that can be REX-file.

  • Is there any third party software for itunes that will do this:

    Is there any third party software for itunes that will organize the browser window. Ideally I would like the third browser window (album name) organized by "main albums" "compilations" "bootlegs" "singles"
    It would look like this for the Beatles
    Main
    1963 Please Please Me
    1965 Help
    etc.
    Compilations
    1970 Red Album
    1990 Greatest Hits
    etc.
    Bootlegs
    1985 Ultratrax 1
    etc.
    CD Singles
    1999 Whatever
    This info would be marked on either the info or option tab when labeling.
    If this has not been made, one of you nerds should make it, it would be great and you could charge $3 for it and I buy it. and so would 100,000 other people.

    If you haven't already, try looking through the Apple Downloads specifically for iTunes.
    http://www.apple.com/downloads/macosx/ipod_itunes/
    There might be something there that is at least similar to the app your looking for.
    edit: There is one shareware that is an iTunes plugin called Multi-tunes. With it you can create multiple iTunes libraries, one library called "Main" one called "Bootlegs" etc, and Multi-Tunes will allow you to quickly switch between them from within the iTunes window. Not exactly what your looking for but close.
    http://www.apple.com/downloads/macosx/ipoditunes/multitunesdavidcaldwell.html
    Message was edited by: Zookalicious

  • After upgrading to OS Mavericks, I realized that the Partition for Windows is gone. I have really important data on this drive without a back up. Is there any way I can get this data before reformatting. Is there any third party software for receiving the

    After upgrading to OS Mavericks, I realized that the Partition for Windows is gone. I have really important data on this drive without a back up. Is there any way I can get this data before reformatting. Is there any third party software for receiving the data or any possible way? Money is not a limitation to this fix. Please help!!!

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Are there any WWI flying games for the mac?

    Are there any WWI flying games for the modern mac? (Computer)
    The only one's I can find are on line.
    Which isn't always an option when traveling.

    You might want to search in the App Store.
    Phil

  • Is there any VIEW or FM for pulling data from VBAK, VBAP?also for VBEP,VBBE

    Hi Experts,
    1) Instaed of using JOINS and FOR ALL ENTRIES, am looking to use any view or FM for pullinmg the data from, VBAK & VBAP,
    So, pls let me knwo that, Is there any VIEW or FM for pulling the data from the above  of tables
    2) Instaed of using JOINS and FOR ALL ENTRIES, am looking to use any view or FM for pullinmg the data from, VBEP & VBBE,
    So, pls let me knwo that, Is there any VIEW or FM for pulling the data from the above  of tables
    3) Am guessing FOR ALL ENTRIES is better than JOINS in PERFORMENCE perspective, Is am I correct?
    thanq
    Edited by: Srinivas on May 9, 2008 5:36 PM

    Hi Srinivas,
    You can use the view WB2_V_VBAK_VBAP2 for fetching data from VBAK and VBAP instead of using a JOIN. Note that, in the view, item data fields will have a I following the field name (POSNRI, MATNR_I are the item data fields from VBAP). The master data fields of VBAK are the same.
    As far as i know, there are no standard views provided by SAP for VBEP and VBBE. Not sure if FM exists either.
    While using FOR ALL ENTRIES clause make sure that you specify the entire primary key (EX. if selecting from VBAP specify VBELN and POSNR) as fields for selection or in the selection criteria. Its much better if you have the primary key in both. This is really important because without specifying the entire key and using FOR ALL ENTRIES will drastically bring down the performance. And also, If you are fetching not more than 100 or 200 entries using the clause it is fine, beyond that its same as using a select statement within LOOP...ENDLOOP.
    So, you have to decide whether to use FOR ALL ENTRIES or a JOIN while selecting data depending on the requirement. If you don't have the entire key either in fields for selection or selection criteria, then its better to use a JOIN or VIEW.
    The following is an example for using FOR ALL ENTRIES clause effectively.
             Select VBELN
                        POSNR
                        MATNR
                From VBAP
                  into Table T_VBAP
              For All Entries in T_DATA
              Where VBELN eq T_DATA-VBELN
                  And POSNR eq T_DATA-POSNR.
    I hope this helps, Please let me know if you need further assistance.

  • Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    If there is I can not find it - Google provides a list of possible methods form Adobe and others
    LN

  • Is there any exit or badi for "F-59"?

    Hi,experts,
      is there any exit or badi for "F-59" after "SAVE"?
      Thanks in advance.

    Hi ,
    You can search an exit for your program by using:
    CALL CUSTOMER statement ,it will give you all the function
    exits in your program and then in their included you can set a breakpoint
    and check which one gets triggered while the save option or
    You can also search a BADI for any particular transaction ,
    for that first go to T-Code-SE24 and give
    the Object Type as CL_ExitHANDLER.
    Then double click on to Get_Instance Method and set
    a brakpoint on the line:
    CALL METHOD cl_exithandler=>get_class_name_by_interface.
    Next step is to execute your T-Code f-59.
    It will go into debugging mode.
    Start debugging by writing EXIT_NAME in the checking area while debugging.
    This EXIT_NAME will give the BADI'S used with each screen processed.
    Hope it helps
    Regards
    Mansi
    Edited by: MANSI  ASNANI on Mar 25, 2009 7:06 AM

  • Is there any built in software for reading EPUB. In iTunes or iMac ?

    Hi All,
    Is there any built in software for reading EPUB. In iTunes or iMac ?
    Is there a kind of plug in for iTunes that let you read EPUB files ?
    If nothing is provided, what woul be the best alternative ?
    What's the best software for reading EPUB on an iMac ?
    Many thanks.
    Bests,

    There's nothing built in. I don't know what the best is, but you could try this:
    calibre - E-book management

Maybe you are looking for

  • How do I back up my iTunes library to a disk?

    I jus t received a Mac book for Christmas and I want to get my itunes library brought over from my Windows PC.  There used to be an option to back up the library to a disk, but it is no longer an option!  How do I get my entire library onto the Mac,

  • Please help-Can I add music to iTunes from my iPod?

    Can I add to my iTunes library from my iPod? How? If I sync my iPod what happens to the music that is on my iPod but not in my iTunes library? If the music dissappears then how can I ever put more music on the iPod without losing songs on it that are

  • Installing OS 10.5.4 On a 17" iMac intel

    Hi, I have an 17" iMac intel that had 10.4.11 installed on it. I am trying to install 10.5.4. I got to the Language screen , selected English. Hit continue. A window popped up stating, "This software cannot be installed on this computer." With OK and

  • Date time string from UME-SPML interface

    Hi, I am using the UME-SPML interface to manage users in SAP UME and using AS ABAP user management as the user store for UME. I have noticed a problem in the date time string returned in the SPML search response when I search for a user. When you sea

  • Multiple MIDI controllers

    Hey errbody, so I just got a second MIDI controller, but I can't figure out how to have the two controllers controlling two different channels. This is possible, right? Thanks a bunch