Possible result cache problem 11GR1;;Plz Help me :)

Hello,
I just finished installing Oracle 11g Enterprise Edition on my laptop,under windows XP 32 Bit,
Just run to test the result cache ,It seems the result cache does not work for me ;
Please see the demonstration below and help me to undertsand:
(I am the only person connected to the database and I only have one session conneted )
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
Connected as SYS
SQL> set timi on
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE     11.1.0.6.0     Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
Executed in 0.031 seconds
SQL> ----result cache demonstration
SQL> ----clear the server result cache
SQL> exec dbms_result_cache.Flush
PL/SQL procedure successfully completed
Executed in 0 seconds
SQL> ---run a query to load the server result cache
SQL>
SQL> SELECT /*+ result_cache */
  2   H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID, COUNT(*)
  3    FROM HR.DEPARTMENTS H
  4   GROUP BY H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID
  5  ;
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
           10 Administration                        200          1
           30 Purchasing                            114          1
           50 Shipping                              121          1
           60 IT                                    103          1
           70 Public Relations                      204          1
          200 Operations                                         1
          210 IT Support                                         1
          230 IT Helpdesk                                        1
           90 Executive                             100          1
          100 Finance                               108          1
          140 Control And Credit                                 1
          150 Shareholder Services                               1
          160 Benefits                                           1
          220 NOC                                                1
          250 Retail Sales                                       1
          130 Corporate Tax                                      1
          110 Accounting                            205          1
          270 Payroll                                            1
           40 Human Resources                       203          1
          170 Manufacturing                                      1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          260 Recruiting                                         1
           20 Marketing                             201          1
          120 Treasury                                           1
           80 Sales                                 145          1
          180 Construction                                       1
          190 Contracting                                        1
          240 Government Sales                                   1
27 rows selected
Executed in 0.282 seconds
SQL> --*-response time is 0.282 seconds*
SQL> ---Show the result information from v$result_cache_objects : is the result cache is valid ?
SQL> --- The space used also?
SQL>
SQL> SELECT ID,
  2         NAME,
  3         TYPE,
  4         STATUS,
  5         BLOCK_COUNT,
  6         ROW_COUNT * ROW_SIZE_AVG AS SPACE_FOR_ROWS,
  7         SPACE_OVERHEAD
  8    FROM V$RESULT_CACHE_OBJECTS V
  9  ;
        ID NAME                                                                             TYPE       STATUS    BLOCK_COUNT SPACE_FOR_ROWS SPACE_OVERHEAD
         0 HR.DEPARTMENTS                                                                   Dependency Published           1              0              0
         1 SELECT /*+ result_cache */                                                       Result     Published           1            675            320
            H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID, COUNT(*)                                                                     
             FROM HR.DEPARTMENTS H                                                                                                         
            GROUP BY H.DEPAR                                                                                                               
Executed in 0.141 seconds
SQL> ---we run again our query
SQL>
SQL> SELECT /*+ result_cache */
  2   H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID, COUNT(*)
  3    FROM HR.DEPARTMENTS H
  4   GROUP BY H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID
  5  ;
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
           10 Administration                        200          1
           30 Purchasing                            114          1
           50 Shipping                              121          1
           60 IT                                    103          1
           70 Public Relations                      204          1
          200 Operations                                         1
          210 IT Support                                         1
          230 IT Helpdesk                                        1
           90 Executive                             100          1
          100 Finance                               108          1
          140 Control And Credit                                 1
          150 Shareholder Services                               1
          160 Benefits                                           1
          220 NOC                                                1
          250 Retail Sales                                       1
          130 Corporate Tax                                      1
          110 Accounting                            205          1
          270 Payroll                                            1
           40 Human Resources                       203          1
          170 Manufacturing                                      1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          260 Recruiting                                         1
           20 Marketing                             201          1
          120 Treasury                                           1
           80 Sales                                 145          1
          180 Construction                                       1
          190 Contracting                                        1
          240 Government Sales                                   1
27 rows selected
*Executed in 0.297 seconds*
SQL> Why the first is faster than the second?
thanks a lot,
Edited by: Ora-Wiss on Apr 3, 2010 2:17 PM

