Three questions on partitioning

RDBMS version: 11.2.0.4

OS: RHEL 6.4

Type of environment: OLTP

++++++++++++++++++++++++++

We have a large non partitioned table with 4 billion documents and is 3 TB in size.

We want to partition this table so that it can be easily maintained. We prefer partitioning on a daily basis.

We are required by law to retain data only for 15 days. So, let's drop these scores after 15 days.

The existing table using tablespaceA.

We want to score range (with INTERVAL) by the CREATED_DATE column. We want to move the existing data to the great partition of base called PRE_2016 as shown below.

About, it would look like

create the table order_dtl

(

number of order_id,

billable_flg not null char (1 car)

complmntry_flg not null char (1 car)

order_quantity_luom not null varchar2 (20)

.

.

.

CREATED_DATE timestamp (6)

)

partition by range (created_date)

interval (numtodsinterval(1,'DAY'))

(

PRE_2016 PARTITION VALUES LOWER THAN (TO_DATE (DECEMBER 31, 2015 23:59:59 ',' HH24:MI:SS DD-MON-YYYY ',' NLS_CALENDAR = GREGORIAN '))

)

IN-STORE (tablespaceA, tablespaceB, tablespaceC);

Question1. No idea how long it will take to make Exchange a partitiong using redefining online? Just a rough estimate would be.

Question2. In the existing table, we have data for the years 2013, 2014 and 2015. When you create the partitioned table mentioned above, is there a way that we could divide the base for the years 2015 and 2013,2014 partition?

Question3. After redefining online, I have to manually create the constraints and indexes. Right?

None of the suggestions/recommendations are welcome

For daily partitions, I understand that clues them are better.

Better to do what? Consider CHOOSING. You expect to have 15 partitions. Search by index of a local index no prefixes will be so fifteen index partitions, which will have about 15 times so that the search for an overall index of research. Indeed, you may find that the optimizer favors the scans. Are you sure that you want to partition at all? Partitioning can make sense if you have hundreds or thousands of scores, but just fifteen years? Why bother?

Tags: Database

Similar Questions

  • Inspiron i5559 - three Questions

    I bought a Dell i5559-3347SLV. It's a laptop 15.6 "Inspiron, illustrated here: officedepot.com/.../Dell-Inspiron-15-Laptop-156- screen / I've had it for a week, and I almost like him for what it for what I use it for. I looked at the manual time and the maintenance manual, but I have still three questions:

    (1) when I close the lid, I noticed that it does not completely close flower on the left side and partial left front. There is a 3/16 "to 1/4" gap (credit nearly two cards can keep out), while the right side closes quite SHORT. If I run my hand (not a lot of pressure) from the back to the front of the left side of the cover when it is 'closed', the gap goes and lid together is nice and SHORT. I don't know if it is an exchange value for another laptop of the same model or not. I think that the left hinge is just a little more tight than necessary. Any opinions?

    (2) the machine will start with the number lock off the coast. I didn't go into the BIOS to see if I can change the value by default, yet. However, when I press the NumLock key to activate the numeric keypad, I see no Fn key light up to indicate that it is. The only thing that indicates that it is is in the area of hidden icons, for which you must click to enlarge, and then if the NUMLOCK is turned on, it contains a square box with the number "9". Who wants to have to go through that to see if NUMLOCK is turned on?

    (3) should the power button, which is round with a translucent vertical stripe, dividing it into two, light when when it is powered on, or turn in dormant or mode orange screen saver?

    TIA

    Blindmelonball
    ejn63

    If #1 is annoying, have the system replaced - in particular if the hinge shows a sign of liaison.

    #2 and #3, there is no LED to indicate the State of num lock, nor is it a light power button - the only LED on these is on the front edge of the system (indicates the State of charge).  It has no HDD LED on them, either.

    #1, not binding, but think I'll exchange due to cosmetics

    #2, thank you for all that

    #3, found the BIOS was set ON NumLock as a default, however, I turned off and then back ON, but still no luck. I will focus

    Thanks again.

    I exchanged for another laptop (same model) yesterday.  It closes perfectly FLUSH.  I can say about this news that the hinge (s) was too tight on the first.  On this new one, when I close the lid, it is steep until the last inch or more, and then he shut the rest of the way by himself.  With the first, I had to push it shut all the way and then some.

    It's my laptop 13 years (9 Dells), and they all closed RAS.  I wonder why I even asked for it.

    NumLock on this second laptop seems to work (remains enabled throughout of MESSAGES).

    Thanks for the reply.

  • View assessment - three questions

    Hello

    I'm going through an eval of view and three questions came so he was working on an external access via the Security server in our DMZ.

    1. with the help of this article: VMware KB: guidelines for the production and importation of a SSL certificate for the view view connection Server 5.0.1... I bought a certificate from an external certification authority (Thawte) and imported into the keystore on the Security server.  I created the file locked.properties in C:\Program VMware View\Server\sslgateway\conf.  After the reboot of the Security Server, it always seems to use its self-signed certificate.  Are there any other missing stage of this document?  I stumbled upon the blog of a guy who runs it without keytool, and one of its not said that the friendly name on the cert should be vdm... don't know if this is specific to its environment, or a requirement of VMWare.

    2. I was able to connect to the customer external Horizon once recognizing that certificate signed by the self was not reliable.  However if I boot a desktop computer from the pool of bound using PCoIP clone it does not connect.  Looks like it connects (the screen goes black and I get the bar of high control of the screen, but then it closes and I get a message saying "' the connection to the remote computer has finished".  I guess it's a firewall issue, and I watched http://blogs.vmware.com/consulting/files/2014/06/Horizon-6-Firewall-3.png and Ports UDP and TCP of the view.  I'm fairly certain that I had all of them.  For PCoIP, is all that I need to open TCP/UDP 4172 external in the Security Server and the server safe for virtual desktops?

    3. If I change the Protocol Microsoft RDP, the work of connection from the outside, but I get a permissions error when it starts to connect to the desktop computer saying that I must be in the remote desktop users group.  I am able to connect to the same mass of Clone bound since an internal machine using the same credentials if.  Is there something different about how the bureau is launching externally vs. in-house?

    Thanks in advance for any help!

    Dylan

    1. the friendly name of the certificate must be "vdm".

    This is how see selects the right certificate.

    2 how get a black screen when you connect, is almost always a firewall problem. Apart from rules, check that you have correctly configured the public url. in the administration page under view-> server configuration.

  • Three Questions from beginner to Captivate 3

    Adobe Captivate 3.

    I have three questions from beginner to Adobe Captivate 3.

    1. I noticed that CP3 only creates SWF files.  Why not offer the possibility to create an FLV file in the final product?  What is the difference between a SWF file and a FLV?

    2. I want my finished product for a single slide with a picture in the background and some areas of reversal.  It seems that no matter what I do, the blade is not fixed, but faints and disappears after the default time of 3.3 seconds.  How can I achieve making the slide remains in place, not disappear, and behave as I want?

    3. I want to do a slide that has a video autoplay Flash on it (this part I know how to do), but I want the slide to move to another slide specified when the video ends, without user action.  How can I do?

    Thanks to anyone who can help me on these issues.

    Hello

    Doug chaplain wrote:

    Adobe Captivate 3.

    I have three questions from beginner to Adobe Captivate 3.

    1. I noticed that CP3 only creates SWF files.  Why not offer the possibility to create an FLV file in the final product?  What is the difference between a SWF file and a FLV?

    CP3 does not FLV because it was not part of the specification for CP3. I don't know why it is like that. Maybe the Captivate development team knows for sure. In any case, Captivate 5 was recently released. If the point is little questionable, right?

    Regarding the second part of this question, SWF can have interactivity such as bearings or clickable areas or buttons that perform different actions. FLV is usually just a video, just like a DVD movie that you watch passively, and you do not participate.

    2. I want my finished product for a single slide with a picture in the background and some areas of reversal.  It seems that no matter what I do, the blade is not fixed, but faints and disappears after the default time of 3.3 seconds.  How can I achieve making the slide remains in place, not disappear, and behave as I want.

    You can get there. Just insert a click box and time it so it suspends the slide at the right time.

    3. I want to do a slide that has a video autoplay Flash on it (this part I know how to do), but I want the slide to move to another slide specified when the video ends, without user action.  How can I do?

    So now you change course on us? You said to question 2 you want the finished product is a single slide! This is perhaps another project, you're talking about.

    If you examine the properties of the slide, you will discover a labeled area of Navigation. Using this box, you can choose to navigate to another slide when it finishes playing.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcererStone blog

    Captivate eBooks

  • Question about partitions on Equium A100-027

    Hi all!

    I'm new to the forum but have been hidden for a while and he thought at the time that I said "Hello".

    This and the fact that I have a question about my laptop Satellite A100-027.
    The hard drive on my laptop seems to be divided into three partitions = Vista (c) / data (E :) / WinRE (d) with the WinRE (D :) is quite small but others, quite large.))

    My C drive is up to 3 that GB free with about 35 GB of free data (E :) is possible to merge these two to give me a big drive? And if so, how?
    Please excuse my ignorance, but it seems impossible to me to "get my head around" this thing hard drive and would split the a large hard drive.

    Any help would be greatly appreciated and once again, Hello to all.

    Hello

    As the user previous already said, you can manage HARD drive partitions in disk management settings.

    If you n t want to have a data partition (e) then you can try to delete it in disk management.
    Then you can add this empty space of the HARD drive for other partitions on the HARD drive.

    But note; the empty space will be placed at the end of the HARD drive. I don't know if your C partition is placed as a second HARD drive partition, but if so, then it should be no problem to add empty space to partition C (System) of m.

    Concerning

  • Two Questions of Partition

    I want to change the drive letter of a couple of scores. For the current configuration, see: http://paulrittman.com/CompMng.png.

    I want to do is make my score of documents (currently F), d.

    It is, the letter D is currently assigned to a backup partition. When I right click on the partition in the center pane higher in my screenshot, I don't get anything in the context menu, but a link to a help file. When I click on partition F, however, I don't see the option to change the drive letter assigned.

    In addition, if you look in the upper middle pane, you will see two instances of the recovery partition (D).

    So my two questions:

    (1) is there a way I can change the drive letter of the partition recoery? Or even if I can him, isn't it advised?

    (2) the presence of two lines to my D recovery partition in this upper middle pane means anything it either bad - such as, if I ever need, will be miss BIOS Windows / connection and refuses to start or restore from this partition?


    HP LaserJet p1102w

    Hello

    No, you cannot because the Manager of Recorvey needed. but you can create a recovery (DVD, USB) media and delete. Please note: you must correctly create and keep in a safe place.

    Kind regards.

  • Questions of partition T43 (1871) hidden

    I was given an old T43 (1871), on which I could install Windows 7 and, surprisingly, have almost everything works pretty well (even if there are two elements in the device manager that do not seem to be cooperating). Regardless, it works well (for an old machine Pentium-M with 2 GB of RAM).

    Here's my question:

    There is a hidden partition which, if I understand correctly, contains information of the recovery, to make the machine in the way it was when it came from the factory. As this machine comes with XP and I now have Win7, is it safe to erase and delete this partition? Or is there something in this partition that has something to do with the blue Access IBM button that seems to be the equivalent after pressing the DELETE key in a generic Windows PC? Just in case I am confused the issue, let me rephrase the question. Relying on the Access IBM button above the keyboard works correctly (to choose a different disk or enter the BIOS) if I remove the area of the hidden partition (assuming I want to restore the T43 in its delivered state of XP?

    If I have fubar was the question, please let me know and I'll try to clarify. Thank you very much.

    Barry

    Welcome to the forum!

    It is perfectly safe to nuke the recovery partition you have no intention to run XP on this T43.

    Once the recovery partition is removed, the blue button will offer you start options and nothing else.

  • question of partition dividing Acer e1 - 572 g

    Hello everyone I bought an acer e1 - 572 g with a 750HDD.

    My question is can I divide the c partition into two halves without effect on the hidden restore partition?

    or won't be able to recover the factory default after?

    Thank you

    Yes, that's right, this happened to me a few years back with Vista, resumption of the factory was stuck when I left the partitions in the alteration of the State but when switched back to the original set upward (IE, as it was when I bought the laptop) recovery plant is completed without a hitch.

  • Three questions about the upgrade of CS6 CC

    Hi, I just have three short questions thinking about an upgrade:

    1. He is there discount any more as a user CS6 when it goes into the CC, right?
    2. Project Comet will be part of the CC when released, right?
    3. When it goes into the CC, is it better to remove the CS6?

    Thank you very much!

    Hi Benjamin,

    Please find the answers below: -.

    1. He is there discount any more as a user CS6 when it goes into the CC, right?

    The discount is gone for the improvement of the Creative as a result of the creative cloud.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    2 Project Comet will be part of the CC released, right?

    Please visit:Presentation project Comet: a new tool for the design and prototyping user experiences fast | Creative blog Cloud by Adobe

    App design, prototyping and user experience | Adobe project Comet

    3. when the upgrade to CC, is better to remove the CS6?

    The amount of the fine to have both versions installed on your computer. CS6 version can coexist with a CC version without causing any problems.

    I hope that answers your query!

  • Formatting for sale - question of partition Inspiron 9100

    Hi all

    I looked through forums and the difficulty in finding the exact answer to my question.

    I will sell my Inspiron 9100 this week - I have no CD of restoration, as it has the partition hidden for formatting/reinstalling.  However, I read that this type of format may not be to wipe my hard drive, and for data protection issues should I use external software to remove all my information on the drive - my questions so are:

    What utilities to wipe the hard drive are free and easy to use?

    These utilities will remove the partition to restore the system to factory State?

    Of course, my main concern here is the 2nd question!

    Thank you very much for any help you can offer, I'm a little trouble with this kind of things, and with the laptop sold Tuesday, I'm desperate!

    Steve

    Message edited by iamstevie on 06/07/2008 08:10

  • Question on Partition 'DATA' on the Satellite X 200 - 20 s

    Hi, firstly it is great that toshiba has this forum directly from the page of the manufacturer. I wonder what is on the partition of DATA from my laptop. The 200 X 20 s comes with two 160 GB HARD drive. One is divided into two 73 GB. I would like to install linus on the DATA which is empty. What is the purpose of it?

    I guess that the intent of the parititon of 'DATA' is to store data on it. Sound very logical in my opinion. Since you have a HDD recovery you should check first if this DATA partition is not the recovery of HARD drive partition. I think that the best thing to do before installing linux, create a recovery disk with the "Recovery Disc creator and then install your linux system.

    On linux, I have an interesting link for you:

    http://Linux.Toshiba-DME.co.jp/Linux/index.htm

    Hope you find your machine here.

    Welcome them

  • Question of partition: partition and narrower than the disk space

    Hi, I have a big problem with OS X El Capitan 10.11.3.

    I used to have a Windows partition with bootcamp which I deleted via bootcamp, but it crashed.

    I lost all my partitions and even os x. I have therefore started in recovery mode and launched disk utility, I could not create a partition OS X 90Go on my 120 GB SSD, and I installed OS X on it. Once installed, I have tried to maximize the size of the partition in disk utility to the actual size of the SSD, but it wouldn't work. Worse still, it actually shows my OS X partition a 60 GB instead of 90... (we also say that change log has not been activated, I allowed him but nothing happened)

    How can I make my OS X partition as big as my SSD?

    Here are some pictures of the utility disc and occupied disk space.

    Try to launch the Boot Camp again to see if it will delete the partition. It acts like it doesn't have.

  • Satellite M60-170: Question on partition Express Media Player

    Hello

    I want to install Linux on a Satellite M60-170 (thus transforming part of NTFS partitions in other systems of files) without erasing/reformatting the Partition of Express built-in Media Player.

    I don't see 2 Partitions using Partition Magic 8, predefined Microsoft (NTFS) 37 GB each on the hard drive of 80 GB.
    I read on the forum that the Express Media Player is a T88 204 MB partition system.
    How to see where this partition is located or do you know where it should be?

    (Partition Magic reported an error right after the end of the 1st partition, sector 7815624; the 2nd NTFS(1st extended) begins at the 78156288 sector: I expect that the Express media Player is a 2nd primary partition located between 2 NTFS partitions, but I would be sure.)

    Thank you in advance,
    Bruno

    Hello

    I m not 100% sure, but I think that the Media Express hidden partition is placed at the end of the hard drive.
    I found information that the disk HARD should at least 150-200 MB of free space must be available.
    This free space must be on the end of the HARD drive and there must be unallocated.
    To get these free places on party products 3rd HARD drive must be used.

    You should also consult this useful document on the Express Media Player installation.
    http://support.toshiba-tro.de/KB0/TSB58014O0008R01.htm

  • Question about partitions on Portege M700

    Hello

    I was wondering why my M700 Vista Ultimate came with 3 partitions.
    EISA, the part. C: System, a primary partition without name of 5 GB.

    The EISA should be the recovery partition, but what is the last for?

    I can delete to create a different partitioning scheme?

    THX.

    EISA is not the recovery partition and this partition Go 1.5 belongs to Vista. The name of this partition is also WinRE (Windows Recovery das). If you want to know more about this please use Google. You will find many interesting documents on this subject.

    Portege 700 unknown to me but 5 GB partition can be partitions for recovery that contains the recovery image. For older models of laptops the recovery image was always recorded on DVD, which means that the recovery image is big enough. I presume that it is between 3 and 5 GB.

    You have already created recovery DVD? If this is not the case, try to do. Tell me if you need two blank DVD media.

  • Three questions posed by a new user of Android (from Nokia)

    The Motorola Cliq is my first non-Nokia phone in a dozen years and I am happy to say that, so far, I'm impressed. A few questions though:

    (1) how to remove an application that mae installed on the device. For example, the Amazon MP3 store

    (2) how do I know what apps will try to update background and how do I update manually or only via wifi?

    (3) when I connect my phone via USB, I can't see it as a drive. How can I do this to add files to the SD card?

    Thank you! I am pleased to learn more about this new phone of mine.

    gtbarry you can mark this thread as answered?

    Thank you

Maybe you are looking for