Issues with reverse key indexes and range scan

I have a question. Why is it that reverse key indexes do not work in a range scan?
Thanks

Chris, well said in simple terms.
Extract from metalink:
Oracle8 provides the ability to create reverse key indexes. Reverse key indexes
reverse the bytes of each indexed column with the exception of ROWID and still
maintains the column order. Reverse key indexes are useful for Oracle Parallel
Server environments.
In an OPS environment, modifications to indexes are focused on a small
set of leaf blocks. Reversing the keys of the index allows insertions to be
distributed across all the leaf keys in the index. Reverse key indexes prevent
queries from performing an index range scan since lexically adjacent keys
are not stored next to each other. Reverse key indexes can also be used in
situations where users insert ascending values and delete lower values from the
table, thus helping to prevent skewed indexes.
===
Good discussion at
http://asktom.oracle.com/pls/ask/f?p=4950:8:2737861489787945222::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:627823669999
http://asktom.oracle.com/pls/ask/f?p=4950:8:2737861489787945222::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6163160472530
Jaffar
Message was edited by:
The Human Fly

Similar Messages

  • Reverse key index

    hi,
    I am reading Richard Foote's notes, and he talks how reverse key indexes can stop the contention in RAC environment on an index where the values are ascending and always being entered into the right most block. But, they still wont stop the contention on the tables data block, will they? so doesnt this make disappearing the contention on the index data block futile as we're still going to have it on the tables data block?
    also, when we enter an entry into the table, is a shared exclusive table lock taken on the index too?
    thanks

    OracleGuy777 wrote:
    hi,
    I am reading Richard Foote's notes, and he talks how reverse key indexes can stop the contention in RAC environment on an index where the values are ascending and always being entered into the right most block. But, they still wont stop the contention on the tables data block, will they? so doesnt this make disappearing the contention on the index data block futile as we're still going to have it on the tables data block?
    also, when we enter an entry into the table, is a shared exclusive table lock taken on the index too?
    See Re: reverse key index and contention in RAC
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • My wife has issues with her AOL email and was told to contact Apple about a virus scan. Has anyone else had a similar issue?

    My wife has issues with her AOL email and a tech rep told her to contact Apple for a virus scan. Has anyone else had a problem like this?

    You forgot to describe the 'issues' but there are no viruses that affect Apple OS X.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer some guidance on the main security threats and how to avoid them
    Bear in mind that from April to December 2011 there were only 58 attempted security threats to the Mac - a mere fraction compared to Windows malware:
    http://www.f-secure.com/weblog/archives/00002300.html
    (I have ClamXav set to scan incoming emails, but nothing else.)

  • Usage of reverse key index

    Hi,
    Any body can explain the usage of reverse key index.
    Thanks and regards,

    It could be an option if you have lots of inserts simultaniously (and I mean lots not 2 a second - rather 1000'ds).
    If the index field comes like this 1000, 1001, 1002, 1003, 1004 etc etc then the very same index leaf blocks will be hit when using a "normal" index - if it is reverse, you will spread the IO load on many blocks - and might give a better performance. If reversed it will be 0001, 1001, 2001, 3001, 4001 instead (inserwise).
    BUT .... be aware when using ... between, GT og LT on those reversed indexed fields - index skip scans are not possible - so you may sacrifice performance in the selects.
    We have used it for audit records, where we had many many records being inserted from 20 simult. processes (java stuff), just reading off a jms queue and inserting. We had lots of waits - then we reversed index. And we do not have any appl. selecting the audit records.
    Mette

  • Performance issues with the Vouchers index build in SES

    Hi All,
    We are currently performing an upgrade for: PS FSCM 9.1 to PS FSCM 9.2.
    As a part of the upgrade, Client wants Oracle SES to be deployed for some modules including, Purchasing, Payables (Vouchers)
    We are facing severe performance issues with the Vouchers index build. (Volume of data = approx. 8.5 million rows of data)
    The index creation process runs for over 5 days.
    Can you please share any information or issues that you may have faced on your project and how they were addressed?

    Check the following logs for errors:
    1.  The message log from the process scheduler
    2.  search_server1-diagnostic.log  in /search_server1/logs directory
    If the build is getting stuck while crawling then we typically have to increase the Java Heap size for the Weblogic instance for SES>

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

  • SQL 2012 database behaves differently with a unique index and ignore_dup_key = on when inserting data. It works on SQL 2008 db

    If you have a table with a unique index and ignore_dup_key = on and you INSERT rows into that table with an ORDER BY clause (because you want to control which of the duplicate
    key rows gets inserted),  the wrong row gets inserted in SQL2012.  It works correctly in SQL 2008.
    We have recently migrated  a database from SQL 2008 to SQL 2012.  We do have few other dbs which are in compatability mode 100.  The above operation works fine
    in SQL 2008 dbs but not SQL 2012.
    I've even tried applying the latest patch for SQL 2012 SP2 with CU2. Still the problem exists.  I'm going to call MS support, but want to know if anyone has come across this problem ?

    The MS documentation doesn't guarantee that the first row of the duplicates will always be inserted and the next duplicate row(s) get(s) ignored. Where did you find it in the MS documentation? I think you were just lucky that it was always inserting the
    first row in SQL 2008 (and ignoring the rest of the duplicates) - I don't think this is guaranteed
    Satish Kartan http://www.sqlfood.com/

  • Are there any known issues with Adobe Edge Animate and Yosemite? Experiencing performance issues since upgrading OS

    Are there any known issues with Adobe Edge Animate and Yosemite? Experiencing performance issues since upgrading OS. Animation I was working on that had been performing in browser fine suddenly stopped working, and was not related to any action I had done at that point. Also was working in it today and program stopped responding to key board short cut commands.

    I am having a whole slew of odd interface problems with a fresh 2014.1.1 on a fresh macbook pro with latest Yosemite. Program locks up, cursor selections don't show, things disappear. I have a mac mini also and the program runs fine on it. Is there possibly something related to the solid state hard drive in new macs?

  • Lenovo G560 - Issue with won't boot and black screen after HDD upgrade

    Lenovo G560 - Issue with won't boot and black screen after HDD upgrade.
     What happen: My laptop was working fine, no blue screen issue, no funny business at all. I bought a new SSD Intel 120 GB and thought it would be a good idea to replace the HDD. I shutdown and disconnected the power adapter, waited a couple of minutes and removed the battery. I opened up the back case and replaced the HDD. And put all the screws back and put the battery back in.
    Problem: The very first time I turned the power on, nothing happens besides a black screen. I pressed the dvd drive it works and opens up and closes. I waited for about 30 mins and still has blac screen. When I mean black screen, no bios menu, no logo, just a black screen with the fan sound on.
    I have tried these:
    1. Unplugged everything - battery, adapter, and pressed the power on button for about 60 seconds, nothing, the laptop turns on with the LED display on for both on and battery LED's. But nothing but black screen, no sound of windows loading just the fan and black screen.
    2. I tried putting back my old 2.5" and nothing but black screen.
    Thoughts and suggestions?
    Solved!
    Go to Solution.

    Hi Autoexit173,
    Welcome to Lenovo Community!
     As per the query we understood that you are facing issue with system not booting in your Lenovo G560 laptop.
    As you have mentioned that the system not booting, please try to remove the RAM and  turn on the system and check if you can hear any beep sound. Also try to clean the RAM slots and check for the issue.
    Click here for the steps to remove the RAM and refer page number 40.
    Hope this helps. Do post back if issue persists!
    Best regards,       
    Ashwin.S
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Is there an issue with Safari in Iphones and Ipads where it does not recognize option disabled="disabled" tag properly?

    Greetings everybody,
    I have run into a peculiar problem with the Safari browser on mobile platforms (IPad, IPod, IPhone) which I hope I can find a solution for in this community.
    I just launched a new website where I sell products with certain variations, for example please view this link: http://www.finerribbon.com/aegean-single-face-satin-ribbon.html
    On this particular product, the product variants are supposed to work in such a way where:
    If you select the value "1/8" from the "Choose Ribbon Width" field
    THEN
    The only options active and available to choose from in the "Choose Roll Size" field should be: 500 Yds, 20 Yds & Sample Swatch
    Now, if we browse to the above link in Safari using a desktop or a laptop, there are no problems at all, but if we browse to the above link using an IPhone or an Ipad, then we have a problem where all the options are available regardless of the values chosen, basically the above functonality does not work.
    I was told that there an issue with Safari in Iphones and Ipads where it does not recognize option disabled="disabled" tag properly, is this true? Can anyone advise me if there is a solution to this problem? I would sincerely apperciate it.
    Thank you very much for your time and help!

    Hi...
    I have run into a peculiar problem with the Safari browser on mobile platforms (IPad, IPod, IPhone) which I hope I can find a solution for in this community.
    Now, if we browse to the above link in Safari using a desktop or a laptop, there are no problems at all, but if we browse to the above link using an IPhone or an Ipad, then we have a problem
    At the top of this window you'll see the following:
    Apple Support Communities > Mac OS & System Software > Safari > Discussions
    This the Safari forum for the Mac OS X.
    Better that you post your topic here  > Developer Forums: Apple Support Communities
    I do see on my iPad what you are rreferring to. But you shoudl get the feedback you need in the developer forum.

  • TS1398 I have the ipad retina display version - I have a BIG issue with this when out and about that on about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!

    I have the ipad retina display version - I have a BIG issue with this when out and about, that only about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!
    The HTC hotspot works fine with everything else I connect to it.
    Also - ipad will not connect to my HTC via bluetooth. Again, I can connect to everything else with my HTC other than my ipad.
    I have to say this is my first venture into Apple products and I have always wanted to get away from my windows based laptop to get a MacBook, the problems I have had (flash player etc) & continue to have (as above) are putting me right off swapping over. I HATE technology that doesn't work and my ipad has been hard work!

    I stated my ipad as being an ipad2, but I now think it is a 3??? It was new Jan this year and is the 64gb retina display version.
    I really would like to get to the bottom on this problem wit mobile hotspots as it is sitting on my desk next to me now and I cannot get it to connect to my HTC mobile hotspot!!!! It might be taking a flying lesson soon at this rate!!! Grrrrrrr...........

  • Sync issues with iPhone 6 Plus and iTunes

    I'm having issues with syncing my iPhone and iTunes.
    I am running: Mavericks 10.9.3 | iTunes 11.4 | iOS 8.0.2
    Every time I try to sync my iPhone 6 Plus with iTunes, the sync process gets stuck on step 5 of 5 (waiting for changes to be applied).  The longest this has occurred for is 2hrs.  After this time I have stopped the sync and ejected my iPhone.
    I had another issue with my phone when playing music.  When going to play music, I was given the error message saying that the song could not be found.  I connected my iPhone to iTunes and went to the tab in summery page, 'on this iPhone'.  I found the song and could see that next to the song was a small what looked like dotted grey circle.  After Googling this, I found a video saying that if i was to remove all my music and then add it again, this should fix the problem with this song.  I did this and this was when the issue occurred again.
    I unticked the option to remove all music but the sync did not finish. So I cancelled the sync, ejected my iPhone and tried again.  This time, the summery page of my iPhone said there was no music on my iPhone and the 'on this iPhone'  tab, this all so said there was no music however, my music was still on my iPhone including the song that would not play.  All played ok.
    I have read lots in the Apple forums about lost of difference reason this may be happening.  Things like bugs in iOS 8, app updates being transferred during the sync process, the latest iTunes version has bugs and even a dodgy USB cable could cause it.  My iPod running iOS 5 syncs all ok but I get this problem as well on my iPad Air.
    I all so had this issue with my old iPhone 4S.  The problem occurred when running iOS 7 and 8 on the 4S.  When I had it on the 4S, I did a restore of the 4S 4 times and thought I had found the issue down too a dodgy app.  However, now that it has happened on my new iPhone and still not using that app, could this be an issue with my Mac/iTunes?
    I am in contact with Apple Care, but this is such a long process. 
    So if anybody could please offer any advice on this or steps to try to maybe solve the issue, it would be really helpful.   Or if anybody is experiencing the same problem, it would be good to know its not just my devices and Mac producing this sync problem.
    I will update my post with any information provided by Apple Care as and when I get it.
    Thanks for reading and thanks for your time.
    Mark. 

    Hi,
    Just wanted to updated my original post and give some more information on this issue that I'm having with my iOS devices running iOS 8.0.2 and iTunes 11.4.
    Firstly I just want to updated my details about what version of Mavericks I'm running.  I'm running 10.9.5 - I put the wrong version down in my original post.
    So over the last week, I have had a few phone calls with Apple Care an am dealing with a senior technical advisor about this issue.
    I have been given some instructions that I am currently working through to see if it solves the sync issue with iTunes and my iOS devices. 
    The Apple Care advisor has pointed out that a iTunes version issue with music that I have ripped to iTunes and the current iTunes version could be what is causing the problem.  For example, every song that I have purchased from iTunes since having an account, I was told are all exactly the same the same when it comes down the to data/information about that track/album that iTunes stores with the music but when it comes to music that I have added to iTunes myself from a CD,  this was added and encoded with the version of iTunes that was running at the time of adding the music.  So going through all the music that I added to iTunes over the last 10 years, you can imaging that there was lots of mixed version of iTunes linked to lots of different music.
    At the moment, I'm having to go through all my music and find any that I have added and create a new ACC version of that music and delete the old version.  However, due to the amount of music that I have, this is going to take a long time.  When I was on the phone to the Apple Care advisor, we did several albums as a test and they all synced over to my iPhone.  This may just have been luck though at that time.
    Now, I'm not saying that this will solve the problem that I have with the sync issue but I am going to try it and see how I get on.  The only down side to this fix as far as I can see at the moment, is  that when it's all done, I think I will have to fully restore all my iOS devices to get music on to them.
    I will of course updated this topic when I have got through all my music and tried to sync my iOS devices.
    Thank you all for your comments.

  • I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case som

    I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case someone left me a message. How do I resolve this issue?

    Wifi:  my Cell phone will remember 10 wifi connections.  So delete any you don't use often and your home wifi and try to enter home wifi again.
    if it still won't connect to home wifi, call your internet provider for help.  You may need a newer router or different settings Or upgraded service.   Your phone seeks the best connection and will refuse lesser connections.
    last resort.  Backup the phone.  Do a full reset, then restore as new with the backup.
    if still not fixed, go back to apple and insist on repair or replacement.
    HOWEVER.   voicemail is not a wifi issue, it's a carrier function, which is why the SIM card is a suspect.

  • HT1349 Has anyone had issues with the iphone 4s and facebook.

    Has anyone had issues with the iphone 4s and facebook. I have downloaded the app and sometimes it will let me log in and then it will log me out and not let me back in. I have deleted and downloaded it several times and nothing is working. HELP!

    @razmee: rather unhelpful.
    @tata - we're having the same trouble, and the only solution we've found doesn't fix it.
    1) uninstall
    2) login on PC/MAC and change password
    3) reboot iphone
    4) install facebook app, reboot again
    5) login from iphone. 
    No joy.
    Safari works, but not for the apps.
    Of course, it's Facebook that has to fix this.

  • Issues with Adobe PSE 12 and Premier Elements 12 plus DiskWarrior 4.4

    Since upgrading to the final version of OS X 10.10 Yoesemite I have issues with Adobe PSE 12 and Premier Elements 12 plus DiskWarrior 4.4. I don't recall their being any issues while I went through the Beta testing process.  The Adobe products (PSE and PE) give me a configuration message "error 16" and it tells me to uninstall and reinstall. I have done this a few times/  It seems to go through the whole install process until the startup where it crashes.  I downloaded PSE 11 and at least it starts up but I haven't used it to do anything.  Also DiskWarrior 4.4 does not load up from the hard drive anymore (error message) and when I boot it up from disk is doesn't give me the option of correcting permission when repairing files and folders.
    At lease all of otheother software including Photoshop Lightroom 5.6 seem to be working.
    Very sad

    Barbara,
    Yes, I accessed the "updates" menu from the Help pull-down menu.  I also accessed the updates using the Mac Terminal application with results shown in my original post.  Regardless of whether I used the Help menu or the Mac Terminal app, the AAM tool still responded with:
    Update Failed
       Updates could not be applied
       The error log file may help you in identifying the problem.  The, try updating again.  If the problems persist, contact customer support for further assistance.
      The error log file read as follows:
       Photoshop Camera Raw 8.5
       There was an error installing this update. Please quit and try again later. Error Code: U44M1I210
       Looking at the the output of the Mac Terminal app, it shows:
       ... hdiutil: attach failed - no mountable file systems
       Is this relevant?
    Regarding your follow-up message pointing to:
    Update 12.1 installation errors | Photoshop Elements, Premiere Elements,
    the files referenced in this link are present, are correctly named, and they are in the correct locations, so it would appear that these issues are not related to the ACR 8.5 update problem
    Thanks

Maybe you are looking for

  • Exchange Rate to be picked up from MIGO Document Date

    Dear Friends, During MIGO for a foreign purchase order the exchange rate is picked up from table OB08 based on the MIGO posting date.Is it possible for it to be picked up based on MIGO document date using exit.We are not using  Material Ledger. TIA S

  • How to use Apple ID in itunes Store

    How to use Apple ID in itunes Store

  • Help on:SAP Workflow mass or batch approval

    Dear Experts, In my current project, I got a requirement that client want to approve training course registration requests in batch. e.g. Person A created a request and one workitem created, person B created another request and another worktime creat

  • Help! Lost Adobe Reader with update attempt!

    We had Adobe Reader 8, and we have never had an issue updating to newer versions. When 9 came out our computer went to do the update (it's set to automatically detect updates and start them early in the morning if we don't start them manual by then)

  • Mouse slow performance CR XI

    Post Author: staryeye CA Forum: General does anybody else have the same issue with CR XI where the mouse is very slow performing between screens... clicking slow, selecting slow and most importantly selecting wrong sections?? thanks,