Question on skew only when collecting histograms

I have a table with a column that contains only two distinct values..
country_ID COUNT(*)
12 645
16 1032
1 2336096
Here i tried collecting the statistics on this table using the following statements:
exec dbms_stats.gather_Table_stats(ownname=>'VISHNU',tabname=>'TEMP1',estimate_percent=>100,degree=>16,method_opt=>'for columns size skewonly');
select table_name,column_name,LAST_ANALYZED,NUM_BUCKETS from dba_tab_col_statistics where owner='VISHNU' and table_name='TEMP1'
Here the data appears to be highly skewed an even after trying to specify METHOD_OPT the histograms are not collected on any of the columns in the table.
Is this the default behavior or my understanding of the histograms **For columns size skewonly** or skewness is completly wrong.
can any one please help me in this...
thanks,
Violet...

And one more thing the table doesnot contain any indexes. and moreover the histograms are not being collected.
When i use skew only the histograms are collected on all the columns
exec dbms_stats.gather_Table_stats (ownname=>'VISHNU',tabname=>'TEMP',estimate_percent=>100,degree=>16,method_opt=>'FOR ALL COLUMNS SIZE SKEWONLY');
When i use the AUTO no histograms are collected.
exec dbms_stats.gather_Table_stats (ownname=>'VISHNU',tabname=>'TEMP',estimate_percent=>100,degree=>16,method_opt=>'FOR ALL COLUMNS SIZE AUTO');
This raises the question... if we specify skew only then does oracle considers that all the columns are SKEW..
Thanks,
Violet...

