Need help and suggestions for partitioned tables

Hello

We have a table and it is partitioned and partitioned with datetime column, IE... partition by range.

I tried to run the query in the form below and it runs 1 HR and did not get the result and I kill the query.

Select min (datetime) max (datetime) < big_table > maxdate, mindate; -2203M data in this table

index also in place on these columns as a composite index (code, datetime, status, po_num)

< big_table > - having columns like code, datetime, status, po_num, creation_date

Here is the plan of the explain command:

Hash value of plan: 228211001

------------------------------------------------------------------------------------------------------------

| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |

------------------------------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT |                   |     1.     8.  4009K (2) | 04:41:57 |       |       |

|   1.  GLOBAL TRI |                   |     1.     8.            |          |       |       |

|   2.   RANGE OF PARTITION ALL THE |                   |  2163M |    16G |  4009K (2) | 04:41:57 |     1. 1048575.

|   3.    FULL RESTRICTED INDEX SCAN FAST | POSTATUSINDEX |  2163M |    16G |  4009K (2) | 04:41:57 |     1. 1048575.

------------------------------------------------------------------------------------------------------------

Please give me any suggestions how to get the query faster.

THX in advance

You need to know which column mainly used in queries?

If most of the request uses ID column, then partition of hash on ID will be beneficial.

Tags: Database