I have been using 11g from quite some time now in my sessions and already have started sessions over 11gr2 as well and I can't recall that I ever faced this thing. And I just did show the same to you on my personal system as well. But nevermind, here is one more run with the database being restarted and the same code being run.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE    11.1.0.6.0      Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
Elapsed: 00:00:00.00
SQL> startup force
ORACLE instance started.
Total System Global Area  171573248 bytes
Fixed Size                  1331936 bytes
Variable Size             125832480 bytes
Database Buffers           37748736 bytes
Redo Buffers                6660096 bytes
Database mounted.
Database opened.
SQL> exec dbms_result_cache.Flush;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.06
SQL> SELECT /*+ result_cache */   H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID, COUNT(*)  FROM HR.DEPARTMENTS H GROUP BY H.DEP
ARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID;
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
           10 Administration                        200          1
           30 Purchasing                            114          1
           50 Shipping                              121          1
           60 IT                                    103          1
           70 Public Relations                      204          1
          200 Operations                                         1
          210 IT Support                                         1
          230 IT Helpdesk                                        1
           90 Executive                             100          1
          100 Finance                               108          1
          140 Control And Credit                                 1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          150 Shareholder Services                               1
          160 Benefits                                           1
          220 NOC                                                1
          250 Retail Sales                                       1
          130 Corporate Tax                                      1
          110 Accounting                            205          1
          270 Payroll                                            1
           40 Human Resources                       203          1
          170 Manufacturing                                      1
          260 Recruiting                                         1
           20 Marketing                             201          1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          120 Treasury                                           1
           80 Sales                                 145          1
          180 Construction                                       1
          190 Contracting                                        1
          240 Government Sales                                   1
27 rows selected.
Elapsed: 00:00:00.15
SQL> SELECT /*+ result_cache */   H.DEPARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID, COUNT(*)  FROM HR.DEPARTMENTS H GROUP BY H.DEP
ARTMENT_ID, H.DEPARTMENT_NAME, H.MANAGER_ID;
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
           10 Administration                        200          1
           30 Purchasing                            114          1
           50 Shipping                              121          1
           60 IT                                    103          1
           70 Public Relations                      204          1
          200 Operations                                         1
          210 IT Support                                         1
          230 IT Helpdesk                                        1
           90 Executive                             100          1
          100 Finance                               108          1
          140 Control And Credit                                 1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          150 Shareholder Services                               1
          160 Benefits                                           1
          220 NOC                                                1
          250 Retail Sales                                       1
          130 Corporate Tax                                      1
          110 Accounting                            205          1
          270 Payroll                                            1
           40 Human Resources                       203          1
          170 Manufacturing                                      1
          260 Recruiting                                         1
           20 Marketing                             201          1
DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID   COUNT(*)
          120 Treasury                                           1
           80 Sales                                 145          1
          180 Construction                                       1
          190 Contracting                                        1
          240 Government Sales                                   1
27 rows selected.
Elapsed: 00:00:00.01
SQL>As you can see, I can't reproduce.
HTH
Aman....

