One more time about COUNT(*)

We have had related discussions, but looks like I missed something.
Anyway I do not have a good explanation on the following:
large table has unique index on field x
SELECT COUNT(*) takes some time.
If make field x as primary key, it takes much less to execute (about 1/4).
(9i)
link will be good.
This is not "urgent"

You could run the below to demonstrate the situation "SomeoneElse" just described:
drop table t;
create table t as select rownum rn, rpad('x',200) cola from dual connect by rownum <= 10000;
create unique index i on t(rn);
explain plan for select count(*) from t;
select * from table(dbms_xplan.display);
alter table t modify rn number not null;
explain plan for select count(*) from t;
select * from table(dbms_xplan.display);

Similar Messages

  • How can i Delete all foto from my iphone and after some time get them one more time on it but not as a new album :)?

    How can i Delete all foto from my iphone and after some time get them one more time on it but not as a new album, i want them in the camera roll ?

    How can I delete EVERY THING off my Mac and have it like new?
    Boot from the software install DVD and do an "erase and install" when prompted.

  • [svn] 1594: Update the warning message when outbound throttle policy of REPLACE is used one more time .

    Revision: 1594
    Author: [email protected]
    Date: 2008-05-07 11:10:27 -0700 (Wed, 07 May 2008)
    Log Message:
    Update the warning message when outbound throttle policy of REPLACE is used one more time. Now the warning says this. . .
    Throttle outbound policy 'REPLACE' found on message destination 'MESSAGE_DESTINATION'. The 'REPLACE' throttle outbound policy has been deprecated. Please remove it from your configuration file.
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageDestination.java

    hamish72 wrote:
    You can still download as much as you can only a lot slower during peak times off peak will not be restricted.
    Thanks for this explanation. I had taken it that it was at all times.
    As I said in the first place it will be great if they throttle me to 1Mb at peak times as it will be better half the time than I am getting anyway!!!!!!!!!
    hamish72 wrote:
    Have you chased up why your line is so bad, long way from exchange and so on
    Posting your router stats may get advice from someone
    enter for homehub for other routers will differ
    192.168.1.254 in browser click A to Z top right
    then ADSL enter pas and click MORE DETAIL
    POST RESULTS
    Also post results of test at ( best done from master test socket)
    http://speedtester.bt.com/
    Connection Information
    Line state
    Connected
    Connection time
    6 days, 11:57:55
    Downstream
    5,760 Kbps
    Upstream
    448 Kbps
    ADSL Settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    G.992.1 Annex A
    Latency type
    Interleaved
    Noise margin (Down/Up)
    5.7 dB / 21.0 dB
    Line attenuation (Down/Up)
    44.6 dB / 24.0 dB
    Output power (Down/Up)
    8.9 dBm / 1.6 dBm
    Loss of Framing (Local/Remote)
    0 / 0
    Loss of Signal (Local/Remote)
    0 / 0
    Loss of Power (Local/Remote)
    0 / 0
    FEC Errors (Down/Up)
    25279 / 134
    CRC Errors (Down/Up)
    700 / 196
    HEC Errors (Down/Up)
    5427 / 142
    Error Seconds (Local/Remote)
    477 / 102

  • How to download one more time the purchased content?

    I purchased yesterday the OST of Fast Five, and unexpectedly I deleted it from my Mac. How to access it one more time?

    If you are in a country where you can re-download music, and if it is still in the store, then it should show under the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes for re-downloading. If you aren't in a country where music can currently be re-downloaded then you will need to try contacting iTunes Support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have to pay one more time!

    Hi!
    I have bought the album called "Disc-Overy" from Tinie Tempah. I did reset my iPhone and set it up as a new iPhone. I also synced with another iTunes library. Now iTunes ask me to pay for the album again! I aldo bought the ringtone called "Levels" of Avicii and I have to pay for that one more time too!
    And when it comes to app. I downloaded iCopter from appstore. I bought the pro version in-app and when i try to do the same again with this newly setup iPhone I also have to pay for this one more time! Please help me!

    I've had the same problem with the albums when switching iPhones.
    Usually when you click purchase in the app- or itunes store it will start the download but will then give you the message: "You've already bought this item, do you want to download it again?". In that case you won't be charged twice, but in my expirience that won't show up untill you're willing to make the purchase.
    Best thing would be to just sync the new iPhone with iTunes if that already contains your purchased apps, books and music.

  • My iphone has broken and I had songs that I had purchased on there that I had not yet backed up on my computer. apparently you can download the tracks one more time free of charge does anybody know how??

    how do you re download tracks that are on a broken iphone???

    apparently you can download the tracks one more time free of charge does anybody know how??"
    Not true.  You get one and only one download.
    In some instances, itunes has allowed another download to a few.  This is not the norm.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    Hope all goes well.
    http://www.apple.com/support/itunes

  • HT5552 Apple decline payment method for apple ID (credit card VISA) after 2 weeks of active using it. And did it one more time

    Few mothes ago I registered my Apple ID.Payment method chose credit card VISA. It allowed me to make purchases and download apps. But after 2 weeks it said that my payment method was declined and I have to register and pay 1$ once again. So I registered one more time with the same credit card, made several downloads and purchases and after 2-3 weeks the situation was the same. My payment method was declined. What is the reason?

    Kateryna Malykhina wrote:
    ... My payment method was declined. What is the reason?
    As this is a User to User forum no one here would know...
    You need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT201272 I bought PDF expert $9.99 for my ipad. When I tried to download to my iphone 5 , they tried to charge me one more time. Any solution?

    I bought PDF expert $9.99 for my ipad. When I tried to download to my iphone 5 , they tried to charge me one more time. Any solution?

    There are two separate PDF Expert versions on App Store: PDF Expert for iPad and PDF Expert for iPhone. PDF Expert for iPad differs from iPhone version and both versions are not free.

  • Big problem with my macbook pro 2009 - 3 motherboard changed at applestore Velisy and one more time it is for nothing.... ! Apple says you're not lucky?????

    3 motherboard i have changed at applestore Velisy and one more time it is for nothing.... !
    Apple says you're not lucky????? What can i do

    A sorry it 's macbook pro unibody from 2011

  • One more question about "snap to" points in audio objects

    sorry, one more question people.............. is there a way to set a "snap to" point in an audio region? Can I have logic set a point, or an "anchor" within an audio region that would coincide with the cursor. Once I get the cursor to a bar or a beat, is there a command that would allow a "snap to" point to be created in an audio object? That way I could clean up any "noise" or "chatter" at the beginning of an audio bounce or any audio object, and still have no problem pasting it all over my arrangement. I'm sure it's in here somewhere, but can't find it in the manual..
    thanks again!!!

    The anchor point in an audio region can be moved to wherever you want it to be. Let's say you recorded a loud piano bass note and afterwards you trimmed the file so that the attack of this sound happens right at the beginning of the audio region. Your anchor point will now coincide with the begnning of that region. This means that you can place that audio at, say, bar 37 and it's guaranteed that the attack of that sound will play exactly at bar 37. In this case anchor point = position of audio region in the Arrange Window.
    Even though you haven't played a MIDI note into the song in order to place this audio region, an "event" is generated for this sound which can be viewed in a special version of the Event Editor which shows the position of all audio regions in the arrangement. Access this by simply clicking on a blank area of the Arrange window and then opening the Event Editor.
    So let's say this sound is positioned at bar 37. Open the Event Editor (as described above) and you'll see an event at 37 1 1 1 and the name of that audio region to its right. In this case, the event's position = the start of the sound file = the position of the anchor within that sound file. If you changed the position of that event to 38, or 109, or 3, that audio region will be "triggered" at any of those positions. That sound will always "attack" on a downbeat.
    Now let's say you reversed that pinao note in order to create a dramatic swell into a section of your song. (Open the sample editor and use the Reverse function). At this point, the anchor point is still positioned at the beginning of the file! Play back the sequence (from our bar 37) and the audio will play back from bar 37, only backwards this time; the peak of that piano note will be at some point later than 37.
    So let's say you wanted to position this sound so that it hits exactly on the downbeat of bar 37. How do you do it? Well, you could always slide the audio file in the Arrange Window and try to line up the attack of the audio waveform with the downbeat of bar 37, but there's an easier way...
    Open the sample editor and move the anchor point to the end of the file, coinciding with the peak of the waveform (the piano's attack is now at the end because we reversed the audio). Next, close the sample editor window, click on a blank area in the Arrange Window and open the Event Editor. You'll see that this audio region is still positioned at bar 37, but the actual beginning of the sound file now starts before bar 37. Now when you play back, Logic will start playing that sound file before bar 37, but the audio's peak will be lined up at bar 37.

  • I'll ask this one more time...

    I've asked. Can't seem to get any real answer. I'm using the Adobe CC cloud storage. It's deleting my files indiscriminately without me even knowing. Who knows what I’ve lost along the way. It’s an absolute disgrace. I’ve lost time, money and lost face with my customers. Does anyone at Adobe actually care about this known issue??? Disgraceful.

    Sounds horrible :-(
    But apart from the grief and annoyance, in order to dig deeper into the possible problem, it's crucial to provide some more information about the exact situation and your actions. Because -as you might have guessed- it probably won't be a general issue with a generic solution or logical explanation.
    Describe the situation a bit more. It won't bring your files back, but it will help the Adobe developers to take a better look at it and perhaps offer a soltion to prevent it from happening again.

  • One more time -- anti-virus or spyware needed?

    I am sure this topic has been covered before, but over the holidays my "windows relatives" were giving me a hard time about not having anti virus sw on my computer. The argument is that OS X is unix based and therefore vulnerable. I have never had any problems. I am not really afraid of viruses, but the spyware argument caught my attention.
    Thoughts?
    Recommendations?
    Thanks

    Antivirus - at the moment there aren't any for osx. The main reason to have antivirus is to help stop windows users getting them when they pass them through you.do a google search and pass the articles on to your windows friends. Also, another massive windows vulnerability was reported yesterday so you might want to warn them
    Spyware is more difficult. It's not a big osx problem as far as I'm aware, the system is much more secure, but it's not impossible. I'm not aware of any osx spyware out there. I'd do a google search for osx spyware to see what the tech consensus is.
    http://www.thexlab.com/faqs/malspyware.html
    osx spyware almost non existent in march.
    http://news.com.com/GartnerBeware+of+Mac+OSspyware/2100-7355_3-5645465.html
    I hope that begins to help.
    Oh there is a quite good open source app called clam xav which is a free virus scanner for os x - you might look it up.

  • One more time - problems with fans

    I realize this is but one of hundreds or possibly thousands of cases of Mac users being plagued by fan noise problems, but to me it has been a long and extremely frustrating saga. I have been a Mac user since the very beginning, through different versions of Macs and iMacs, and this is the first time I ever refer to a Macintosh as a "piece of junk."
    I bought my iMac G5 in August 2005, a 20-inch ALS with 250 GB hard drive and 512 MB RAM. It worked perfectly until January this year, when all of sudden it shut down by itself. Freaked me out completely. Turned out to be power supply problem (EMC 2056) which Apple never informed me about.
    I brought it to a repair shop that fixed the intermittent shut-down problem. I also added 1GB memory. But then the fans started to go berserk. Before the power supply problem, I only heard the fans whenever I used a large program like Photoshop. For the most part, it was a very quiet machine. After the power supply was replaced, within minutes of turning the iMac on, I could hear the fans spinning faster and faster, stabilizing at around 4400 rpm and did not stop spinning until I put the iMac to sleep or turned it off, regardless of CPU usage or software being used.
    I checked the discussions at this forum (over 500 posts, no real answer) and did every "voodoo trick" suggested: I reset the SMU dozens of time, cleaned the inside of the iMac and around the fan area, did apple hardware test (everything was fine), monitored temperature and activity with XRG (average CPU at 160F, hard drive at 113F), cleaned out caches, tested for corrupt preferences, re-installed the original OS 10.4 (which only made the fans louder), upgraded it back to OS 10.4.9. I also removed the additional 1 GB memory, thinking it might be a bad piece. It didn't help.
    Finally, I requested fan replacement from Apple and got them. I installed them last Sunday and now the problem is even worse! Within SECONDS of turning it on, the CPU T- Dio soars to around 170F, even while the machine is still stone cold to the touch. The hard drive temperature now averages at 117F, CPU fan is never below 4000 rpm (4400 rpm 98% of the time), even at 5-8% CPU usage.
    The fans themselves are much quieter because they're brand new. But you can still hear the hums and whirs and it drives me nuts. More seriously, my iMac is now narcoleptic. If I use it too long (a few hours on a stretch) it will put itself to sleep, apparently because it thinks it is overheated. And when I use Photoshop or Illustrator, the awake time is even shorter. Depending on the outside temperature, at the most I can only use them for about an hour at a time. Two days ago we had heat wave, and even with the air conditioner running full blast in my study, the iMac kept falling asleep within minutes of using Illustrator.
    Right now I am using TextEdit and no other program is running. Uptime is 59 minutes, average CPU 9.6%. CPU T-Dio is at 168.8F, hard drive 117.5F, CPU fan at 4400 rpm. I am out of ideas and before I do something drastic to this machine, if anyone knows what's going on with my iMac (I know every case is different), please help!
    iMacG5 ECM 2056   Mac OS X (10.4.9)   20"/2.0GHz Power PC/1.5GB DDR SDRAM/250GB
    iMacG5 ECM 2056   Mac OS X (10.4.9)   20"/2.0GHz Power PC/1.5GB DDR SDRAM/250GB

    I do not have the solution... but the same problem with a nice iMac G5 purchased in July 2005.
    My Mac operated very silently untill 6 month ago;problem MAY ( I am not sure) have started when I upgraded to 10.4.10 ; even with few applications and low CPU usage (80% or more inactive), it seems that I have the following regrettable chain of events;
    ==> the CPU temperature is quite high ( 60°c to 72°c most of the time, ie 140-160 °F)
    ==> resulting in fan turning at high speed ( 2.000 for CPU and system, 2500 for HD), and changing speed all the time
    ==> resulting in a noisy computer
    I am SURE this was not the case 6 month ago, and I suspect it is linked to my upgrade to 10.4.10.
    I did all sorts of reinstall, authorization repair, SMU reset, fan clean-up with no sucess.
    iMac G5 (2005)   Mac OS X (10.4.10)   POwerbook G4 Titanium (2001)

  • I can tell the differnce when listening to "One More Time" by Daft Punk...

    ...The 356kb version when compared to a 128kb version I had. The electronic sounds sound a lot more crisper then on the other one...not to mention it doesn't make a fuzzy sound when I turn it up high on the iPod...but then again, like I said in another thread, I also compared "Smile" by Lily Allen and they sounded very much the same. I'm also using noise-cancelling headphones and a brand new audio card so it should be easy to hear the difference when played...to tell you the truth, it's better on a few songs but sound very much the same on other songs...it depends on what the song is and what type of audio equipment you have.
      Windows XP  

    If the errors are consistent across OS (ie LiveCD, Windows?)  then your motherboard is most likely on it's way out and needs replacing
    You could try removing the motherboard cell battery and doing the "classic capacitor flush" again. Leaving the battery out for a period of time generally has the same effect and in "classic" IT style fixes numerous woes... have you tried a different cable?
    If, after replacing the battery, the problem has disappeared I would still treat the hardware as suspect and have it replaced as soon as possible. These sorts of brain farts typically reappear sooner rather than later

  • One more question about upgrading HD

    EVeryone was really helpful last time, I have one final question:
    Does the name matter for the HD?
    I have bought my HD, used SuperDuper and am actually already working off the new HD via Firewire.
    Does it matter what I NAME the new Drive? When I used Super Duper I called it "New Startup". The current HD is called "Macintosh HD". Is this a problem?
    Thanks guys!

    @Niel: How about localized chars (ä, ß, î, etc.) and such ones that may have a special technical meaning (like /, *, -) ?

Maybe you are looking for