How to move lines in their own partition

Hello

Here's the story

I have a script create parition and drop parition into a rolling window... .and keep 2 weeks of data

parition table by range with column start_time

somehow, several data is wrong start_time say 2080 script couldn't handle this, so, parition could not be created and droped as usual

and I end up like this
name of the partition
p_20800910 < all my data >
Emty P_20080911
void p_20080910

now I want to delete lines with 20800910, only hundreds of them and redistribute the data in their own partition, so this may work

How should I do?

movement of line are activated

This generates enormous, but data oder total are approximately 35G or more

any suggestions?

Thank you ~ ~

BR/ricky

now I want to delete lines with 20800910, only hundreds of them and redistribute the data in their own partition, so this may work

Seems to me that you do not use the partitions should be used. Distribute the lines after the fact through partitions is not a bright idea. The goal of partitioning must have this automated (via the criteria of the partition) from the beginning. Creating a partition with the evil inside lines... It is simply not true.

To fix this mess, I would be:
-run a DEC (create Table as select) on the partition of junk and create tables for 20080910 and 20080911 lines
-remove the partition table
-recreate the partition table correctly! (without index)
-use an alter table Exchange partition to swap the contents of tables have been created in the correct partitions
-Add the clues the to the partitioned table

Partitioned table usually means data massive and extremely cautious and careful not to cause unnecessary I/O than e/s on large volumes of data is quite expensive. This means also use CFDS as much as possible to manage partitions and data in partitions for LMD do.

If this isn't the case, then IMO're missing you some serious considerations on how to make tables partitioned to work effectively for you.

Tags: Database