Similar Messages

  • When the iPhone 4 with IOS 5 is connected by cable to iTunes and check for update results in Error 1630. plz help me

    When the iPhone 4 with IOS 5 is  connected by cable to iTunes and check for update results in Error 1630, plz help me to update plz

    My Iphone 4 crashed yesterday after a restart and upload of OS 5.0, it will only partially sync.  It's not transferring any of my music or ringtones.  They still appear when I click open the sync screens on ITunes, but I don't seem to have an Ipod function and only one of my personalized ringtones transfers on the actual phone.

  • Really Tricky problem ! Plz Help !!!

    In my application, i'm checking for the existence of particular id in the database. Where i'm checking it further for the existence of particular Project Against it(Each Record had 6 values of Project Id's linked to it.) The query i'm throwing is:-
    String strSql="Select * from empdaily where ";
         strSql=strSql + " eid='" + s1 + "' and " + "date='" + d1 + "'and (pid1='"+s2+"' or pid2='"+s2+"' or pid3='"+s2+"' or pid4='"+s2+"' or pid5='"+s2+"' or pid6='"+s2+"' ) " ;
    But the problem is..how to catch the particular pid..like whether it's pid1/pid/pid3....or so....since i've to display only that pid whose value is equal to s2.
    Plz help.

    Are you trying to determine the pid value that s2 equals or are you trying to determine the particular pid column that equals s2?
    If you want the pid value, then brumalis had it right. Namely just display s2, otherwise if you want the pid column e.g whether it was pid1, pid2 etc, then the best method that is generic is to use the union query approach, and place a static field in each query select statement e.g
    strsql = "SELECT *, 'pid1' FROM empdaily WHERE ";
    strsql = strsql + "eid=" + s1 + " And date=" + d1;
    strsql = strsql + " And pid1=" + s2
    strsql = strsql + "UNION SELECT *, 'pid2' FROM empdaily WHERE ";
    strsql = strsql + "eid=" + s1 + " And date=" + d1;
    strsql = strsql + " And pid2=" + s2
    strsql = .......................... and so on until pid6
    Obviously you'd change 'pid1' etc to something you require, such as a simple column index or something.
    Either way I agree there must be a better data structure than what you are using, like a child table with a pid and pidtype or something similar. And as for not wanting to change.... well odds are it'll come back to bite one day ;)

  • Serious Problems! Plz Help!

    About 6 months ago, I thought it would be nice to upgrade my comp.
    So, I went and bought:
    K7N2 mobo
    512 2700 kingston valueram
    geforce 420 mx
    athlon xp 2600+
    Problem was, I was expiriencing sporadic reboots and lockups, expecially during graphically demanding games. It tried to live with it, blaming my video-card.
    However, not long ago, I'd had it with crashes and went to buy a sapphire atlantis radeon 9600.
    And, to my big suprise, the crashes continued.  
    I suspected my memory was faulty, I tested it with memtest 86 and voila! I got an error. I returned my RAM with lotsa angry words.
    SO! I got a new RAM-block, same type as the last time.
    Cheering with joy, I made another attempt at memtest and to my GREAT grief(!) I recieved another error! I tested the RAM at another machine - no errors!
    And the machine just kept on crashing!
    What should I do??? Plz help a troubled mind!!

    Sledge
    Quote
    Well I dunno if this will help-But I had the same problem inder the same circumstances and by changing my FBS to 100-I got a completely stable sytem.
    You should not have to put up with slowing your computer down to make it work.
    Contact who ever you bought your ram from or the ram manufactor and have it replaced or get your money back.
    Compatiblty is a common problem not just a Nvidia controler problem and most ram manufactor will work with you on this.
    Some ask that you check that your setup or Mobo is listed before you buy but even these will help you out.
    Lower ram timing rather than FSB will help also if ram timing is listed by manufactor as 7 3 3 3 try running it at 8 4 4 3 or 9 4 4 3 or even less.
    Oops forgot also check to see at what voltage your ram is soppose to run at than check in Bios to see if its right. Also if ram is causeing problems sometimes bumping voltage up a little helps just be carefull don't over do it.
    Also download and run memtest86 If you get errors and have two sticks than pull one and run again if still have errors than change them and run again this will nerrow down which stick is bad if only one is.

  • HELP ME!!! PLZ I HALF SERIOUSE IPOD PROBLEMS! PLZ HELP!

    OK! I GOT MY IPOD VIDEO FROM MY FRIEND AND HE HASNT CHARGED IT IN A WHILE, AND HE DIDNT HAVE A CHARGER! SO I BOUGHT ONE AND I PLUGGED IT IN AND IT DOESNT EVEN DO ANYTHING ON THE COMPUTER! I DOWNLOADED ITUNES TWICE.....AND THE IPOD I GUESS HAS A LITTLE POWER BECAUSE IT SWITCHES FROM A DARK SCREEN WITH THE BATTERY ON IT WITH THE LIGHTNING BOLT(which i dont know what it means) AND GOES TO THE SCREEN WITH THE APPLE LOGO (also a dark screen)THEN IT GOES TO A WHITE SCREEN THAT HAS A SAD FACE IN THE IPOD AND A TRIANGLE AROUND AN EXCLAMATION POINT! I CANT FIND ANY OF THESE PROBLEMS ON THE APPLE WEBSITE. I WENT TO THE SITE AT THE BOTTOM OF THE WHITE SCREEN THAT SAYS "www.apple.com/support/ipod" IVE GONE LIKE 4 TIMES AND IT SAID TO CHARGE THE IPOD FOR ABOUT 30 MINUTES OR SO. I HAVE BEEN CHARGING IT FOR LIKE 2 AND A HALF HOURS AND NOTHING! I REALLY DONT KNOW WHAT TO DO BUT I AM TO THE POINT THAT I WANNA THROW IT AT THE WALL!!!!!!!!!!!! PLZ HELP ME PLZ!

    Please have a read the following, very likely your iPod can be solved by connecting it with a Mac computer
    Hello,
    If a sad iPod icon or an exclamation point and folder icon appears on your iPod’s screen, or with sounds of clicking or HD whirring, it is usually the sign of a hard drive problem and you have the power to do something about it now. Your silver bullet of resolving your iPod issue – is to restore your iPod to factory settings.
    http://docs.info.apple.com/article.html?artnum=60983
    If you're having trouble, try these steps at different levels one at a time until the issue is resolved. These steps will often whip your iPod back into shape.
    Make sure you do all the following “TRYs”
    A. Try to wait 30 minutes while iPod is charging.
    B. Try another FireWire or USB through Dock Connector cable.
    C. Try another FireWire or USB port on your computer .
    D. Try to disconnect all devices from your computer's FireWire and USB ports.
    E. Try to download and install the latest version of iPod software and iTunes
    http://www.apple.com/itunes/download/
    For old and other versions of iPod updater for window you can get here
    http://www.ipodwizard.net/showthread.php?t=7369
    F. Try these five steps (known as the five Rs) and it would conquer most iPod issues.
    http://www.apple.com/support/ipod/five_rs/
    G. Try to put the iPod into Disk Mode if it fails to appear on the desktop
    http://docs.info.apple.com/article.html?artnum=93651
    If none of these steps address the issue, you may need to go to Intermediate level listed below in logical order. Check from the top of the lists to see if that is what keeping iPod from appearing on your computer in order for doing the Restore.
    Intermediate Level
    A. Try to connect your iPod with another computer with the iPod updater pre-installed.
    B. Still can’t see your iPod, put it in Disk Mode and connect with a computer, instead of doing a Restore on iPod Updater. Go and format the iPod instead.
    For Mac computer
    1. Open the disk utility, hope your iPod appears there (left hand side), highlight it
    2. Go to Tab “Partition”, click either “Delete” or “Partition”, if fails, skip this step and go to 3
    3. Go to Tab “Erase” , choose Volume Format as “MAC OS Extended (Journaled), and click Erase, again if fails, skip it and go to 4
    4. Same as step 3, but open the “Security Options....” and choose “Zero Out Data” before click Erase. It will take 1 to 2 hours to complete.
    5. Eject your iPod and do a Reset
    6. Open the iTunes 7 and click “Restore”
    For Window computer
    Go to folder “My Computer”
    Hope you can see your iPod there and right click on the iPod
    Choose “Format”. Ensure the settings are at “Default” and that “Quick Format” is not checked
    Now select “Format”
    Eject your iPod and do a Reset
    Open the iTunes 7 and click “Restore”
    In case you do not manage to do a “Format” on a window computer, try to use some 3rd party disk utility software, e.g.“HP USB Disk Storage Format Tool”.
    http://discussions.apple.com/thread.jspa?threadID=501330&tstart=0
    C. Windows users having trouble with their iPods should locate a Mac user. In many cases when an iPod won't show up on a PC that it will show up on the Mac. Then it can be restored. When the PC user returns to his computer the iPod will be recognized by the PC, reformatted for the PC, and usable again. By the way, it works in reverse too. A Mac user often can get his iPod back by connecting it to a PC and restoring it.
    Tips
    a. It does not matter whether the format is completed or not, the key is to erase (or partly) the corrupted firmware files on the Hard Drive of the iPod. After that, when the iPod re-connected with a computer, it will be recognized as an fresh external hard drive, it will show up on the iTunes 7.
    b. It is not a difficult issue for a Mac user to find a window base computer, for a PC user, if they can’t find any Mac user, they can go to a nearest Apple Shop for a favor.
    c. You may need to switch around the PC and Mac, try to do several attempts between “Format” and “Restore”
    http://discussions.apple.com/thread.jspa?messageID=2364921&#2364921
    Advance Level
    A. Diagnostic mode solution
    If you have tried trouble shooting your iPod to no avail after all the steps above, chances are your iPod has a hardware problem. The iPod's built-in Diagnostic Mode is a quick and easy way to determine if you have a "bad" iPod.
    You need to restart your iPod before putting it into Diagnostic Mode. Check that your hold switch is off by sliding the switch away from the headphone jack. Toggle it on and off to be safe.
    Press and hold the following combination of buttons simultaneously for approximately 10 seconds to reset the iPod.
    iPod 1G to 3G: "Menu" and "Play/Pause"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Menu" and "Select"
    The Apple logo will appear and you should feel the hard drive spinning up. Press and hold the following sequence of buttons:
    iPod 1G to 3G: "REW", "FFW" and "Select"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Back" and "Select"
    You will hear an audible chirp sound (3G models and higher) and the Apple logo should appear backwards. You are now in Diagnostic Mode. Navigate the list of tests using "REW" and "FFW". The scroll wheel will not function while in diagnostic mode. For further details on Diagnostic mode can be found at http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/
    Try to do the 5in1, HDD R/W and HDD scan tests. Some successful cases have been reported after the running the few tests under the Diagnostic mode. In case it does not work in your case, and the scan tests reports show some errors then it proves your iPod has a hardware problem and it needs a repairing service.
    B. Format your iPod with a start disk
    I have not tried this solution myself, I heard that there were few successful cases that the users managed to get their iPod (you must put your iPod in disk mode before connecting with a computer) mounted by the computer, which was booted by a system startup disk. For Mac, you can use the Disk Utility (on the Tiger OS system disk), for PC user, you can use the window OS system disk. Try to find a way to reformat your iPod, again it does not matter which format (FAT32, NTFS or HFS+) you choose, the key is to erase the corrupted system files on the iPod. Then eject your iPod and do a Reset to switch out from Disk Mode. Reboot your computer at the normal way, connect your iPod back with it, open the iPod updater, and hopefully your iPod will appear there for the Restore.
    If none of these steps address the issue, your iPod may need to be repaired.
    Consider setting up a mail-in repair for your iPod http://depot.info.apple.com/ipod/
    Or visit your local Apple Retail Store http://www.apple.com/retail/
    In case your iPod is no longer covered by the warranty and you want to find a second repairing company, you can try iPodResQ at your own risk
    http://www.ipodresq.com/index.php
    Just in case that you are at the following situation
    Your iPod warranty is expired
    You don’t want to pay any service charges
    You are prepared to buy a new one
    You can’t accept the re-sell value of your broken iPod
    Rather than leave your iPod as paper-weight or throw it away.
    You can try the following, but again, only do it as your last resort and at your own risk.
    Warning !!!! – It may or may not manage to solve your problem, and with a risk that you may further damage your iPod, which end up as an expensive paper weight or you need to pay more higher repairing cost. Therefore, please re-consider again whether you want to try the next level
    Last Resort Level
    1. . Disconnecting the Hard Drive and battery inside the iPod – Warning !! Your iPod warranty will be waived once you open the iPod.
    In Hong Kong there are some electronic shops offering an iPod service for Sad iPod, the first thing they do is to open up the iPod’s case and disconnecting the battery and the Hard Drive from the main board of the iPod. Wait for 5-10 minutes and reconnecting them back. The reason behind which I can think of is to do a fully reset of a processor of the iPod. In case you want do it itself and you believe that you are good on fixing the electronics devices and have experience to deal with small bits of electronic parts, then you can read the following of how to open the iPod case for battery and HDD replacement (with Quicktimes)
    http://eshop.macsales.com/tech_center/index.cfm?page=Video/directory.html
    2.Press the reset button on the Hard Drive inside the iPod – Suggestion from Kill8joy
    http://discussions.apple.com/thread.jspa?messageID=2438774#2438774
    Have I tried these myself? No, I am afraid to do it myself as I am squeamish about tinkering inside electronic devices, I have few experiences that either I broke the parts (which are normally tiny or fragile) or failed to put the parts back to the main case. Therefore, I agree with suggestion to have it fixed by a Pro.
    2. Do a search on Google and some topics on this discussion forum about “Sad iPod”
    Exclamation point and folder and nothing else
    http://discussions.apple.com/thread.jspa?messageID=2831962#2831962
    What should I do with my iPod? Send it or keep it?
    http://discussions.apple.com/thread.jspa?threadID=469080&tstart=0
    Strange error on iPod (probably death)
    http://discussions.apple.com/thread.jspa?threadID=435160&start=0&tstart=0
    Sad Face on iPod for no apparent reason
    http://discussions.apple.com/thread.jspa?threadID=336342&start=0&tstart=0
    Meeting the Sad iPod icon
    http://askpang.typepad.com/relevanthistory/2004/11/meeting_thesad.html#comment-10519524
    Sad faced iPod, but my computer won’t recognize it?
    http://discussions.apple.com/thread.jspa?messageID=2236095#2236095
    iPod Photo: unhappy icon + warranty question
    http://discussions.apple.com/thread.jspa?messageID=2233746#2233746
    4th Gen iPod Users - are we all having the same problem?
    http://discussions.apple.com/message.jspa?messageID=2235623#2235623
    Low Battery, and clicking sounds
    http://discussions.apple.com/thread.jspa?messageID=2237714#2237714
    Sad faced iPod, but my computer won’t recognize it
    http://discussions.apple.com/thread.jspa?messageID=2242018#2242018
    Sad iPod solution
    http://discussions.apple.com/thread.jspa?threadID=412033&tstart=0
    Re: try to restore ipod and it says "can't mount ipod"
    http://discussions.apple.com/thread.jspa?threadID=443659&tstart=30
    iPod making clicking noise and is frozen
    http://discussions.apple.com/thread.jspa?messageID=2420150#2420150
    I am not suggesting that you should follow as well, but just read them as your reference. You are the person to make the call.
    Finally, I read a fair comments from dwb, regarding of slapping the back of the iPod multiple times
    Quote “This has been discussed numerous times as a 'fix'. It does work, at least for a while. In fact I remember using the same basic trick to revive Seagate and Quantam drives back in the mid to late 1980's. Why these tiny hard drives go bad I don't know - could be the actuator gets stuck in place or misaligned. Could be the platter gets stuck or the motor gets stuck. 'Stiction' was a problem for drives back in the 80's. Unfortunately the fix can cause damage to the platter so we temporarily fix one problem by creating another. But I know of two instances where a little slap onto the table revived the iPods and they are still worked a year or more later.”UnQuote

  • Iphone 4 hotmail imap account getting problems! plz help

    iphone 4 hotmail imap account getting problems! plz help

    when i am creating IMAP hotmail account with no limits email option on iphone 4 IOS 6.1.3,, it can not sync recent five months email and old emails. It is only syncing the middle ones

  • Having some problems. Plz help!!!

    Hello there guys. I am here for the first time because I have a problem. I would appreciate if anyone would help.
    I am using the HP slate 7 voicetab and dancing some problems with the touch. Whenever I play a game, the touch stops working correctly after some time. For example when I try to touch any control or button, it does not get selected at all.
    Thx for your help.☺

    Hey @Tushar25 ,
    Welcome to the HP forums.
    I understand you're experiencing issues with touch screen response on your Slate 7 Voice Tab.
    Reinstall the problem app: Go to Settings > Storage > Apps > Select the app > Uninstall. Once uninstalled go to the Google Play Store app > Select My apps from the menu on the left > Select the All tab > Select the app > Install.
    Clear all cache on the tablet: Settings > Storage > Cached Data. You should have the option to erase all the cached data here.
    Hard reset: While the tablet is on, press and hold the power button for 8+ seconds to force shut down. Turn the tablet back on and see if that helps.
    Factory reset: Make sure you backup any important files or information first. Settings > Backup & reset > Factory data reset.
    Let me know if that helps.
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • Possible DNS caching problem

    I just upgraded to Lion. I am a web deveoper and I just changed the DNS settings for a new website. While everyone else in my office is seeing the new wesite at the domain, I am stuck seeing the old. I have tried the DNS cache flushing techniques below (in addition to restarting, clearing cache, etc), but none have helped:
    sudo killall -HUP mDNSResponder
    dscachutil -flushcache
    In the terminal 'host domain.com' still points to the old server too.
    Seems like OSX is holding on to the old DNS settings. Any ideas?

    Select  ▹ System Preferences ▹ Network ▹ Advanced ▹ Proxies. If any boxes are checked, uncheck them, apply your changes, and try again.  You must apply the changes before they take effect.

  • BI Publisher Translation Problem..PLZ HELP !!

    Hello Friends,
    I am trying to do some translation work on BI Publisher. I have created a report in BI Publisher. Created a template using BI Publisher Desktop in RTF Format.Created the XLIFF File. And changed the respective <TARGET> s that were required. (The Translation is in Arabic [ AR-SA])
    Now The Problem is that When I do PREVIEW TRANSLATION . The Translation is working fine. But When I try to view the same translated report in BI Publisher. Only those parts related to the database are getting changed..(Like digits)..
    I have kept the naming convention as follows : SampleSales_ar_SA.rtf / SampleSales_ar_SA.xlf and have uploaded both the files from the LAYOUT.. But when I set the REPORT LOCAL LANGUAGE to "Arabic(SAUDI ARABIA)" the above stated problem creeps out..
    I have been stuck at this for the last 3 days.. Am I missing any step.. Please Help me out .. !!!!!

    Yes I have installed the fonts under Windows/Fonts. Otherwise the Translation Preview wont be working.
    I also tried pasting the fonts in XMLP/Fonts .. But when I tried to select it from BI Publisher under REPORT-CONFIGURE-PDF FONT It dosent get reflected in the drop down list..
    Can You please tell me the steps how to make it available to BIP Engine At Runtime....

  • JSP problem ? plz help......

    Just a simple question..But urgent , thanks....i have written the code in the following.....
    <%
    while (rs.next())
    %>
    <tr>
    <td><%=rs.getString("name")%</td>
    <%
    rs.next();
    %>
    <td><%=rs.getString("name")%></td>
    </tr>
    <%
    if (i++ ==4)
    %>
    my goal is to show the name with the related data..however, i don't know why the following error will be shown when i tried to execute it.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: After end of result set

    You are calling rs.next() twice in each loop.
    once in the loop condition.
    and then again halfway through.
    If you have an odd number of elements returned, then that last call to next() will take you off the end of the result set, and calling getString() raises the exception.
    possible solutions:
    - put an if statement for the second rs.next()
    ie
    if (rs.next()){
    %>
    <td><a href="select_date.jsp"><%=rs.getString("name")%></a></td>
    </tr>
    <%
    else {%>
      <td> </td></tr>
    <%Alternatively figure out a better way of doing <tr> </tr> tags based on an index of the row returned.
    ie
    I'll also use this example to show how much neater it is to use JSTL and EL than that ugly scriptlet code you have ;-)
    <c:forEach var="row" items="${queryResult.rows}" varStatus="status">
      <c:if test="${status.index % 2==0}"><tr></c:if>
         <td><a href="select_date.jsp" >${queryResult.name}</a></td>
      <c:if test="${status.index % 2==1)"></tr></c:if>
    </c:forEach>

  • Servlet run problem..plz help

    hi
    i have made a simple servlet..compile it and put the .class file into web INF's classes folder..set the classpath to servlet. jar file ..the servlets java code is in root folder..i had also put jar file into web inf's lib folder..all the enviroment variables are setted ok.. but still when i am running it, it gives error 404..the url ,i am using for browser is ..http://localhost:8080/servlet/HelloServlet..
    please help me to resolve this problem.
    thanx
    gyan

    web xml file is..
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <!-- Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    - <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>Welcome to Tomcat</display-name>
    <description>Welcome to Tomcat</description>
    - <!-- JSPC servlet mappings start
    -->
    - <servlet>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <servlet-class>org.apache.jsp.index_jsp</servlet-class>
    </servlet>
    - <servlet-mapping>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <url-pattern>/index.jsp</url-pattern>
    </servlet-mapping>
    - <!-- JSPC servlet mappings end
    -->
    </web-app>

  • K7N2G Sound problem! PLZ HELP!

    hi!
    While i am watching moviesor playing games  on my PC,after like 10 minutes the sound disappears.
    i am using the integrated sound device with the newest update and WIndows XP. WHat the problem can be.
    please help!

    try using th realtek drivers..........here is link to a post that may hlep you
    http://www.msi.com.tw/program/service/forum/index.php?threadid=14649&boardid=14&styleid=1
    let me know if it helps......GL

  • Strange problem. PLZ help!! Servlet+Excel

    Hello,
    I have a problem downloading excel files, I generate a excel file in the server using jakarta, i download the file and when i open it, it tells me that "File error: file may have been lost", but i can open it .
    My code:
                        res.setContentType("application/vnd.ms-excel");
                        res.addHeader("Content-Disposition",
                                  "attachment;filename="+fileName+".xls");
                        ServletOutputStream out = res.getOutputStream();
                        HSSFWorkbook wb = new HSSFWorkbook();
                        HSSFSheet sheet = wb.createSheet("sheet1");
                        HSSFRow headerRow = sheet.createRow((short) 0);
                        sheet.addMergedRegion(new Region(0, (short) 0, 2,
                        (short) 10));
                        HSSFCell headerCell =
                             headerRow.createCell((short) 0);
                        //add the date to the header cell
                        headerCell.setCellValue("The Bowling Score");
                        wb.write(out);
                        out.flush();
                        res.flushBuffer();
    Anyone can help me?
    Thanks

    I had a similar porblem....
    I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
    This is my code in servlet...
    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet spreadSheet = wb.createSheet("Users");
    spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
    spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
    // Creating Rows
    HSSFRow row = spreadSheet.createRow(0);
    HSSFCell cell = row.createCell((short) 1);
    cell.setCellValue("Year 2005");
    cell = row.createCell((short) 2);
    cell.setCellValue("Year 2004");
    HSSFRow row1 = spreadSheet.createRow(1);
    HSSFCellStyle cellStyle = wb.createCellStyle();
    cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
    cell = row1.createCell((short) 0);
    cell.setCellValue("Revenue ($)");
    cell = row1.createCell((short) 1);
    cell.setCellValue("25656");
    cell = row1.createCell((short) 2);
    cell.setCellValue("15457");
    FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
    ServletOutputStream out = response.getOutputStream();
    wb.write(output);
    output.flush();
    output.close();
    forward = null;
    In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
    Thanks in advance...

  • JTree Selection problem. Plz help...

    Hi All,
    I hv designed a JTree with DefaultMutableTreeNode. And i hv added TreeSelectionListener to it. When i select the nodes of the tree i hv to display the RootNode name of the tree in a label. I'm able to achieve it using
    DefaultMutableTreeNode node =(DefaultMutableTreeNode) mBalanceInfoTree.getLastSelectedPathComponent();
    TextField.setText(node.getParent());
    the problem is when i click on the RootNode it is displaying as "RootNode" but not the node name.
    Can anyone help me on this.
    Thanks in advance
    ss

    Hi Frank,
    Atlast i made it to work.
    TreePath tp = mBalanceInfoTree.getSelectionPath();
    StringTokenizer st = new StringTokenizer(tp.toString(), ",");
    String bal_Grp[] = new String[st.countTokens()];
    int count = 0;
    while (st.hasMoreElements()) {
    bal_Grp[count] = st.nextToken();
    count++;
    Thanks for your replies..
    N correct me if there is any wrong in this approach.
    Cheers
    SS

  • Calendar problems.. plz help!!!

    Hi, I have some questions about the blackberry calendar. We have different calendar groups sorted according to our email ids registered to the bb; I wanted to know if you can shift multiple or all entries from one group to another. 2nd question, is it possible to change multiple reminders in the calendar? For e.g. all my calendar entries reminders are set to 84 hours earlier is it possible to change all the reminders at once? And last question, is it possible to add a calendar group to the calendar. as in create our own cical in the service book?

    Hello, please see my post entitled "Is it this simple?"  This worked for me today. If this helps, please post back to my post. Thanks.

Maybe you are looking for

  • Hyper-V Host (Win 8) to XP Virtual Machine File Transfer

    Hello guys, first post here, and I've got a question about transferring files from the host computer to an xp hyper v virtual machine. I've researched and tried many methods but some are too complicated or in the case of the floppy it doesn't have en

  • Installing Win 7 Pro as VM on Macbook Pro with 128G SSD

    Hi there, I've been searching for some good tips about installing Win 7 Pro as a VM on my new Macbook Pro (4GB i7 version) with a 128 SSD. Here is what I have and need to achieve: I have  Parallel 6 to set up the VM; Win 7 Pro 32-bit or 64-bit. Needs

  • Difference between FBL1N and S_ALR_87012082

    Hello forum members, I have the following problem: In the actual fiscal year I get different results when I execute the FBL1N and the S_ALR_87012082. When I compare the results of the FK10N for a single vendor with the S_ALR_87012082 I get the same r

  • Bringing JPanel to the front!!

    hi, I am using an JInternalFrame with some components like JTextField, JComboBox etc. Also, I am having a JPanel with some components which is to be displayed within the bounds of the JInternalFrame. If the JPanel is displayed, its components are min

  • MAnaging Dreamweaver and fireworks

    Hi Folks I am having trouble managing my site. I created it in fireworks and have a placed a slice to receive my dynamic content using dreamweaver. However whne I republish any changes to the layout in fireworks I have to go in and handcraft the code