Similar Questions

  • Help and suggestions for the color scheme for the design of flavor package multiple

    I need help to choose colors for a range of products food multiple flavor.

    My goal in this post is about how to create or acquire the palette that I need in order to design, model, collateral marketing etc.


    This project requires a color scheme which has sufficient contrast and variation to represent up to 24 flavors of food packed by type or range of products. Each flavor of product or the combination of flavor (the name of the element, as the cocoa almond cherry or apricot vanilla etc.) in the line will be represented by a unique color. The product packaging is white on solid color. The environment will be brilliant laser printing on labels.


    The problem is that many flavors will use similar colors. Chocolate items will have different shades of Brown and Maple flavors or nut will also use brown tones. The same Orange, Apricot and mango will use similar shades of orange etc. I know that the problem could be solved with two or more colors, but I don't have this option for this project. All packaging is white on single color. He has not used the accent colors.


    I need to generate the palette before you design the package to create models for printing and photography for print marketing and marketing etc. Active documents on the internet.


    Does anyone have a good strategy for this or know all the resources available?


    I use :

    Dell Precision T1700 (64-bit)

    Windows 7 Professional (Service Pack 1)

    Two screens (not calibrated for Pantone or printer)

    Printer: Konica Minolta bizhub c224e

    Book + Pantone Color Bridge Coated and lying

    Adobe CC, HAVE, PS, ID, etc.


    I print on labels of brilliance for models and you want to use images for the web.


    I'd also be interested to know how to calibrate these devices.


    Thank you!

    Out of the computer for a day and come out at your local grocery store and see what the competition is doing.  In addition, the product itself may be your best resource for a color.  Who and its taste.  Food is a product that will generate a color once you have tasted.  I know, maybe it's not practical.  You could start with 6 primary and develop the 4 colors of catΘgories of void.  You could also watch the manufacturers of ink different color in addition to Pantone for some unique options.  Laser printers are struggling with spot colors, but they can be calibrated.  Look at the manufacturer's recommendations for hardware devices like xRite colorspectrometers.  Nice project.  I hope this helps.

  • The product I bought doesn't work! I need help and I was stuck in your 'contact us loop' for the last few days and I'm frustrated. How can I contact you for help!

    The product I bought doesn't work! I need help and I was stuck in your 'contact us loop' for the last few days and I'm frustrated. How can I contact you for help!

    Probably the best place to start is the right forum for your product. This is the forum for Distiller Server, a product used by corporations long dead, and probably not what you have. If you can't find the right forum, please let us know the FULL name of what you paid for (Please check your invoice, as Adobe have a lot of similar products), and we may be able to direct you. Good luck!

  • Need help on the recovery Partition

    Caveat!
    This area contains your hard drive contains the hard disk to perform a system restore

    When I double click on my hard disc, it appears such intruction on my screen, may I know what is the system recovery means and how to use it?

    * Btw, I intend to reformat my netbook, however is this system recovery can help me as soon as possible restore settings and things? **

    Any help and suggestions is welcomed and appreciated, thx ~

    Hello

    The D Partition on the hard disk contains your recovered files that allows you to perform a system recovery using the hard disk instead of using your recovery DVDs.

    To use this option, close the notebook, then press the rest away to f11 as soon as you press the power button to start the Recovery Manager and begin the process of reinstalling the operating system.

    It is a destructive process, so make sure you back up all your personal files etc. before using it.

    Kind regards

    DP - K

  • Smartphones blackBerry is RIM read these messages? Where should I post the bug reports and suggestions for BB8900?

    I wonder where I should post the bug reports and suggestions for BB8900? I think that we have already found several bugs enjoyable device it is, but I've never seen any work email address to send these discoveries. I have also some proposals to improve the BB8900 features, making it even more attractive with minimal effort. We can actually open a new thread here and I can start posting bugs that I knew, but I'm not sure that everyone from RIM never reads these postings. All good ideas? Or maybe there is some forum tht could be used for this purpose?

    If you have any suggestions and information on RIM BlackBerry platform then post it here:

    http://supportforums.BlackBerry.com/Rim/Board?Board.ID=PM_Dev_Board

  • I need help and I want to talk to a real person

    I need help and I want to talk to a real person

    cat is your best bet, contact adobe during the time pst support by clicking here and, when available, click on "still need help," https://helpx.adobe.com/contact.html

  • Need help with keyframes for start and stop an effect

    I use a mask and blurred for a few seconds. I understand that I must use keyframes to indicate when to start and stop this effect in the video, so that the same area is not trimmed for video full.

    The problem is, I can't find help by correctly setting the keyframes. When I opened the menu keyframes in the effect, it seems that I must together for both the mask took and the blur effect. I did... to start and stop at specific times, but the rest indeed throughout the video, so of course miss me something by using keyframes. The manual to create effects is not useful. I need assistance with keyframes as what I'm doing is clearly not working. Help!

    If the mask does not move that you don't have to set the keyframe. For the blur, click the stopwatch next to 'bluriness' add keyframes as below, the Reds don't blur and blue those maximum blur this fade effect.

  • Disable LOGGING for partition table based on the automatic INTERVAL

    Hello

    I created a database table of paritioned range interval with NOLOGGING as the default attribute for the table as well as the tablespace definition.

    When ORACLE automatically creates a new partition for this table, it activates the LOGGING for this automatic partition even if the table definition says anything else.

    How can I go about changing this behavior? Is it still possible?

    FYI my platform is 11 GR 1 (11.1.0.7) material on SUN SOLARIS 10 SPARC.

    Any help will be appreciated.

    Right, so refer to a new feature of Oracle 11 g partitioning called 'partitioning interval. "

    +"+
    + The interval partitioning: A new strategy of partitioning in Oracle Database 11g, +.
    + Interval partitioning extends the functionality of the method range to define equipartitioned +.
    + ranges using a definition of the interval. Rather than specify individual +.
    + going to explicitly, Oracle will create any partition automatically as needed.
    + every time the data of a partition are inserted for the first time. Interval +.
    + a lot of partitioning improves maneuverability of a partitioned table. For +.
    example, + a partitioned table interval could be set so that Oracle creates a +.
    + new partition for each month in a calendar year; a partition is then automatically +.
    + created for "September 2007" as soon as the first record in this month is inserted.
    + in the database. +
    + The techniques available for a partitioned table interval are interval, interval-+.
    + List, range-Hash, and interval range. +
    +"+

    In order to disable interval partitioning on the transactions table, use:
    
    ALTER TABLE transactions SET INTERVAL ();
    

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b32024/part_admin.htm

    Disable partitioning interval on this table, create a procedure to run every day we'll say, to create a new partition and chop the old partition of the appropriate table. I presume that the automatic partitioning interval creates the partition with the logging by default option without checking the parameters in the table. I have seen no information on this in the Oracle documentation.

    Hope that helps.

    Ogan

  • Need help to start a partition converted previous physical Machine manually in VMDK

    I had a problem with a HD that was not in a State of health , I was able to make a backup with Acronis Image Home in time. The backup has been partial, the original disc had 4 partition (3 primary and bootable partitions and a logical partition of data only), it was a Boot Manager to boot Windows 7, Windows Vista respectively (2), WindowsXP (3) (1). I made a backup of the W7 partition and the DATA partition.

    I had no need of the old disks of Vista and Windows XP, and that's why I made the partial, not backup to disk backup.

    I want to virtualize the old machine. Using VMware vCenter Converter I could not convert the tib file, it gave error, probably because it was only a partial backup of the first and the last partition.

    So I have chosen to follow a different path, I mounted the TIB file, which has mounted the two partitions as separate discs, then using Backup of EASE, I made a backup of the first partition (Windows 7) and converted to the VMDK image using VDDK 5.1

    Now, I created a 9 VMX (Using VMWARE) Workstation, which asked me to convert the VMDK in version 9.0 (I said NO). I also converts the data partition later.

    . Starting the virtual machine, he started for the Boot Manager, but obviously it does not work, no matter what boot option I chose I get this error:

    Status: 0xc000000e

    Info: The boot selection failed because a required device is not accessible.

    If I remember well using VMware converter, the software takes care of the conversion of the machine as well as pilots of controller used when the machine has been installed on the real hardware.

    Now, I need solve this problem and I need advice to do all the steps safe and functional without worries.

    Priming for sure and partition table sector must be updated to reflect a disc with only a partition and must also solve the problem of all the drivers installed in the system that could give a problem.

    I have the installation DVD of Windows 7 has tried to fix the trunk then now, it identifies and the main C: Partition successfully deleted other references of boot partition. The system seem to start but I got a BSOD:

    Status: 0x0000007B

    I think that the problem is related to IDE drivers or something, how do I fix this problem?

    Relok.

    Sorry - I'm in a hurry and don't have time for lengthy explanations.
    Take a look at my site http://sanbarrow.com/p2v2008r2.html
    It has a section "patch - easy alternative."
    This applies to win7, 32 and 64 and 2k8r2

    Use a recovery CD if the builtin recovery mode cannot be started.

    Also, make sure that your vmx always have lines
    scsi0. Present = 'TRUE '.

    scsi0.virtualDev = "lsisas1068".
  • Need help with drivers for Satellite P205-S6267

    I think I have all the drivers for my laptop, but I can't control the brightness of the screen or access capabilities of standby power. I downloaded tons of drivers power saver, and none of them work. Someone please help. I am running XP and the only driver I found is for Vista. I've been at this for two days... Please write to me at:

    [email protected]

    Hello

    Just FYI: whenever you need a driver download from http://www.csd.toshiba.com/cgi-bin/tais/su/su_sc_home.jsp?

    As you can see your model of laptop is not yet supported for WXP and I guess you have to wait because you need precisely designed these tools and utilities for your laptop model. In the meantime, I think you can live without brightness control option. In my opinion, it is not so important. Also try to use the Windows power saver options. I'm sure you can use them up to what Toshiba offer WXP tools and utilities.

  • Need help finding drivers for W7 for HP Pavilion a6220n

    I plan to upgrade my HP Pavilion a6220n Vista 32 bit to Windows 7 Home Premium 64 bit.

    I need help to find the drivers for W7. When I go to HP driver download page and select the OS W7 since the menu drop-down it does list all the drivers, could someone provide me a link where I can find all the drivers W7 please?

    I heard that we can use Vista to W7 drivers, is it possible?

    Any help would be greatly appreciated.

    Hello:

    Yes, you can use the drivers Vista for your PC, and it should work fine.

    After have connected you to the internet, windows update will download all drivers windows 7 that may be more current than the vista ones.

    DO NOT under any circumstances to Flash BIOS after installing Windows 7, or you may damage your PC most likely permanently (as in kill him).

    If you find that you need to update the BIOS, do so now with Vista installed.

    Paul

  • Need help finding parts for upgrading pc?

    Hi I want to upgrade my pc and I know this is old, but I need help to find parts I want to improve everyting.

    Here is my pc (hp media center m7260.se desktop pc units). Please I need help.

    Yes, this processor will work with the material. "But the opinion States: currently, item can be shipped only within the United States.

    Did you read the links (information and motherboard) that lasvegaswireman posted for you?

    Micro-ATX: 24.4 cm X 24.4 cm

    Buy a new motherboard will automatically end the use of the current operating system (ie the XP OS).

  • Need help with license for Windows store

    Hello! I have problem with Windows store, he says he has a problem with the license.

    It happened because I tried to upgrade my Windows 8.1 to Windows 10 and I've failed at about 20 times. Servers of M$ have been save this issue but they have not registered my fails so now servers $ M think I use illegal license for my laptop. My laptop is Asus F55A and I can not use the store because M$ servers does not allow me too.

    Please Microsoft something about it.i have legal Windows but probably your servers register this as illegal because I repeatedly upgrading to windows 10 who never worked and your servers did not know my fails.

    Please answer.

    Error with Windows store code "this application failed to start because of a problem with its license. Please try again later.

    Any help will be for me!

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you are facing problems with Windows.

    I suggest you to refer to the suggestions of B Abid replied on 29 October 2012 and check if that helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-windows_store/unable-to-open-Windows-8-store/8a90d67e-9FEE-4B1F-A549-e702d0b207f4

    Hope that the information provided is useful. Let us know if you have questions related to Windows, we will be happy to help you.

  • Assistance button works do not (= does ' t start VAIO Care Rescue) after having lost and recover the partition table / MBR

    Hello

    For some reason that I lost my patition table but I was able to get it back and I'm rewriting MBR. I'll be back all my partition and files contain the VAIO recovery partition except files on the operating system partition ("C:\ »). It's an unformatted partition. VAIO Care rescue didn't work so I had to format "C:\". "and reinstall windows 7 and now all is good.

    I have VAIO Care Rescue. I think that it is enough to change the partition table / MBR. What exactly is the problem and is it possible to fix the problem of button Assist?


    And if one removes all xxxx (include VAIO Recovery) and creates new ones, is it possible, software or image of the recovery restore partition and Assist button start VAIO Care Rescue?

    My laptop model: VPCEA25FG

    Thank you

    You can restore your computer back to factory with all the pre program and software installed by using recovery discs. For further assistance, please recommend contacting Sony's Support Center in your area at http://www.sony-asia.com/support/product/VPCEA25FGfor your model of Asia-Pacific computer. Thank you.

    If my post answered your question, please mark it as "accept as a Solution.

  • Hi need help of mixture for dissemination, Adtoox Norway

    Have little experience sound mixing, and need help in the right understanding of these specs:

    PPM peak value

    + 4.0 dBu (-14,0 dBFS) PEAK of Maximum sampling-7.0 dBFS Leq loudnessMust be of-22,0 to-17,5 dBFS

    How I understand it, is that the global PB should be under - 14, but there could be a peak of-7?

    Thank you

    PPM peak value

    + 4.0 dBu (-14,0 dBFS) PEAK of Maximum sampling -7.0 dBFS Leq loudness Must be of-22,0 to-17,5 dBFS

    How I understand it, is that the global PB should be under - 14, but there could be a peak of-7?

    It's a slightly unusual specification has been given to you here! Unfortunately there is no simple explanation of-figure Leq is a weighted equivalent volume level and does not have "peaks" as such at all. In addition, strict, there must be a period of time attached to it, but I think that they have renounced it and said that it applies only to the total duration of your program. What would be more useful would have been loudness ITU specification - R (1770-2 BS) indicated in LUFS - hearing can measure this directly.

    Anyway, all this is a bunch of total uselessness. The idea is that the sound levels of the program should be kept within limits determined that people must keep setting levels of volume on their televisions or radios. Guess what? It does not work! Even with the broadcasters who respect carefully the specifications - such as the BBC - you always get big enough to be irritating variations. They do it for me every Monday evening on BBC2, for example...

    But this isn't just a mouth shot - the most useful thing I can do is give you a link to the BBC document that explains this as clearly as possible. If there are parts that you still don't understand, go back and ask.

    downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP202.pdf

Maybe you are looking for