Partitioning Strategy Help

I am specifically looking for recommendations on why/when to partition both my data and indexes. We are trying to eak out more performance from our 350gb database. We have the data and indexes partitioned using the same partitioning ranges (6 partitions) and are experimenting with manually placing the files on different drives. Is there a direct benefit to partitioning the indexes? The tables are on name, address, and entity.

You are asking for strategy. In my opinion, there are two basic strategies you can pursue. Sometimes you will need to use one strategy for some tables and the other for other tables.
1) Partition pruning strategy: You try to partition on a key that will eliminate whole partitions when the data is selected or updated. For example, your data spans an entire year, but almost all processing is done on the current month. If you partition on the date column, the optimizer will determine that it need only process the partition for the current month.
2) Parallel query strategy: Sometimes you have tables that are quite large and almost always have to be processed in their entirety. These can be partitioned on an evenly distributed key so that the partitions can efficiently be scanned by parallel query processors and the overall result can be returned much quicker, even though the whole table still must be queried. Of course, this should only be configured on a host machine with enough processors and memory to handle the PQ processing.
I hope this helps,
Tim

Similar Messages

  • Partitioning Strategy for a New Hard Drive?

    I just got a FirmTek SATA controller card and 250GB hard drive for my MDD. Now it's time to format and partition it, so I was wondering what considerations should be made in deciding on a partitioning strategy.
    I'm running Tiger OS and associated apps, but I also want Leopard on the drive for future use. I have a database application (DEVONthink Pro) and data for my research that will be expanding in the future (maybe to 50GB). I also do some photo-editing with PhotoShop Elements and image files that may grow to 80GB.
    No music or video files. My OEM ATA drive will be my emergency boot drive and I have an external firewire drive for backups. Thanks for any advice on this.

    OK, now that I think of it, my question is a lot like asking what color car should I buy.
    So, with my minimal experience in what works best in the work-a-day world relative to hard drive partitioning, I have come up with this:
    Go with 3 partitions;
    Partition 1 -- 100GB, Tiger OS and everyday applications
    Partition 2 -- 66GB, Future home for Leopard OS and Leopard specific apps.
    Partition 3 -- 66GB, Database app. & data, PhotoShop Elements & image files
    Would the Tiger OS run faster in a partition by itself? Then put apps in another? Thanks.

  • Going to upgrade to Logic X. Need to keep OS 10.6.8 for Adobe CS4? Advise please as to best partition strategy.

    Going to upgrade to Logic X. Need to keep OS 10.6.8 for Adobe CS4? Advise please as to best partition strategy.

    Going to upgrade to Logic X. Need to keep OS 10.6.8 for Adobe CS4? Advise please as to best partition strategy.

  • Duplicate partitions, need help to understand and fix.

    So I was looking for a USB that I plugged in and went into /media/usbhd-sdb4/miles and realized all its contents was from my home directory.
    So I created a random file in my home directory to see if it would also update /media/usbhd-sdb4/miles , and it did.
    Can someone help me understand what is happening?
    Also if I can fuse sdb4 and sdb2 as one, and partition it as my home directory without losing its contents?
    Below is some information that I think would be helpful.
    Thank you.
    [miles]> cd /media/usbhd-sdb4/
    [usbhd-sdb4]> ls -l
    total 20
    drwx------ 2 root root 16384 May 28 14:16 lost+found
    drwx------ 76 miles users 4096 Oct 15 00:42 miles
    [usbhd-sdb4]> cd miles
    [miles]> pwd
    /media/usbhd-sdb4/miles
    [miles]>
    lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 465.8G 0 disk
    ├─sda1 8:1 0 19.5G 0 part
    └─sda2 8:2 0 446.2G 0 part
    sdb 8:16 0 465.8G 0 disk
    ├─sdb1 8:17 0 102M 0 part /media/usbhd-sdb1
    ├─sdb2 8:18 0 258.9M 0 part [SWAP]
    ├─sdb3 8:19 0 14.7G 0 part /
    └─sdb4 8:20 0 450.8G 0 part /media/usbhd-sdb4
    sr0 11:0 1 1024M 0 rom

    Check your udev rules...

  • Best partitioning strategy for OS 8.6?

    Hello,
    I have two hard drives on my beige 233 MHz G3 minitower (rev 1):
    4 GIG SCSI
    80 GIG ATA
    I need to install OS 8.6. I was considering using both drives but I do not know what I should put on each drive.
    Should I install OS 8.6 onto the 4 GIG drive or the 80 GIG drive?
    Option 1:
    4 GIG: OS 8.6
    80 GIG: applications
    Option 2:
    4 GIG drive: don't use it at all
    80 GIG drive: OS 8.6 and the applications
    Option 3 (using partitioning):
    4 GIG drive: don't use it at all
    80 GIG drive: First partition (15 GIGS): OS 8.6 and the applications. Second partition: (65 GIGs) for data.
    Unfortunately 4 GIGs is too small for all my applications and so that is why I was thinking of not even using the 4 GIG drive and instead putting everything onto the 80 GIG drive. I have heard it is a good idea to keep the system and apps on the same volume - I am not sure if this is always true however.
    Any thoughts?
    Thanks!
    The other issue is that I might have to further partition the 80 GIG drive into an additional partition for OSX in case I also need to install OSX because I read somewhere that on a beige G3, OSX must be installed in a partition that is no larger than 8 GIGs and it must be the first partition.
    This scenario would look like this:
    Option 4 (using more partitioning):
    4 GIG: don't use it at all
    80 GIG:
    First partition (7.9 GIGS): OS X and OS X applications
    Second partition (15 GIGS): OS 8.6 and the applications
    Third partition: (57 GIGs) for data.
    (I created a separate realted post under older hardware/beige G3/usage regarding how to boot between OS 8.6 and OS X in case anyone is interested.)

    Thanks Don and Jim,
    I carefully considered all your comments and here's what I plan to do:
    It is important for me to indicate that, for this beige G3, I will use OSX primarily (OS 10.1.5) and therefore I would like its partition to be as large as possible. I read this will benefit OSX's swap file needs. However the OS must be within the 7.7 GIG limit for this particular mac (beige G3). I can therefore conclude that I should make the first partition exactly 7.7 GIGs and use it only for OSX.
    Jim, you say that the 8 GIG limit for the startup volume applies to all OSes not just OSX and so that is a critical point for me. I will need to be certain about this. Are you sure OS 8.6 isn't bootable if it is in another partition beyond the first 8 GIGS on a beige G3? You see, I was thinking of installing OS 8.6 on a second partition of the 80 GIG drive like this:
    partition 1 (7.7 GIGs): OSX
    partition 2: (15 GIGs) : OS 8.6 and its applications
    Based on your comment (the 8 GIG limit for the startup volume applies to all OSes) this will not work - the OS 8.6 partition will never boot because it is not within the first 8 GIGs. I had thought that rule only applied to OSX.
    And if so, the best solution is to put OS 8.6 on the 4 GIG drive instead.
    Here is my final solution:
    4 GIG drive:
    OS 8.6 (plus maybe photoshop)
    80 GIG drive:
    partition 1 (7.7 GIGs): OSX (10.1.5 is the version I have)
    partition 2: (about 67 GIGs) : all the OSX applications, all the OS 8.6 applications and all my data
    partition 3 (5 GIGS) : scratch disk just for running photoshop in OS 8.6 (I may or may not create this last partition - still thinking about it)
    I might consider putting one or two of my OS 8.6 applications on the 4 GIG drive - the higher end applications such as photoshop which I think might fit on the 4 GIG drive with the OS 8.6.
    As for the 5 GIG scratch partition on the 80 GIG drive, I am still considering if I need to do this or not because I would rarely use it - only for the few times I might run photoshop in OS 8.6. Maybe I should keep this partition anyways for something else just in case.
    Other less important notes:
    I might, one day, be able to use OS 9 instead of OS8.6 in these examples, in which case I will just substitute 9 for 8.6 in my examples noted above. Howwever for now I am reserving OS 9 for another computer I have. As for classic, I don't need classic support. I would rather just boot directly into 9. I have used classic before and I found it to be slow.
    Thanks Jim and Don for your help.
    If anyone sees anything wrong with this setup please let me know!

  • Cannot delete Mac OSX partition, need help

    Hi,
         I recently checked my storage space on my 256 GB Macbook Pro and realized that I only have 199 GB of total available space.  Checking the Disk Utility, it appears that somehow I ended up with an "Untitled 2" partition that is taking up about 20 GB.  This partition is listed as being "free space", but I cannot delete it or otherwise adjust how much space it is taking up.  I think the partition might have been created when I installed the public Yosemite beta on a separate partition, however, it seems that I did not delete it correctly or something.  How can I restore my hard drive to only having the default "Macintosh HD" and delete the partition to free up space?  Thanks so much for any help.

    Hi,
         I recently checked my storage space on my 256 GB Macbook Pro and realized that I only have 199 GB of total available space.  Checking the Disk Utility, it appears that somehow I ended up with an "Untitled 2" partition that is taking up about 20 GB.  This partition is listed as being "free space", but I cannot delete it or otherwise adjust how much space it is taking up.  I think the partition might have been created when I installed the public Yosemite beta on a separate partition, however, it seems that I did not delete it correctly or something.  How can I restore my hard drive to only having the default "Macintosh HD" and delete the partition to free up space?  Thanks so much for any help.

  • Windows XP Setup doesn't recognize my Boot Camp partition!  HELP!!!

    I just got my MacBook two days ago, and as soon as I got it, the first thing I did was partition the hard drive using Boot Camp Assistant, but didn't have an XP installation disk, so just left the partitions until I got the disk. But then today I got a Windows XP Home Edition SP2 Install Disk. I followed all of the instructions in Boot Camp, and I started the setup. When I got to the menu that said to choose a partition, it only showed my Mac OS X partition and not the Boot Camp partition. The only partition there was Partition 1, file system unknown, and so I quit the setup and booted up into Mac, and deleted the partition, then made another one in Boot Camp Assistant. I then tried the setup again, and got the same exact thing. Has anybody else had this problem, and if you have, how did you resolve it? This is very annoying, and any help would be appreciated.

    dcarmody wrote:
    I called AppleCare and they told me that it is doing this because it is an OEM version that came with my sister's Dell. You need either a retail copy or the other type of OEM OS disk.
    This is nonsense. I installed from an OEM disk yesterday. The Windows OEM & retail installation disks are barely any different.
    Note that Microsoft maintain that legally, as per the EULA, you can't buy an OEM version yourself & install it, and also that the license sticker's key may only ever be used on the PC it was originally stuck to. Here in Europe they suffered a court defeat on that latter point - you certainly need a separate license key for each computer but it maybe transferrable if you uninstall from the original PC. Nevertheless, Microsoft still insist to anyone who pays them attention that this condition holds, and indeed your jurisdiction may vary.
    Unfortunately, this makes it frustrating to argue with anyone who maintains that you can't use an OEM disk (but nevertheless OEM disks DO work - I have used them on multiple occasions).
    Stroller

  • Stack OverFlow Problem with QuickSort Partition, please help.

    I have a Quicksort method that keeps running into a Stack OverFlow error when it attempts to partition.
    Here are my methods:
    public static void quickSort(int[] a){
              int from = 0;
              int to = a.length - 1;
              sort(a, from, to);
    private static int partition(int[] a, int from, int to){  
              int pivot = a[from];  
              int i = from - 1; 
              int j = to + 1;  
              while (i < j){
                   i++; while (a[i] < pivot) i++;     
                   j--; while (a[j] > pivot) j--;     
                   if (i < j) swap(a, i, j);    
              return j;
         private static void sort(int[] a, int from, int to){  
              if (from >= to) return;  
              int p = partition(a, from, to); // eclipse tells me my error is here.
              sort(a, from, p);  
              sort(a, p + 1, to); // I also have an error here.
         }Eclipse points to the sort method as the source of my error, which itself points to my attempting to partition the sucker, so I don't know what's up. It's probably something stupid, but I'm lost, so any help is appreciated.

         private static void swap(int[] a, int i, int j){
                   int temp = a;
              a[i] = a[j];
              a[j] = temp;
              }The quicksort method works until the array size is greater than 9723. That's when I get my overflow error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Purchase Requisition Release Strategy ---- help required urgently.

    Hello all,
    I have one severe problem in PR release strategy. Whenever we create a PR the Release is triggering but the name of the processer who will release this PR is not triggering. I have done the PO13, where the HR positions are maintained as per the release levels and PA30 where the SAP user ids of these processers is given. But still the processor name is not triggering. Is there any other transaction where we have to maintain certain data?? Kindly help me as this is an urgent issue.
    I will be very glad and give points to all of u.
    Thanks and Regards,
    Umakanth.

    hi,
    Check your release codes and its assignments in the release strategy..
    Also do check whether the PR is liable to trigger for the given characteristics as compared to your PR which you are making...
    Regards
    Priyanka.P

  • Installing OSX Lion on OSX Mountain Lion Partitioned drive-Help/Advice please

    I have my late 2009 27" iMac running OSX 10.8.5 Mountain Lion but need to install OSX Lion on a separate partition and would appreciate help / procedure advice as to how to do this safely.
    I need to do this because I have found that running FCP7 Studio under 10.8.5 there's some missing or odd keyboard and Timeline functions that were not there under Lion and FCP7 is a valuable tool for me that I don't want compremised. I'd like to be able to run FCP7 / Lion in a separate partition on the iMac.
    I have partitioned the HD and there's about 700gigs of clean space on the second partition. I also have downloaded from my account on the App Store a copy of Install Mac OS Lion to my Applications folder and I also have a copy of it on a USB Thumbdrive.
    So, what do I do now to safely install the second OS without messing up everything else that's on the machine in the prime partition?
    Thanks!

    Ok….I managed to work it out…..Installed Lion on the second partition, working fine now.
    PM

  • I get an error message saying, "An error occurred while restoring the disk to a single partition." when I try to use Boot Camp Assistant to remove my Windows partition. Help?!

    I'm trying to remove my Windows partition and delete Boot Camp altogether off my laptop. When I try to remove the partition, I get an error saying "An error occurred while restoring the disk to a single partition."
    Can someone please help?

    Boot from another hard drive or DVD and repair with Disk Utility.

  • Partitioning Strategy - Pls provide the best sol

    Hi,
    We are using Oracle 10.1.0.5. We have a table containing slightly more than 4 million records. The table is currently partitioned on a column called PRODUCT_ID (possible values : LLU, WLR3, WLR2 with more or less equial distribution) and whenever a feed coms our ETL process works for individual products, i.e. a merge statement works for say LLU one then WLR3 once etc. For each product the process executed four times in a day. So, the design is working fine from a ETL process prespective. Now we have another column called DUNS_NUM which is a alphanumeric column (business wise equivalent as customer id). Now users makes most of the query using the DUNS_NUM column. We have a GLOBAL index on DUNS_NUM column, but still the proformance is not that satisfied as it is working on a full table instead of any partition.
    I have one solution in my mind of duplication the table's data into another table where HASH paritition will be there on the DUNS_NUM column and this table will be used for reporting. After every operation in the main table data will be merged in this table. But there is two negative points as well for this :
    1. Data duplication
    2. Extra process overhead
    There no HASH-LIST or LIST-HASH composite partition possible on the version of Oracle we are using. So want can be the best way out in this situation.
    Regards,
    Koushik

    I'm just wondering here a little bit. You say this DUNS_NUM is something like a customer_id and you have an index on this column. If this is really like a customer_id, then you should get a very good response time as this sould result in a index access and table acces. It should not matter if this is the whole table or just a partition.
    Could you provide a execution plan (probably including the table and index statistics)?
    A hash partition (in addition to the existing list partition) will not help you for this select problem. Hash means randomly distributed data over the hash partitions. The records are still in the whole table, it is not buying you anything here.
    What you could try to do is grouping these DUNS_NUM, may be according to a mapping function or grouping the customers according to business requirements.
    Anyway I think you should have a good performance with the existing data structure.

  • Partition Question- Help

    Hi Folks,
    I have a MacPro with an external firewire 800 drive, the drive has 2 partitions, one with the boot backup the other with my work backup, however i need to resize the partitions without loosing the data (even though there is always a risk)
    Can i do this with Disk Utility? Or maybe ipartition or drive genius?
    Any help greatly apprictated!
    Cheers

    The answer is yes, sort of.
    It is possible to change a partition size using the command line version of disk utility, however, most people will not be comfortable using the terminal application and the command line. Also, to resize a partition with the disk utility tools you need to know a few bit of details about the partition locations and offsets... So I would suggest a third party application to do the partition size change.
    However there is a third alternative...
    You can copy (if there is enough room) the data from your external partitions to your Macs hard drive, then reformat and repartition the external as you want it. Finally copy the data back.
    Anyway, as I said, I think the third party partition resizing tools are your best choice.
    Tom N.

  • Boot Camp won't let me remove my windows partition, please help

    I am trying to remove my windows partition and boot camp won't let me. It gives me a message +" The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows."+ Please help!!!!!

    Use the Disk Utility to delete it and resize the partition immediately above of it so it takes up the released space.
    (51550)

  • Low disk space on hp recovery partition. Help!

    Hello
    I have pasted some media files(.mp3, .avi)on hp recovery D partition in order to move them back to their original C partition after formatting the system. And now when I open partition D with hp recovery those media files do not longer exist. This partition now is almost full so the added are there but i dont have access to them. They have got integrated with hp recovery and there is system denial when i want to open hp recovery.
    So help me, how to get an access to those media files?

    To open this folder you have to write:
    "cd+space+folders name"
    "cd dot"
    "cd 2 dots"
    Att Cristian
    If this answer help you click in Kudos to tanks.
    Tank You.
    If this answer help you click in Kudos to tanks.
    If you don't have more question click in Accept as Solution to close this case.
    Best Regards Cristian Derick.
    Senior Support Analyst.

Maybe you are looking for

  • IPod Touch 4th Gen 8G Not connecting to PC at ALL

    Hello. So I ran into a problem. I have a jailbroken iPod 4 Gen, and it connected to the computer and works properly. Charges. Connects to itunes. Everything. So i was looking around on safari and all of a sudden, The DREADED 20% Battery left alert ap

  • How can I make the Label go on top of the Text box?

    How can I make the Label go on top of the Text box? Thanks again, Doug

  • USB ports not working in safe mode

    I am trying to back up my computer before i take it to the apple store and i cant back up in safe mode using time machine, becuase im guess the USB ports arent working. Are there any solutions to this problem?

  • Nano connection problem

    I have a classic Ipod connected to I tunes and it works fine.  I recently bought a Nano for my wife, I treid connecting it to my I tunes to copy some of the music to her Nano, but it does not recognize it.  Can anyone help?

  • Block a PO line items whose asset is deactivated

    I have a custom requirement , where the user wants to bolck the PO line item even if its asset is deactivated.Is that possible ? Do we have any enhancement points where we can write a code so that the SAP does not check whether the the asset is activ