Similar Questions

  • How to move lines up and down?

    Have a simple html table.

    How it moves lines up and down? change of position?

    So easy with Excel, but I'm lost with DW. Thank you!

    Such a thing of simple dimple in excel up and down lines.

    HTML is not a worksheet.

    Not in the code, that's why I got DW, but I guess I'm open to anything then.

    If you want to use DW, that will have to change.  It is quite punishing to those who avoid the code.  The irony is that other than a mental barrier, it is really very simple.

  • How can my users add their own text in my Web site

    Hello. I'm really looking for an answer to this. I want my users can add their own text on an image in my Web site. I find this feature in some design sites. Please answer, I really want to manage it. Thank you.

    Hi Peren,

    I'm afraid that this is not possible in Muse at this point, I would recommend that you post it on our ideas here, https://forums.adobe.com/community/muse/ideassection, and let our team of devs know this requirement.

    - Abhishek Maurya

  • How to move free space from one Partition to the other?

    I first got this computer (Dell, Windows 7) I had two I had two partitions, a C drive which had 50 GB and a D drive that had the rest of my 500 GB (approximately 397). now my c drive it filled and I can't get it all files to move on go drive D, then it's like I don't have any space left on my computer. I tried to reduce the amount of GB that were in the D drive, but it won't let me expand the fill c. and I can not just delete the D drive eather because I have files on there that I had to move to the course. is there a simple why i can shrink the D drive and extend the C drive?

    Another option would be to leave the scores they were and redirect your Documents, photos etc to the bigger partition (I think that's what you were trying to do it before you tried to change the partitions) as described in the following link: http://windows.microsoft.com/en-US/windows7/Redirect-a-folder-to-a-new-location

  • my computer is very slow and the sound is crackling and move icons on their own i have norton security and scanned and it came with a few flaws, but has not yet sorted

    my computer is very slow especially on the startup sound is crackliing and when you watch videos it jumps a little icons often have moved when I start I have norton security and it did an analysis complete and it came with a few things but has not yet sorted

    Hello

    Try to update norton antivirus defination files and run a full system scan in SafeMode (http://support.microsoft.com/kb/315222).

    I hope this helps.

  • How can I send email to a list so that each recipient sees their own name, but none of the others in the list?

    I know how to use the BCC field so that the recipients do not see THE names, but I wish that each recipient to see their own name, but none of the others. Is this possible?

    I think you have to use mail merge.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/mail-merge/

    There, I discovered recently, a list address syntax to be used in the address line, which could be useful for you, but unfortunately Thunderbird does not support.

  • I think I have 2 Apple ID. They each have their own email and they are both mine. How can I fix it?

    I think I have 2 Apple ID. They each have their own email and they are both mine. How can I fix it?

    Here's how it works: you can change your Apple ID email address and your content will move you to your new email address using the same Apple ID. An identifier Apple can not be combined with the ID or another address, it will survive as its own Apple ID yes I know I content purchased under more than one Apple ID and am stuck with it also.

  • How to move rows from one partition to the other?

    We have a requirement for data retention for 6 months and after 6 months data can be withdrawn with the exception of a few documents to certain statutes (which cannot be deleted even if they are more than 6 months). We have Oracle 11g.

    I wanted to see if the following strategy works:

    I'll have monthly partitions and 8 sub partitions (hash) in each of the primary partitions. The secondary hash partitions are to spread the load of application data and balance the insertion of data in order to avoid any dispute.

    After 6 months, is it possible for me to spend with the line that must be kept in a different partition and drop the last partition. I wanted to avoid deleting data because we have that dead very shortly of database and delete data require us to coelize the database to avoid fragmentation.
    If I move the data to another partition, how do I do it?

    Thank you

    You guessed it! Exactly what I was trying to convey. That process will work the way you want.

  • How can I set up two e-mail accounts with their own address book from Thunderbird?

    I have two people with a new office of 8.1 to win that they share. Everyone has their own email accounts. I installed Thunderbird on their old XP desktop, created their accounts and copied the profile of Thunderbird in the XP box to the new box of 8.1. Both accounts have been set up in Thunderbird, including the default accounts of Outlook Express WAB address book. The second individual had their own unique AddressBook in OE and wants its own address book (not a mailing list) when she wrote and email. In the Thunderbird AddressBook in the 8.1 box, I created a new address book for each of them. How import the WAB OE unique that I exported from OE in every address book unique individuals in Thunderbird?

    I don't know much about the WAB files, then try this: https://support.mozilla.org/en-US/questions/989835

    Now, that, if it works, allows to import address books.

    Your next question is multiple users.

    Thunderbird is designed around the assumption that, at any time unique, a BONE fide user is recorded in the computer and will have their own profile. Thus, each user has his own user account (in the operating system) and each will have its own personal records, including their profile of Thunderbird. Everyone will see only their own message box and their own address book.

    There is no support in Thunderbird to distinguish different users. It is based on the profile appropriate being on hand.

    If your two users don't mind seen each and other books addresses, then you can import them both. It won't be easy to stop one user to accidentally pull Contacts from the address book on the other.

    You have anticipated the situation by creating separate address books to the front. In practice, you will create new address books when you import CSV files. But you can leave it as it is and drag and drop Contacts from imported address books to where you want later.

  • How to get the ipad 2 is broadcast to each receive their own messages, instead of two lots.

    How to make Ipad 2 air belonging to separate the girls, to receive only their own messages i and not the two lots, they had at the moment. Thank you very much

    Each child must have its own Apple ID, which should be signed in iCloud, Messages and FaceTime. If you want to share purchased content, they can share an Apple ID for the iTunes and the App Store, or you can look in the family sharing:

    Apple - iCloud - family sharing

    See you soon,.

    GB

  • How (burning?) copies of your own movies on a DVD? I have only a single tray to insert the bland DVD. Is a required type of c1040 of DVD? Thank you

    How (burning?) copies of your own movies on a DVD? I have only a single tray to insert the bland DVD. Is a required type of c1040 of DVD? Thank you

    A drive and a blank DVD is all you need. Check
    the manual of your DVD burner and a DVD player to
    See the types of DVDs, they are compatible with.

    Personallty I have had success using DVD - R blanks.
    The following article offers some info about brands:

    What are the best blank DVDs?
    http://www.digitalfaq.com/reviews/DVD-media.htm If this is 'not' a commercial - protected against copying DVD...
    the following freeware can create an ISO Image
    that allows to burn copies.

    FWIW... it's always a good idea to create a system
    Restore point before installing software or updates)

    Download ImgBurn:
    http://www.Digital-Digest.com/software/download.php?sid=470&SSID=0&did=1
    (The download is: SetupImgBurn_2.5.5.0.exe)

    (During the installation there will be an option to install
    Shortcuts of UniBlue and the "Ask Toolbar"... you can
    you want to deselect those)

    The following tutorials may be worth a visit:

    How to create an image file of a disc with ImgBurn
    http://Forum.ImgBurn.com/index.php?showtopic=6379

    How to write an image file to a disc with ImgBurn
    http://Forum.ImgBurn.com/index.php?showtopic=61

  • How can I configure my computer to another person can use with their own password and do not go through the mine?

    How can I configure my computer to another person can use with their own password and do not go through the mine?

    Hello

    Activate the guest account or setup a new account with the access levels that you must allow.
    either will work.

    How to activate the guest account enabled or disabled in Vista
    http://www.Vistax64.com/tutorials/126933-guest-account-turn-off.html

    How to create a new user account in Vista (also see the related tutorials)
    http://www.Vistax64.com/tutorials/93009-user-account-create.html

    User accounts in Windows Vista
    http://www.optimizingpc.com/Vista/multiple_useraccounts.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to bridge two computers with their own operating system, Server1 to Server2 in the same room.

    Original title: bridge two segents HOW?

    Seem like MS does not explain how to fill two computers with their own operating system-> beautiful graphics and he said it's possible-> we know how to add segments to the bridge after its creation?  Server1 to Server2 in the same room.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Allowing the movement line temporarily on partitioned table

    Hello

    Using oracle 11.2.0.3 and have tables that are hash of composite range partitioned.

    We need to update the dates of theses for a small percentage of records 1 < %.

    Normally we have movement line enabled so that can copy the lines in the temporary table, update insert_table, remove lines concerned living table and replace them with the new dates of the partition.

    Another option allowing possibly temporariliy movement line.

    Thoughts?

    Thank you

    Is there any disadvanatges to allowing it for example from performance perspective.

    Haerd was a bad iade of have it activated - perhaps isn't so bad.

    Tom Kyte meets ALL these questions (and more) in this blog:

    https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:35203106066718

    If never actually cause you a row to move, then there is zero overhead. All the movmement of line enable does is give us permission to move a line, if you do not ask us to move the line - extra "nothing happens.
    . . .

    Follow-up Friday, March 10, 2009-02:00 UTC:

    Is there something wrong? Only you can answer that you have any application that expects the rowid is constant for a line? If yes - then it is false, if not - then it's probably OK.

    Any overload? No, it's just allowed to change a rowid if you perform an operation that would have caused a rowid to change - alter table t shrink compact space, flashback table t to..., update t set partition_key = some_value_that_moves_row;

    You can change a table instantly to activate circulation line - whatever the size of the table - it'll be instant - you have no need to do advance if you don't want, fairly easy to add later...

    I recommend you to read the ENTIRE blog because there are many other issues that should relieve your concerns and good examples.

    As says this quote above if you have an application that expects the ROWID is constant for a line, then you might have a problem.

    ROWID is the way the FASTER to search for a line. Sometimes the ETL process are complex and multiple operations on a line by multiple, separate steps.

    You can often get huge performance gains in saving the values ROWID lines collections or tables of work/temp during ETL processing. For example, a query in PL/SQL can use ' RETURN ROWID IN... "to get all of the ROWID that affects the query.

    This set of ROWID can be used in the following queries to locate the exact lines directly without the need of ALL indexes or other search criteria: WHERE ROWID IN...

    If the ROWID has changed during the process, it would be disastrous if these processes are written in:

    1. Enter the current setting of moving the line

    2. turn off the movement of the line during the process

    3 re-enable line movement ONLY if it has been activated prior to the start of the process

  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for