Droping partitions at once

ALTER TABLE table_name DROP PARTITION (partition_1000);
ALTER TABLE table_name DROP PARTITION (partition_1001);
ALTER TABLE table_name DROP PARTITION(partition_1320);(b
it is a delta partition,so trying to remove 320 partitions at once in pl/sql developer for a single table.
Like this i have to remove for more then 15 tables one by one, will this effect the database like filling up the archinve log destination by writing more logs.
please advice me the kind of problems that i am going to face , as i am doing it on the production box directly.

Hi Praveen,
here are some code samples that we have used few years back, you might change logic.....but atleaset you go some logic from this..
   CURSOR c_part (start_mmdd VARCHAR2, end_mmdd VARCHAR2)
    IS
      SELECT   partition_name, high_value
          FROM user_tab_partitions
         WHERE partition_name BETWEEN 'xyz_' || start_mmdd   AND 'xyz_' || end_mmdd
           AND table_name = 'ABCD'
      ORDER BY partition_name;
  TYPE va_part_name IS TABLE OF VARCHAR2 (9)
      INDEX BY BINARY_INTEGER;   
         v_part_nm   va_part_name;
PROCEDURE drop_partition (p_table_name IN VARCHAR2)
   IS
   BEGIN
      FOR i IN  v_part_nm.FIRST ..  v_part_nm.LAST
      LOOP
         EXECUTE IMMEDIATE    'ALTER TABLE '                     || p_table_name                 || 'DROP PARTITION '     ||  v_part_nm (i);
      END LOOP;
   END drop_partition;
   PROCEDURE Create_Partition (p_date IN DATE, p_table_name IN VARCHAR2)
   IS
      v_temp_start_mmdd   VARCHAR2 (4);
      v_pnext             VARCHAR2 (5);                -- Next partition name
      e_table_nt_exist    EXCEPTION;
      PRAGMA EXCEPTION_INIT (e_table_nt_exist, -00942);
      e_table_hgr_bnd     EXCEPTION;
      PRAGMA EXCEPTION_INIT (e_table_hgr_bnd, -14074);
   BEGIN
      IF validate_inputs (p_date, p_table_name) = 0
      THEN
         --Status =0 means, validation of inputs is successful
         -- Creating partition for required month
         v_temp_start_mmdd := v_part_start_mmdd;
         LOOP
            v_pnext :=
                     TO_CHAR (TO_DATE (v_temp_start_mmdd, 'MMDD') + 1,
                              'MMDD');
            IF LENGTH (v_pnext) = 3
            THEN
               v_pnext := '0' || v_pnext;
            END IF;
            -- Create the partitions
            EXECUTE IMMEDIATE    'ALTER TABLE SEBS.'
                              || p_table_name
                              || ' ADD PARTITION xyz_'
                              || v_temp_start_mmdd
                              || ' VALUES LESS THAN (TO_DATE('' '
                              || v_part_year
                              || v_pnext
                              || '  000000'', ''SYYYYMMDD HH24MISS'', ''NLS_CALENDAR=GREGORIAN''))
          TABLESPACE DATA_01
          PCTFREE 10
          PCTUSED 40
          INITRANS 1
          MAXTRANS 255
         /* STORAGE
          INITIAL 100M
          NEXT 50M
          MINEXTENTS 2
          MAXEXTENTS UNLIMITED
          PCTINCREASE 0
            log_read_write (   'Created '
                            || p_table_name
                            || ' partition '
                            || v_temp_start_mmdd
                            || '.'
            v_temp_start_mmdd := v_pnext;
            EXIT WHEN v_temp_start_mmdd > v_part_end_mmdd;
         END LOOP;
         log_read_write (NULL, 1);
      END IF;
   EXCEPTION
      WHEN e_table_nt_exist
      THEN
         log_read_write ('Error! ' || p_table_name || ' ' || SQLERRM, 1);
      WHEN e_table_hgr_bnd
      THEN
         log_read_write ('Error! ' || p_table_name || ' ' || SQLERRM, 1);
      WHEN OTHERS
      THEN
         log_read_write ('Error! ' || SQLERRM, 1);
   END Create_Partition;I have changed my table names, variables etc to generic for security purpose, might be code have some syntax error you can check for that.
This is just for your reference and provide some logic only.
Hope it helps you to some extent.

Similar Messages

  • Truncating/droping partitions

    i have to drop around 20 partitions for a particular table .
    the scripts are ready for droping and i have taken a logical export of 20 partitions.
    one thing i have realised is that the table have lot of constarints .
    my first question
    whether constraints need to be dropped/diabled before you can truncate/drop a partition on a partitioned table.
    i have a testing env also
    i ftpd the the logical export file and the truncate scripts to the UAT.
    the UAT env is just a clone of PROD .. so iam trying to import the 20 partitions into the UAT same schema and the same table structure (pls note UAT has got just 5 partitions only)
    while importing i got a new error it says the not null constarint is violated and the unique constarint is violated. i thought there might be a flaw withthe source Db .so i ISSUED SOME QuERIES TO FIND IF THERE ARE null values there and if there are any duplicate records.. the result was no duplicates or null records found.
    so the source is ok
    i turned my eye towards UAT env
    i tried to import the records into the same schema and the same table in UAT.so while doing the import the following was the error
    import: Release 9.2.0.5.0 - Production on Mon Apr 16 11:46:51 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Username: / as sysdba
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    Export file created by EXPORT:V09.02.00 via direct path
    Warning: the objects were exported by ORACLE, not by you
    import done in US7ASCII character set and UTF8 NCHAR character set
    . importing ORACLE's objects into SYS
    . importing NEVADMIN's objects into NEVADMIN
    . . importing partition "BO_NEV_RETENTION":"BO_NEV_RETENTION_M1" 0 rows imported
    . . importing partition "BO_NEV_RETENTION":"BO_NEV_RETENTION_M2"
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (NEVADMIN.BO_NEV_RETENTION_PK) violated
    Column : 177943769
    Column : 30-SEP-2002:00:00:00
    Column : 30-SEP-2002:00:00:00
    Column : 1214339
    Column : 10676375
    Column : 28
    Column : 140413
    Column : 140427
    Column : 4533749
    Column : 1176777
    Column : 8
    Column : 61
    Column : 3
    Column : 1631232
    Column : 1
    Column : 12181566
    Column : 211
    Column : 0
    Column : 399000
    Column : 146500
    IMP-00019: row rejected due to ORACLE error 1400
    IMP-00003: ORACLE error 1400 encountered
    ORA-01400: cannot insert NULL into ("NEVADMIN"."BO_NEV_RETENTION"."PARENT_MTG_LOAN_KEY")
    Column :
    Column : ?...
    Column : 30-SEP-2002:00:00:00
    Column : -2.92710000000000E-116
    Column : 1214526
    Column : 10678618
    Column : 26
    Column : 140197
    Column : 140210
    Column : 4409141
    Column : 1176777
    Column : -1
    Column : 61
    Column : 1
    Column : -1
    Column : 1
    Column : 12127061
    Column : 31
    Column : 0
    Column : 389825124.7
    IMP-00009: abnormal end of export file
    Import terminated successfully with warnings
    my second question would be
    is there any flaw with my import.
    this wat i did while i treied to import into the schema
    $imp userid=/ as sysdba commit=y file=/ / /.dmp log=test.log ignore=y full=y buffer=100000
    kindly let me know wat could be the problem!

    If truncating multiple partitions existed, it could also support updating global indexes clause (supported currently for truncating one partition) - which behaves differently from complete index rebuild and probably suites better for some cases. Just faced with that "want-this-feature" also ).
    Combining maintenance operations for multiple partitions in one "multipartition" operation would be useful in some cases. For example partitions merge in one step would generate many times less redo than equivalent partition cycle. Had to implement that "multipartition" merge using insert into another table, truncate original partitions, merge empty partitions, exchange merged partition with this table, which works faster, but is not so reliable as potential "multipartition" operation...

  • Droping Partition Dynamically in Interval Partitioning

    Hi All,
    I have created an Interval Partition Table as show below, Is their any way, i can drop the partition dynamically when i truncate the table as oracle creates them with system generated name? Instead Alter table drop partition !
    Create Table Script :
    CREATE TABLE TBL_EMP_SALES
    EMP_ID NUMBER(38),
    EMPNAME VARCHAR2(9),
    EMP_SALES_AMOUNT NUMBER(5),
    EMP_SALES_DATE DATE,
    CONSTRAINT PK_EMP_03 PRIMARY KEY (EMP_ID) USING INDEX TABLESPACE EMP_TABLESPACE
    ) NOLOGGING PARALLEL 4 TABLESPACE EMP_TABLESPACE
    PARTITION BY RANGE(EMP_SALES_DATE)
    INTERVAL (numtodsinterval(1,'day'))
    STORE IN (EMP_TABLESPACE)
    PARTITION P0 VALUES LESS THAN (to_date('23-AUG-2012','DD-MON-YYYY')) NOLOGGING
    Insert Script :
    INSERT INTO TBL_EMP_SALES VALUES (1001,'A',50,SYSDATE);
    INSERT INTO TBL_EMP_SALES VALUES (1002,'B',100,SYSDATE+1);
    INSERT INTO TBL_EMP_SALES VALUES (1003,'C',80,SYSDATE+2);
    INSERT INTO TBL_EMP_SALES VALUES (1004,'D',250,SYSDATE+3);
    INSERT INTO TBL_EMP_SALES VALUES (1005,'E',50,SYSDATE+4);
    INSERT INTO TBL_EMP_SALES VALUES (1006,'F',50,SYSDATE+5);
    INSERT INTO TBL_EMP_SALES VALUES (1007,'G',340,SYSDATE+6);
    INSERT INTO TBL_EMP_SALES VALUES (1008,'H',120,SYSDATE+7);
    COMMIT;
    Partitions Created :
    select segment_name,partition_name,bytes from user_segments where segment_name = 'TBL_EMP_SALES';
    segment_name partition_name bytes
    TBL_EMP_SALES     P0     8388608
    TBL_EMP_SALES     SYS_P602     8388608
    TBL_EMP_SALES     SYS_P603     8388608
    TBL_EMP_SALES     SYS_P604     8388608
    TBL_EMP_SALES     SYS_P605     8388608
    TBL_EMP_SALES     SYS_P606     8388608
    TBL_EMP_SALES     SYS_P607     8388608
    TBL_EMP_SALES     SYS_P608     8388608
    Thanks,
    Varun
    Edited by: 900575 on Aug 22, 2012 1:18 AM

    Hi Kev82Fr,
    Thanks for the useful post, I have tried your after trigger concept it works well and i have modified the code as below. Is their any other way where i can drop all the partition in the table in one shot ?
    --------------------------------------Drop Partition Procedure--------------------------------
    create or replace
    PROCEDURE USP_PARTITION_DROP_TEST
    AS
    lv_cmd VARCHAR2(2000);
    CURSOR parition_names IS
    SELECT partition_name FROM user_segments WHERE segment_name = 'TBL_EMP_SALES';
    parition_record parition_names%ROWTYPE;
    BEGIN
    OPEN parition_names;
    LOOP
    FETCH parition_names INTO parition_record;
    EXIT WHEN parition_names%NOTFOUND;
    SELECT 'ALTER TABLE TBL_EMP_SALES DROP PARTITION '||parition_record INTO lv_cmd FROM DUAL;
    EXECUTE IMMEDIATE lv_cmd;
    END LOOP;
    CLOSE parition_names;
    END USP_PARTITION_DROP_TEST;
    ---------------- After Truncate Trigger-----------------------------------
    CREATE OR REPLACE TRIGGER TRG_PARTITION_DROP
    after truncate on <SCHEMA NAME>.SCHEMA
    BEGIN
    USP_PARTITION_DROP_TEST();
    END;
    Thanks,
    Varun

  • Udiskie is only loading one external partition at once

    I tryed to set up udiskie according to the tutorial in the wiki. I created /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla and added
    udiskie &
    to my .xinitrc. And it works "a little bit" meaning that it recognizes a CD and one partition of my multipartion external hard drive. Now if I run udiskie & again manually in a console emulator it recognizes all the other partitions as well. I have full r/w acces to all of the paritions as desired. Any ideas? It would be really cool to have all partitions recognized on startup for cron backup jobs.
    Last edited by joachimr (2013-02-22 17:18:39)

    okay. I have rethought how I want to do this but I am still having a problem:
    I have a main swf that loads 2 external swfs.
    I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)
    In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff.
    NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.
    However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.
    Here is code in frame #1 of main swf to load external swfs:
    //load academic movie
    var swfLoader1:Loader = new Loader();
    container1.addChild(swfLoader1);
    var url1:URLRequest = new URLRequest("academic.swf");
    swfLoader1.load(url1);
    //load wisdom movie
    var swfLoader3:Loader = new Loader();
    container3.addChild(swfLoader3);
    var url3:URLRequest = new URLRequest("wisdom.swf");
    swfLoader3.load(url3);
    Here is code in frame 2 of main swf that checks button to see where to go in external swf:
    //academic button clicked
    function academicClick(event:MouseEvent){
       container3.alpha = 0;
       container3.visible = false;
       container1.visible = true;
       container1.gotoAndPlay(1); //this is where I am trying to force it to start at frame 1
       container1.alpha = 1;
    I don't want to reload the external movie to force it to start over.
    Any help would be much appreciated.

  • I droped my ipod once and it wont come on now

    i drop my ipod once and it wont come on now

    Connect it with iTunes and see what happens, from there attempt a restore, if it doesn't work take it to an Apple Store.

  • Partitioning the table ...

    I have procedure which inserts the data based on sysdate (everyday). I have partitioned the table using partition by list i have created 31 partitions on this table.
    say for example if tis 8th of sep then the partition will be xyz_08 and tommorow will be xyz_09 similarly i have 31 partitions.
    I was trying to insert manually by changing sys dates for example like sysdate -1, sysdate -2, sysdate -3 and so on. And it worked absolutely fine
    My requirement :- is once its reaches to 31st partition then it has to drop the 1st partition and so on it continues by droping old partitions everyday once its inserted with the latest partition.
    my questions
    - how do incorporate a logic of adding partitions everyday ?
    - how to drop the oldest partition(1st partition ) when it reaches the 31 partition ?
    - do i need to use cursors and for loop to archive this both above tasks ?
    Any logic with example would be great. Sample code will be wonderful ??
    Thank you so much i appreciate it. !!!

    user642297 wrote:
    let me share my code how i am implementing the partition by list ...Please use the *\* tag before and after a sample code block (or database output) that you post. This formats the code properly (as predefined text output) and is a lot easier on the eye to read. (yes - copy the tag exactly as you see it here and paste it into your posting).
    In my previous posting i mentioned about the droping the partition. But thats not the right way i guess. Because if i drop the partition then the data will not be loaded in the same partition next time since that partition will be dropped.
    The best way would be truncating the partition i guess. so next time we can load the data in the same partition ....
    Correct. You can simply truncate the partition to empty it and ready if for a new data set. However, as already mentioned, a range partition and not a list partition may be more suitable.
    One of the great features of partitioning is called +partition pruning+. This means Oracle, at run-time, figures out what partitions to use, and what partitions to ignore, for a specific SQL query. As the data is date based. it makes more sense to use a date range partition - this allows pruning to happen when you look for data for a specific date or date range. With a list partition, you need to use the list column as is as a predicate... and it will be unusual to construct queries that only look at the day number and not as the date as a whole.
    few more questions
    - if i drop the table, will partitions will also be dropped automatically ? or do i need to explicitly drop the partitions before dropping the table ?
    Yes. Partitions is part of the table (these are physical storage containers for the data). Drop the table. Partitions gone.
    - how would i drop all the partitions at once ???
    By dropping the table. You cannot drop all partitions either - at least one partition must remain behind as a table needs a "+storage container+". It cannot be a table without a means of storing the data inserted into the table somewhere.
    i know i can use ALTER TABLE TABLE_NAME DROP PARTITION PARTITION_NAME. This only drops the particular partition but not all the partitions right????
    Correct.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I install Lion on a partition on a 2012 Macbook pro running Mavericks?

    I need to run software for which the latest OS that it is compatible with is OSX 10.7. How can I install 10.7 on a partition in my Mavericks Macbook pro?

    Another way to find out is to call Apple (or stop at the nearest Genius Bar) and give them your serial number - they will be able to tell you with that.
    FWIW, if you bought it used and it had Mavericks on it but the original OS was anything earlier than that, the seller didn't do you any favors as any OS (or app) purchased/downloaded from the app store is tied to the Apple ID used to obtain it forever - and it is not transferable. What that means is that unless he did a complete erase and reinstall the original OS (as required by the licensing agreement), you won't be able to update any apps and/or won't be able to reinstall as you'll be prompted for the seller's Apple ID/password.
    So, let's figure out what it came with first; then you can try internet recovery (press Command + Option + R keys during boot up until you see it is connected to Apple's servers); in the Utilities screen, choose Disk Utility and erase your drive. When finished, back to the Utilities screen, choose reinstall OS X. While in Disk Utility, you should be able to re-partition - although I can't guarantee that'll work at that point because I've never tried it, but I don't see why it shouldn't. After you have it installed on one partition, install it again on the other partition. Once that's done, you can download/install Yosemite (or whatever) on one of the partitions using your own Apple ID.
    Note: you must erase your entire drive in order to do any of the above.

  • I am installing Windows 7 on my macbook pro OSX Mountain Lion and I get an error message:" Your disk could not be partitioned." What does this mean?

    I am installing Windows 7 and I get an error message: "Your disk could not be partitioned. An error ocurred while partitioning the disk". I was using a Windows & Home Premium OEM Software that I purchased from Microsoft. I was given to Windows 100GB to use for Quickbooks pro, Payroll and Publisher. I have the Macbook Pro model No: MD102LL/A. Does anyone knows what happenned or can advice me in what to do? Please help!!!

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • Lion Clean Install - No Disc Required - Recovery Partition Solution

    There is a way to run a Lion clean install without unpacking the installation onto a new disc or thumb drive.  It can be accomplished via a slightly longer, two-step upgrade process, which requires wiping your hard drive after you've upgraded to Lion.  You must be able to connect to the internet for this option to work, as it will require downloading the install package again.
    As always, be sure to back up your data before performing any sort of wipe of your hard drive. 
    STEP 1 - Initial Upgrade
    Perform a normal Lion upgrade through the App Store.  This will install Lion on top of your current configuration.  It will also create a Recovery Partition, which is a new feature of the Lion OS.  It is this Recovery Partition that you will use to perform the clean install.
    STEP 2 - Wipe and Clean Install
    Restart your computer into Recovery mode.  This can be done by either holding down CMD-r during boot up, or holding down the Option key during bootup and selecting to boot from the Recovery partition.
    Select the Disk Utility option from the main menu.  Here you can select the main partition, click on the Erase tab at the top, and completely erase the partition.  Once you've done this, quit Disk Utility Option, and you will return to the main menu.
    Select the Lion Installation option.  It will ask you to connect to the internet if you have not done so already (if wireless, you can do this via the Wi-Fi icon in the top right corner).  It will also ask you to input your Apple ID login and password in order to verify that you've already purchased the software.  The installation will take as long as it requires to download the package again.  Once downloaded and installed, Lion will walk you through initial set up.
    This solution worked for me, but I make no guarantees that it will work for others.

    I've created a boot disk (several actually) following the methods outlined in this guide.
    http://www.eggfreckles.net/tech/burning-a-lion-boot-disc/
    I've also saved the installer dmg in several backup locations so it can be burned again fresh or transfered to bootable USB thumb drives.
    The Lion install disk boots up and operates just like the Recovery Partition (Disk Utiltiy and all) with one giant benefit, you don't have to log into the MacAppStore with all it's complications or require a lenghtly internet download to install Lion.
    So you won't see this annoying screen and have to wait a few hours if the servers are overloaded.
    The boot disk also installs considerably faster. Two giant benefits actually.
    Also  once Lion is installed, Bootcamp can be used to partition the drive, then the Recovery Partiton > Disk Utiltiy used to change the BOOTCAMP partition to HFS+ journaled and then 10.6 can be installed or cloned from a external drive onto the BOOTCAMP partition.
    Dual boot Snow/Lion is possible with a large enough boot drive.

  • Upgrading and Partitioning

    Hi there,
    I'm going to be upgrading my OS (currently Tiger), over to Snow Leopard.  I purchased a 1TB external Firewire 800 Harddrive to back-up my current OS. 
    My plan is to create two partitions on the external HD...
    - the first partition for a bootable clone of Tiger (using Super Duper or similar)
    - the second partition for Time Machine (one I install Leopard on my iMAC), and for photo and video storage.
    Is it as easy as reformating the external HD using Mac OS Extended format, and making sure it uses the the "GUID Partition Table (GPT)"...then cloning my existing internal harddrive over to the first partition? Once I clone my drive, can I immediatly boot off of the first partition and run off of the external...just like I am running off of my internal HD?
    Basically...how will the iMAC know that the first partition is a bootable drive?  (I know that I have to hold a key on startup in order to boot off of another drive.)
    I'm used to PCs where they like to have very specific condition in order for a drive to be bootable.
    Once I have SNow Leopard installed on my internal HD...is it easy to boot off of the external HD and run Tiger?
    Thanks for any help.

    ronwel37 wrote:
    Hi there,
    I'm going to be upgrading my OS (currently Tiger), over to Snow Leopard.  I purchased a 1TB external Firewire 800 Harddrive to back-up my current OS. 
    My plan is to create two partitions on the external HD...
    - the first partition for a bootable clone of Tiger (using Super Duper or similar)
    - the second partition for Time Machine (one I install Leopard on my iMAC), and for photo and video storage.
    I wouldn't share a partition with Time Machine and data.  Give TM a partition by itself with at least 2x the amount of data you plan to be backing up.
    Is it as easy as reformating the external HD using Mac OS Extended format, and making sure it uses the the "GUID Partition Table (GPT)"...then cloning my existing internal harddrive over to the first partition?
    Yes, It's that easy.
    Once I clone my drive, can I immediatly boot off of the first partition and run off of the external...just like I am running off of my internal HD?
    Yes
    Basically...how will the iMAC know that the first partition is a bootable drive?  (I know that I have to hold a key on startup in order to boot off of another drive.)
    It will create an EFI partition on the drive, about 200 Megs.
    I'm used to PCs where they like to have very specific condition in order for a drive to be bootable.
    Once I have SNow Leopard installed on my internal HD...is it easy to boot off of the external HD and run Tiger?
    Yes, just hold down the OPT key during boot to select your boot drive or use System Preferences > Startup Drive to select the boot drive.
    Thanks for any help.
    Regards,
    Captfred

  • Install error : disk cannot be used to start up your computer [or] MediaKit reports partition (Map) too small

    Greetings,
    I am aware that this problem has been discussed, but in long and vague discussions that I had to sift deeply to find an answer. Therefore I am posting a clear message, as this problem can be very troublesome for someone who just received a Mac OS installation disk and cannot install it.
    Situation : you cannot install/update your new system because the installer does not consider your volume.
    Error message : this disk cannot be used to start up your computer.
    Version française : Ce disque ne peut pas être configuré pour démarrer votre ordinateur.
    Also discussed below error: "MediaKit reports partition (Map) too small"
    Note : although this occurred with a Snow Leopard (10.6) install DVD, it can alo occur with Lion (10.7) according to discussions on Apple web site.
    IF YOUR CONDITIONS ARE AS FOLLOWS :
    - You are using an official Apple installation DVD of Mac OS 10.6 (Snow Leopard) [or 10.7 Lion] or an official download/upgrade of those systems.
    - Your main Mac partition scheme is in GUID as it should be (check with Disk Utility). That partition contains a Mac system that can start-up.
    - Your volume format is: Mac OS Extended (journaled) [the format should not be Case Sensitive.]
    - You have the hardware requirements to install Mac OS 10.6 (Intel processor; internal or external DVD drive or a linked DVD drive; 1 GB of RAM; a screen controlled by your computer graphics card; at least 5 GB space on the hard disk or 7 GB if you install all components).
    - Using Disk Utility, you of course tried the disk Repair Tool and the Repair Permissions tool.
    - Your hard disk does not have a file called Backups.backupdb (if it does, this means Time Machine has once used this hard disk for its back-ups). Anyhow, if it were the case, the installation would give a different error message (with the word TimeMachine). This file may block the installation: Apple Support suggest to place it in the garbage, *without* deleting it, and placing it back on the disk later. Mind you, if you do not use this hard disk as such to save your Time Machine back-ups, you can simply delete this file.
    HOW TO FIX :
    1. Boot with the 10.6 install DVD (Tip: you can either select Mac 10.6 as the boot DVD in your Start-up Preferences or simply press down c during the start-up).
    2. Above the install screen, you have a Utilities tab from where you can run Disk Utility. Select your hard disk and select the Partition tab. Resize the primary Mac partition (don't add a new one) by decreasing it by about 5 GB.
    It will look like this http://i.imgur.com/jHTbr.jpg
    ( That image shows only one partition, but the same principle applies even if you have two or more partitions on your disk.)
    Also see the official Apple how to: http://support.apple.com/kb/TS3926
    Version française: http://support.apple.com/kb/TS3926?viewlocale=fr_FR
    3. Commit the change by hitting "Apply"
    3.b. If you get the error "MediaKit reports partition (Map) too small", this is a rare error where the partition that follows (for example Bootcamp) is slightly overlapping your main Mac partition. You will need to reduce that other following partition. Once you have reduced the other partition, you will probably need to return to step 2 and 3 and try again.
    [ For example, in my case, I had resized my Bootcamp with CampTune software and it would seem that the file system ended-up somehow larger than the actual partition container. I simply asked CampTune to reduce the partition a bit (barely 2 GB) and that fixed it.]
    4. Reboot, again into the 10.6 install DVD.
    5. You can then install 10.6.
    6. Once 10.6 is installed, use the Disk Utility on the desktop (you can boot into the primary HD at this point) to resize the primary partition back to its original or maximum size.
    SOURCE (main fix): http://forums.macrumors.com/showthread.php?t=774410 [and] http://support.apple.com/kb/TS3926
    SOURCE (explaination for MediaKit error): some Apple discussion post.
    nb: in my case, it was on a MacBook Pro (late 2008).

    GasMan4932 wrote:
    When I click on the icon for this drive, the warning message below states "Mac OS X cannot be installed on 'iMac HD', because this disk cannot be used to start up your computer." Obviously that's not true, since that's where the OS is installed.
    How did you partition this drive, if you did that? Does it contain start up or utility partitions for any other OS (for instance Linux)? There have been reports that the "cannot be used to start up your computer" message will appear if a third party utility was used to create a 'triple boot' system or such, apparently because SL is picky about the format GUID partition scheme table info & how partitions are allocated space on the drive by other formatting/partition methods.
    For some users with these partitions, the fix has been as simple as "tickling" (slightly changing) the partition size of some partition with Disk Utility, which apparently updates the GUID partition scheme table info so that the SL installer accepts it as safe to use with SL.( In this sense, the message may be trying to say the installer thinks the disk can't be used to reliably start up your computer with SL, not in general.)
    See the discussions topic Cannot install Snow Leopard over 10.5.8 for more about this.

  • How to create Windows 8 installation media from Hidden Recovery partition

    My laptop (HP Envy 15- j048tx) came pre-installed with a Windows 8 (OEM) on UEFI GPT partition. Somehow I messed up with the pre-installed Windows 8 and made a clean update to Windows 8.1 (Pro) after enabling Legacy BIOS as the boot method in the CMOS setup. Then i realise that the 8.1(pro) doesn't have Windows product key and hence could not be activated. Before I change the boot method from UEFI to BIOS, trying being cautious, i managed to make a copy of the Recovery partition (22.6 GB) to a USB drive. FYI, While I was still using the pre-installed OEM OS, I also tried to create a recovery DVD (which requires 6 DVD) but I gave it up after burning only the first Disc (Disc-1 of 6.)
    Now i'm trying to go back to the default Windows 8 provided by the OEM, as I believe, it has with it a product key embedded somewhere in the BIOS. However, I cannot load the Windows from the copy of the recovery partition I've made earlier. Here's what i've worked around unsuccesfully: Burned an ISO of the Disc-1 (recovery DVD) with 'Image Burn', Edited the ISO file with 'WinISO' and added the entire 22.6 GB file from the recovery partition and then generated a USB Installation drive in GPT partition style with 'Rufus'. I disabled the Legacy BIOS mode, enabled Secured boot and tried to re-install Windows 8 but a message pop-up showing "Selected boot image did not authenticate. Press <enter> to continue."
    I've tried to look-up the HP site to see if I can get help or to order HP recovery Disc (reluctantly though), but, guess, the site's support section was probably having some problem!
    Inspite of all my failed attempt, i'm still hopeful that something can be done to go back to the original OEM Windows from the back-up copy of the recovery partition I have with me. I shall be very grateful if somebody can help me get this mess sorted, while, keeping the ordering of HP Recovery Disc as a last resort.

    Hi @Renz75 
    Welcome to the HP Forums!
    It is a terrific place to find answers and tips!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I understand that you copied the recovery partition to a USB drive before you accidentally did a clean install of Windows 8.1 pro  but  you did not have an activation key for that version.
    When you copied the recovery partition to the USB drive did you use Windows 8 to format the USB for Windows 8 before you copied the recovery manager.  If not it will not work properly.
    If you did format the USB correctly you can try this.
    Format the drive creating the necessary partitions first. Now try coping the recovery manager to the one partition . Once you have it copied  then try to access the recovery manager to do a full recovery back to factory.
    If this was unsuccessful please contact HP support to obtain a recovery kit.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Best of Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Partitioning a fact table

    I am curious to hear techniques for partitioning a fact table with OWB. I know HOW to setup the partitioning for the table, but what I am curious about is what type of partitioning everyone is suggesting. Take the following example...Lets say we have a sales transaction fact table. It has dimensions of Date, Product, and Store. An immediate partitioning idea is to partition the table by month. But my curiosity arises in the method used to partition the fact table. There is no longer a true date field in the fact table to do range partitioning on. And hash partitioning will not distribute the records by month.
    One example I found was to "code" the surrogate key in the date dimension so that it was created in the following manner "YYYYMMDD". Then you could use the range partitioning based on values of the key in the fact table less than 20040200 for Jan. 2004, less than 20040300 for Feb. 2004, and so on.
    Is this a good idea?

    Jason,
    In general, obviously, query performance and scaleability benefit from partitioning. Rather than hitting the entire table upon retrieving data, you would only hit a part of the table. There are two main strategies to identify what partitioning strategy to choose:
    1) Users always query specific parts of the data (e.g. data from a particular month) in which case it makes sense for the part to be the size of the partition. If your end users often query by month or compare data on a month-by-month basis, then partitioning by month may well be the right strategy.
    2) Improve data loading speed by creating partitions. The database supports partion exchange loading, supported by Warehouse Builder as well, which enables you to swap out a temporary table and a partition at once. In general, your load frequency then decides your partitioning strategy: if you load on a daily basis, perhaps you want daily partions. Beware that for Warehouse Builder to use the partition exchange loading feature you will have to have a date field in the fact table, so you would change the time dimension.
    In general, your suggestion for the generated surrogate key would work.
    Thanks,
    Mark.

  • Upgrading MBP HD with a boot camp partition

    Hi all,
    I'm upgrading the HD in my late-2006 MBP. It currently has a Boot Camp partition running WinXP and between the two partitions, I've run out of room. I've upgraded Mac HDs before and know about Carbon Copy Cloner, but I am not sure how to migrate both partitions. Is there a software tool that will clone both partitions at once? If not, how do I go about doing this?
    Thanks in advance,
    Wardoggie

    I don't know if I want to go the virtualization route.
    Both VMware Fusion and Parallels offer a free 30-day trial, in case you want to check it out, and VirtualBox is free.
    Thanks for leaving feedback in Apple Discussions by marking a "helpful" post.
    Good luck.
    cornelius

  • I was trying to resize my bootcamp partition and it got deleted now I have 217 GB of free space that I cant use and I want to rejoin it with my macbook partiton.

    So I was trying to resize my bootcamp partition with Paragon and it was taking forever so I decided to use iPartition the Paragon started doing something and it was almost done when my macbook began to shut down. It was shutting down becuase I though the paragon wouldnt work. Anyway it shut down and I wasnt able to boot to the iPartition CD, so I decided to just screw it and just stick with Mac osx. Then while in the iPartition app once I booted up back into OSX it said I had 217 gigs of free space and my hardrive/mac os partition can only use like 270 gigs. But I desparetely need these 215 gigs back becuase I do things that require alot of memory. Does anybody have any idea how I can rejoin this free space with my mac partition. I already tried it in disk utility and it kept failing with a couldnt unmount disk error everytime I tried to resize back to its full size! PLEASE HELP! Heres a pic of what iPartiton shows me.

    You need an external disk that is formated as HFS+ with a GUID partition map.
    You can use either Carbon Copy Cloner or SuperDuper to create the clone.
    Once ypu have the clone you can boot from my holding down the option key ater power on.
    Once booted from the clone open Disk Utility.
    Select the internal drive.
    Click partition.
    Select single partition.
    Once drive has bee formated, restore the clone nack with the application used to make the original clone.
    Boot from internal drive.
    Allan

Maybe you are looking for

  • PDF Watermark - logo image is not displayed in ibr converted pdf

    Hi I have enabled pdf watermark administration and configured image watermark with rule, if the content type is document then the image watermark is to be applied but it is not displayed to the converted word document to pdf by IBR. If i change image

  • Cartesian Join query optimization

    Hello Experts! I have a question about cartesian join query which might look a bit weird. Assume the SQL query like that: SELECT DISTINCT A.NAME FROM A, B, C; Here we have cartesian join for 3 tables A, B and C. It looks to me, in order to get the re

  • New to the Oracle fusion 11g

    I am trying to start the SOA with the getting started with oracle SOA suite 11g but i am not able to find any creditcheck.xsd,fulfillment.xsd,orderbookingdiscount,po.xsd ,I even checked in SOA samples can any one help me on this..?

  • How do I fax and scan

    I use my printer for copy and print work. How do I fax and scan?

  • E-Rec CANDIDATE SEARCH  (debug)

    I go "candidates search" (un filtered by nothing) and does not leave any results. I want to debug to find out you're looking for the system. Which program or function  can i used for debug  in SAP R3? Greetings