Similar Messages

  • HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. MY question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this aren't working

    HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. My question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this, such as using turning off the SMS preview under the "passcode lock", well that option no longer exists, or if it does, I'm somehow missing it.
    When I go to the "messages" setting under settings on my phone, I still don't see an option of turning it off.
    If I can just get the name of the person sending the message, as I had it before, I'd be happy.
    Help!

    That option still exists in Settings > Notifications > Messages > Show Prview (OFF) and View in Lock Screen (ON). Here's how to configure your Notifications and Notification Center for iOS 5: http://iphone-and-i.blogspot.com/2012/01/how-to-customize-notification-center-in .html

  • Sometimes when starting my iMac it shows a folder icon with a Question mark in it. Mac does not start up, only when shutting down and restart again solves it

    Sometimes when starting up my iMac it shows only a folder icon with a question mark in it. Nothing happened. Only when start up again it runs ok.
    What can be the cause of this.
    thanks for your help
    Hans

    That's an indication your Mac can't find a system folder to boot from.
    Open System Preferences > Startup Disk
    Select:  MacintoshHD OS X
    For OS X v10.4, v10.5, and v10.6 >    A flashing question mark appears when you start your Mac
    Helps when you ask for help to tell us which Mac OS X is installed.
    If you aren't certain, click your Apple menu icon top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.

  • Does the NavigationController work only when placed in appDelegate?

    I am trying to build application that has a tab bar controller with two view and the first view contains a segmented control.
    Based on the decision of the segmented control, I load the tableview. The table view has an instance of navigation Controller in which I have assigned the tableview controller as a rootview controller. When I click on any row of the table view, a new controller gets pushed on the table view. In my case, the new view does not show up on the screen, once the row is clicked. I used NSlog and checked that the views pushed on the stack are correct.
    I read many threads here and saw that all of them use tabBarController and then it directly uses the navigationController and viewcontroller. Is this the only config that works ?
    What if I want to have a tabBarController->tableViewController->NavigationController, isn't it possible? Can anyone please help?

    WitchKing wrote:
    So, if I understand this fully, I can initialize the navigation controller as soon as the any row is clicked and put the tableView I am on as my rootView for the navController. and also push the next view controller I want to see, on its stack. and present the navigation controller's view.
    The usual way to implement a table view drill-down would be to make the first table view (or the content view which includes it) the root view of the nav controller. I.e. the table view's controller would be the root controller. When you do it that way all the objects will do what they were designed to do, and the code to push and pop subsequent views will almost write itself.
    However there's no reason you can't do what you described, which (if I understood) would be to attach the nav controller's view to the hierarchy only after a row in the table is selected. Note however, that you couldn't then expect the nav controller to make that first transition from the parent table view. You would have to provide your own transition to the nav controller's view.
    You bring up a good point in any case. I never explicitly answered the question in the Subject line of this thread.
    does the NavigationController work only when placed in appDelegate?
    No, there is no requirement to create a nav controller in any particular position of the view hierarchy. Unlike a tab controller, a nav controller need not be the root of the hierarchy (i.e. added directly to the key window). In fact you'll find several examples in the docs which show one or more nav controllers under some other controller.
    there might be some problem with adjusting bar heights and etc though.
    I'm not sure you proposed anything that would make it difficult to configure a table view. One nav controller issue that will impact table view position and size is the attempt to hide the nav bar which would otherwise appear above the table. I walked, unsuspecting, into this problem when I tried to help with another, currently ongoing thread that might interest you: [http://discussions.apple.com/message.jspa?messageID=9606805#9606805].
    While I'm pasting links, this one is also relevant to your post: [http://discussions.apple.com/message.jspa?messageID=9607946#9607946].
    Thank you for the very kind words about my posts. For some reason, this past few weeks I've been spending most of my forum helper time writing about table views and nav controllers. I sure hope I've been dispensing correct information. It's not like I have any knowlege of the internals. These puppies are black boxes to me, so I'm just going by the same docs you have and my own (growing!) collection of test beds.
    \- Ray

  • Question regarding Memory Consumption in Collections

    I Read this on some website -
    Memory for collections is stored in the program global area (PGA), not the system global area (SGA). SGA memory is shared by all sessions connected to Oracle Database, but PGA memory is allocated for each session. Thus, if a program requires 5MB of memory to populate a collection and there are 100 simultaneous connections, that program causes the consumption of 500MB of PGA memory, in addition to the memory allocated to the SGA.
    My Question is -
    If i use Collections in my Procedures and they consume 5 MB space, is the memory still allocated to the session even if the Procedure completes its execution ??
    I mean is memory released for other sessions after procedure completion or session termination ??

    user9276238 wrote:
    If i use Collections in my Procedures and they consume 5 MB space, is the memory still allocated to the session even if the Procedure completes its execution ??Yes. How does the session know that your very next instruction to it is not run that very same procedure again (with different parameters). It will again need 5MB of memory. And if releases, it will need to reallocate it. If all processes work like this, immediately releasing memory and then grabbing memory again - that could cause contention and other issues.
    Memory management is more complex than this. For example, let's say your session required 1 few KB of space. So the process's memory looks something as follows:
    xxxx
    Next your session needs that 5MB for the (enormous) collection:
    xxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
    And during the processing, it needs a few KB more:
    xxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyzz
    Okay, so now it can release the 5MB memory (as indicated by the y ) back to the kernel? It cannot shrink it as there is trailing memory allocated and used (as indicated by the z ). It will need to re-org that memory in order to release that 5MB worth of y's.
    So it is not as straight forward as one would like to think. The basic rule for PL/SQL is to tread softly using memory. Why? Because this is server code. Memory used in PL is allocated as private memory to that process. Unlike shared memory, no-one else can share in its use. Thus the memory must be considered expensive.
    There's also the issue of scalability. If your PL code needs 5MB of private memory from the server.. what happens when a 100 client sessions all run your code? How well does your code scale in a multi-process and multi-server environment?
    So what memory should you ideally then use in PL? Shared memory. The SGA. This means it is better for scalability and server resources to rather store large data structures for PL as GTT's (global temporary tables - where a temp table is created per session).
    I mean is memory released for other sessions after procedure completion or session termination ??Session termination is a "sure thing" ito memory being released back to the kernel as free memory - assuming this is a dedicated server session. The actual server process will terminate and its PGA will be released. Shared server processes services multiple sessions during their life time. And only when the the shared server process terminates, will its PGA be released.(though PGAs can be shrunk as and when decided feasible by their memory managers)

  • Serv. Desk: Action: send an email only when a value in a field has changed

    Hello,
    In Soution Manager 4.0, Sevice Desk, I would like to create an action which creates an email only when a value of a certain field has changed.
    - only in change mode relevant
    - only when a value of one field has changed (e.g. Message Processort has changed from Buss. Partner 4 to 5. Than a mail should be sent to BP 5).
    - it should only send this kind of email when the field value has changed in change mode. In other words: it should not sent the email e.g. when the status has changed.
    I tried all kinds of things but I do not know on how to define the COnditions for an Action, so I can compare e.g.
    if <old value> <> <new value>
    Any ideas or experience on how to implement this without major modifications ?
    Thanks
    Christian

    Hi Christian,
    check out my question on SDN.
    Email on Status Change
    it has details on how to send an email when the status changes. I believe you are going to have to do something like this for each of the fields you want to create an Action Starting Condition for.
    regards,
    Jason

  • I get the erroor message 'couldn't load XPCOM' but only when i try to access my Netflix Desktop App . I have tried unsuccessfully to corect this. My OS is Linux

    After the last Firefox update to Firefox 19.0.2, I got the error message "Couldn't load XPCOM" when i attempted to open my Netflix Desktop App, I did not get that error message when starting Firefox only when trying to open Netflix. I thought it had something to do with Netflix so I removed it then reinstalled but the error message continued. I searched and asked questions to no avail. I did a command line search: "locate /xpcom" It came up with a list of files relating to xpcom, only one refering to Firefox itself and they all ended with xpcom.dll. When i did a search in the File folder I found this:
    usr/lib/firefox/libxpcom.so .
    One of the people trying to help told me this:
    "The error is caused by the lack of the path "/usr/lib" in the environment variable LD_LIBRARY_PATH
    Solution
    Add the /usr/lib path to the environment variable in this way:
    export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH"
    I was informed to do the following:
    "Get to a command line prompt (CLP) and use gedit to add that line to your .bashrc file:
    your.account> gedit .bashrc
    when you're done, just save and exit. Log out and back in, and from then on whenever you log in, it will be in the LD_LIBRARY_PATH for you. You might also want to copy .bashrc to some sort of saved version; I use bashrc.sav."
    No change.
    I have done a reinstallation of Firefox and numerous reinstallation of Netflix all with no change.
    Is there a chance that a complete removal of Firefox followed by a reinstallation correct the problem? i don't want to do that unless it is the only solution.
    Oddsbodkin

    Hello Oddsbodkin,
    It looks like the creator of Netflix Desktop has a site for the project here:
    https://answers.launchpad.net/netflix-desktop/
    I would try posting your question there and see if anyone else has encountered this error and has a solution.
    Cheers, Patrick

  • Is there a way to play an mp4 file at the beginning of a published project only when the project is accessed from a specific site?

    Is there a way to play an mp4 file at the beginning of a published project only when the project is accessed from a specific site?
    A little background info. I use Captivate 7 and currently have over 100 projects that I maintain on a quarterly basis. I publish using the SWF format and upload the swf/htm files to a server where they are then accessed from a few locations (within our online documentation, in our software product, on two different websites). Many of the projects are linked so some will be viewed as a series and others viewed as a standalone video. Each video uses the same template and includes an intro and end slide. Now my organization wants to implement a new intro to all videos (those I publish and those from several groups across the organization). My current intros provide overview material for the specific video so the new intro, which is an animation with audio in mp4 format, would need to be placed at the start of each project. The issue is, the intro adds 9 seconds to every video and in many cases doesn’t add any value (say, if a user accesses the video from within our product or views the videos as a series). I’ve talked it over with my boss and we want to try to add the intro only to videos accessed from site X, not any other location. So now to my question. Is there a way to play an external mp4 file (intro) only when the published project is accessed from a specific site, therefore eliminating the need to update each project? Maybe there's a way to add a parameter or variable to the URL or the html code?
    Thanks in advance for your suggestions. Please let me know if you need additional information.

    AimeeLove,
    I have a solution for you.  You may have to modify the code a little bit based on how long the timeline animation is for your clock.  I based mine on 3 seconds to complete a minute hand sweep around the clock.
    Milliseconds for each point on the clock:
    12 = 0
    1 = 250
    2 = 500
    3 = 750
    4 = 1000
    5 = 1250
    6 = 1500
    7 = 1750
    8 = 2000
    9 = 2250
    10 = 2500
    11 = 2750
    In the mouseover section for 12 o' clock, put this code...
    myVar = setInterval(function(){
         var pos = sym.getPosition();
         if (pos > 0 && pos < 50){
              sym.stop(0);
              clearInterval(myVar);
    },10);
    When you point to the time, the setInterval method loops every 100th of a second and checks the current position of the timeline.  When the timeline reaches the range between 0 and 50 milliseconds (almost impossible to hit 1 specific point), the timeline will stop at 0.  Also, the clearInterval will be fired to stop the loop.
    In the mouseout section, put this...
    sym.play();
    clearInterval(myVar);
    It start the clock again, and it also clears the loop in case you mouseout before you reach the range.
    Make sure that myVar is a global variable so you can clear it from the mouseout section.
    Repeat this for each point on the clock.  To avoid potential conflicts, you may want to use my12, my1, my2, etc. instead of myVar.  I put the milliseconds at the top that you would use as the beginning of the range.  50 milliseconds should be enough to catch it.  So, for 5 o' clock, you would make your range between 1250 and 1300.
    Let me know if you have any questions.  Thanks!
    Fred

  • Hello..i use firefox 4 beta 05..my question is..why when i open let's say 6 tabs..my windows show that i have 6 instancies of firefox instead of one like it does with firefox 3.6? thanks

    hello..i use firefox 4 beta 05..my question is..why when i open let's say 6 tabs..my windows show that i have 6 instancies of firefox instead of one like it does with firefox 3.6? thanks
    maybe i am saying it wrong..when i press alt+tab there is only one firefox open..but in windows 7 in the taskbar..every tab open..appears as another window open

    If you are referring to taskbar previews, you can turn them off by modifying a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # In the filter box type '''previews'''
    # Double-click on the preference browser.taskbar.previews.enable to change its value to '''false'''

  • I have one random Apple ID that appears only when I go to itunes or App Store.  For everything else I have my Apple ID and password all set.  Can I get rid of this thing?

    This is a Question:  I have one random Apple ID that comes up only when I'm trying to access Apps or iTunes.  I have another Apple ID with a password that works just fine for everything else.  I do not have a password for this random id.  How can I get rid of it?  I can't perform updates is the big issue.

    Jonathan:This seems to make a lot of sense.  My only follow up question is:  will I have any trouble getting iTunes and
    Apps back?
    Will apple charge me?  I really can't remember clearly, but it seems to me that iTunes and Apps were present on the
    iPad2 that was given to me as a gift, but I could be mistaken.
    If I am all clear for getting those two stores back with an easy selection, then I will use your solution.
    Have a great season, my friend- this was driving me nuts!  Thank you so much!
    Dianep

  • How to enable a button only when a tilelist item is selected

    Simple question but it seems quite awkward to me. How do I enable a button only when an item within a tilelist is currently selected?
    For example lets say if I have a button called button1 that is disabled by default and a tilelist called tilelist1 what would I have to add into the brackets of the following code (enabled property of the button) to ensure that the button is only enabled when an item in the tilelist is currently selected but disabled when no items are selected:-
    enabled="{}"

    enabled="{tilelist1.selectedItem}"
    that should do it, it's making an implicit comparision with null (tilelist1.selectedItem == null) which will result in a boolean.
    SelectedItem is null when nothing is selected , not null when something is.

  • My HP Compaq powers on only when force i plug in. Doesn't turn on with power button!

    I have a HP Compaq 6710b.. Its Over 6 yrs old..
    The Issue is really annoying.. The laptop powers on only when i force plug in the charger pin and the laptop works fine after that..
    But the laptop never turns on when i try to power on by pushing the power button!!
    I couldn't understand the reason why...
    Any thoughts about this issue?  HELP!!
    This question was solved.
    View Solution.

    There are no settings in the BIOS that affect the use of the power button.
    The power button works at the hardware (firmware) level.
    Pressing the button is  translated into action for the system board by logic conditions.  There must be voltage at specific points in the power circuit. If the voltages are not present, then the power button will not operate. This could be caused by a failed resistor, mlcc capacitor or a faulty solder joint, if the power button has been tested and shown to be working normally. Even lint could cause this to happen. This can troubleshot by visual inspection and use of a multimeter.
    Hi all,
    This may be a solution for others but unfortunately not me..  
    My whole Power Circuit has been replaced with brand new circuit by authorised service personal in my country (will not HP, but he is an authorised service dealer of HP)..  It was replaced/repaired a year ago and after that i hardly would have used the power button..  I also use the sleep mode and mouse to wake up.. (would have used power button not more than 20 times in one year. And especially during update shutdowns)..
    So its better i will check with BIOS/CMOS setting and battery and get back soon..  Why i am mentioning this is because, for the past 8 months, when even i remove the battery and put back in and start up the lappy, the date goes back to 1980..  I guess this happens because of faulty/dead CMOS battery..  Because i had a similar problem with my Desktop too and when i replaced the CMOS battery, the date problem on my desktop vanished..  (Surprisingly, even some Digital cameras hav this issue too!!)..
    Regards,
    - Raj

  • Password lock only when lid closed

    I'm reviving an old thread here to see if this is possible in Lion before I upgrade. Here is the original question from Haiiyaa as he stated it most succinctly:
    Hi,
    I have a MacBook. I am trying to find a way so that the computer prompts me for a password only when i close the lid . Not everytime the monitor goes into screensaver or sleep mode. I have looked for a solution for this all over the web, and it just doesn't seem possible. I am surprised that is the case. Isn't it a little annoying that you have to log in everytime the computer screensaver comes on?
    Especially when I am in battery mode, the laptop goes into sleep mode very quickly. I don't want to log in everytime i need to use the laptop.
    Thanks
    Here are the two threads which covered it in 10.6. The answer was that this can't be done.
    https://discussions.apple.com/thread/2133777?start=0&tstart=0
    https://discussions.apple.com/message/10075887#10075887
    Anyone have any new ideas?
    Thanks,
    M

    Hi Matthew,
    I'm sorry to say I have no answer, but I'm also searching a solution. Even though it seems to be poorly understood by most people, and appears relatively minor on the surface, I see it as a huge gaping security hole.
    Take for example the following:
    During the evening, I'm at home, around, making dinner and occasionally using my computer. It's open, on my desk, and is secure by the sheer virtue of there being nobody with access to it at that time. It may be hours between uses, but I don't ever want to be bothered for my password.
    But, the moment I step out of the flat, or at a coffee shop, or if my bag is stolen, or when only my roommates are home, I want that thing to be locked. And I want that lock to be really, really easy to engage, in which I think that closing the lid is the simplest, quickest, and most visibe at a glance. No menus, hotkeys, dialogues, delays, etc..
    So in summary, we want the same behaviour, which was really freaking easy in 10.5.x, and has been unceremoniously yanked out from our favourite os.
    Booo!! Hisss!!

  • Item using source, even though it's supposed to be only when null.

    I have an interactive report on one page. When I click on the edit icon for a row, it successfully sets the value for the address id on the following page to the appropriate value from the row, let's say 8429.
    On the following page, there is an item, P31_XADDRESS. If it is a new address, then the session value should be null, so it populates it by a SQL Query. This source is set to be used Only when current value in session state is null.
    Session state is not null, it is 8429. However, P31_XADDRESS is using the SQL query anyway, thus creating a new number, let's say 8430.
    Any idea why this is happening, or how to fix it?

    Well, your question led me to the answer to my question. Turns out that there are two similar fields, P31_ADDRESS_ID and P31_XADDRESSID. I changed the link column to set both of them to #ADDRESS_ID#, and the problem seems to be resolved.
    Thanks.

  • Random question slide not shown when FP 8 or FP 9 output

    Hi everyone
    I've just begun to use Captivate a month ago, so it is not
    that much experience I can contribute with by now.
    One thing I have recognized is that I get some problems with
    random questions slides made from different question pools when
    using Flash Player 8 or 9 in the output otions.
    When using Flash Player 7 everything works as supposed: one
    random question is shown for every random question slide using one
    distinct question pool for each random question slide.
    When using one of the two others some of my random question
    slides are not shown. There are slides that are played - meaning
    that the player shows an empty slide for the time of 3 seconds -
    but the content is not shown. This happens only for some of the
    random question slides, and those are the same question slides each
    time, I publish - but when working or dragging around with the
    random question slides and publish again, the problem would come
    with some other random question slides, not positioned the same
    place as before, but showing the same problem in each published
    version.
    As written before each question pool is only used once. The
    different question slides used in the question pools are all
    duplicates, naturally with adjusted content.
    Does anyone has experienced something like that before? Could
    there be any other trouble with the content when using Flash Player
    7 in the output options, like quiz not playing in newly updated
    Flash Players ore something like that? Anything?
    I appreciate your suggestions or comments! Thanks in advance
    and kind regards,
    Lars

    Some more info - and a working solution...
    I have worked on this topic a bit more - and found out, that
    I have a problem with output option set to Flash Player 7, too.
    When I delete every other navigation option than the "next
    question" (what is it called in english?) button, I get this
    problem:
    The quiz now "freezes" randomly, not every time, but again
    and again. The quiz has both random slides from question pools and
    simple question slides.
    I have found out, that putting the simple question slides
    into question pools and then showing a random slide from those
    question pools fixes the problem.
    Has anyone experienced problems like that? Other solutions?
    Kind regards
    Lars
    Maybe someone has a similar problem.

Maybe you are looking for

  • Erro 10001 while running a VI in Labview 8.2

    Hi, I'm a university undergrad that is currently running a final year experiment using Labview 8.2. I'm using a VI that created last year and when I run it I get an Error 10001 and it says something about a bad string. However there are no errors wit

  • User defined table types sometimes show up a unknown data type in Profiler

    A couple of our users have a problem when using user defined table types. Calls are made using UDTT as variables and these are then passed to a stored procedure as parameters. Sometimes the application returns a timeout. In such situations a Profiler

  • Problem in call transaction

    Hi, I have a requirement in which i have to send transaction number from the ALV report program to CRMD_ORDER transaction.The problem is that i do not have to send the record to the main screen of transaction CRMD_ORDER.A pop up will be opened (on pr

  • Itunes keeps saying "welcome to your new ipod touch."

    I updated itunes and all, and my iPod touch shows up in "My Computer" but I want to add a movie to my iPod Touch but I am unable to because everytime I plug in my ipod to my computer and go to itunes it says "welcome to your new iPod Touch."

  • How to persist rows in ADF iterator using JPA

    I am using Jdeveloper 11g R (11.1.2.3) & weblogic 10 G In my pages I use JSF & Facelet When using ADF face + EJB3 session beans and JPA , how I can find the rows inserted , updated or removed from Iterator on the page that then use persist,update or