Recovery of space allocated to a table (tablespace)

One of the tables in the database to prod had some app config related issue and started to gobble up the space like a T - Rex hungry!

App support team have finally identified the problem and the abnormal growth is over. Now the task I have to do is reclaim the space that has been allocated to the tablespace, so that it can be used properly for the future growth of the database.

Can you please advice on the best approach to the problem. One that I can think of is,
1. ask downtime,
2 export the tables in the tablespace.
3 truncate all tables (so that HWM is reset)
4 only import the back tables in the tablespace.

Is there another way in 10g that will allow me to do it with little or no downtime?

Reduction of table operation is an online order. Users can use the table while that shrinkage is held well less DML activity on the fastest table, that the command can deal with.

HTH - Mark D Powell.

Tags: Database

Similar Questions

  • Total space occupied by the table of tablespace

    Hello

    I'm looking for information find the total space occupied by a table stored in a tablespace. We can consider a scenario in which the table has data present in it, constraints, indexes, LOB columns and free space left on the total, that it has been allocated. I tried two queries, but don't think they give me what I'm looking for.

    Select bytes from WHERE user_segments where nom_segment = "EMPLOYEES";

    SELECT
    lower (owner) as the owner
    lower (table_name) AS table_name
    nom_tablespace
    num_rows
    , blocks * 8/1024 AS size_mb
    pct_free
    compression
    logging
    From all_tables
    Owner WHERE AS UPPER ('HR')
    AND table_name = 'EMPLOYEE '.
    ORDER BY 1, 2;

    Basically, I need to get this information before executing some DML is on the table, after which, I'll check once again how much space is free after the operation. So kind to provide information to customers on space used and released for a table in a tablespace.

    Now how do I go around to find the total space occupied by the table combining the factors mentioned above.


    Thanks in advance.

    Your queries refer to the segment info.

    Here's how

    create or replace procedure segments_for_table(p_table in varchar2, rc in out sys_refcursor) is
    begin
    open rc for
    select l.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_lobs l
    where l.table_name=p_table
    and s.segment_name=l.segment_name
    union
    select i.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_indexes i
    where i.table_name=p_table
    and s.segment_name=i.index_name
    union
    select t.table_name,s.segment_type,s.segment_name, s.bytes/(1024) kb
    from user_segments s, user_tables t
    where t.table_name=p_table
    and s.segment_name=t.table_name;
    end;
    /
    

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • Use the Space Allocation can be resumed

    Hi all
    Use Resumable Space Allocation
    Resumable space allocation provides a way to suspend and later resume database
    operations if there are space allocation failures. The affected operation is suspended
    instead of the database returning an error. No processes need to be restarted. When the
    space problem is resolved, the suspended operation is automatically resumed.
    Set the RESUMABLE_TIMEOUT initialization parameter to the number of seconds of the
    retry time.
    instead of the database returns an error
    How do you know that your system is saturated if there is no error is displayed?

    Thank you

    Resumable Space allocation will help out when you try to insert/upload data in your oracle database and there are problems of space due to a physical, logical limit and space on tablespace quota so that this download process will not restore process will suspend and wait by default 7200 seconds (2 hours) if solve you the problem of the space of 2 hours your insertion or download will start from the point where she get suspended.

  • Move the same Table tablespace

    Hello!

    I had a table with 5.7 Tb and it fragmented s, so I need to reclaim space in the data files.

    How the table is stored in a Tablespace LMT, unable to make a space of shrinkage I m and therefore, I m just a reconstruction in this table, issuing the command move to the same tablespace.

    I Don t have more space to create a new tablespace with the same size as the tablespace concerned to do a reorganization.

    I dropped the old partitions, to free space in the tablespace, and now I'm free 2.3 Tb.

    It is a partitioned table, and my concern is how I Don t have enough space to create a different tablespace, if I run the movement in the same tablespace, use I´ll space relesed in the tablespace or should I increase the space in my temp tablespace?

    Another doubt is only if I run this line, I lock the table?

    Thanks in advance!

    Concerning

    Yes you can rebuild the partition in the partition in the same tablespace. Unfortunately no one guaranteed that oracle would start from beginning of TS. There is a great chance that after reconstruction of the finished table, you will not be able to reduce the tablespace. There is a tip can be used, you can run the query to search for items at the end of the tablespace move this object and narrowing tablespace as much as you can, then try again. It is a project for a long time, but if you want to do that anyway, so do it.

    select de.*
      from  dba_extents de,
           (select file_id, max(block_id) block_id
              from dba_extents
             where tablespace_name= 'LMT'
             group by file_id) t
     where tablespace_name= 'LMT'
       and de.file_id = t.file_id
       and de.block_id = t.block_id
    /
    
    ALTER TABLE . MOVE PARTITION  TABLESPACE LMT PARALLEL;
    

    Also, remember to rebuild the unusable index after the removal of partition.

    select 'alter INDEX ' || index_OWNER || '.' || INDEX_NAME
    || ' REBUILD PARTITION ' || PARTITION_NAME || ' TABLESPACE ' || TABLESPACE_NAME || ' NOLOGGING PARALLEL;'
    from all_ind_partitions
    where status='UNUSABLE'
    order by  partition_name DESC, index_name
    
  • VARCHAR2 space allocation

    I have several questions about allocating space for the VARCHAR2 data types:

    1) based on the excerpts below, I'm correctly concluded that Oracle allocates space for the columns in a table of VARCHAR2 differently it does for VARCHAR2 PL/SQL variables?

    (2) a person may provide a code that shows the behavior in the example (in bold) in the first snippet? I tried to write my own (see below), but the output of my code seems to show that a string of 500 bytes stored in a VARCHAR2(1999 BYTE) PL/SQL variable is only 500 bytes of space - not 1999. May be the result of calling VSIZE() on PL/SQL variables does not indicate the true amount of space consumed by these variables?

    Excerpt 1 from the Handbook of PL/SQL Oracle 10 g:

    «Small VARCHAR2 variables are optimized for performance, and larger are optimized for efficient memory use.» The cut-off point is 2000 bytes. For a VARCHAR2 is 2000 bytes or more, PL/SQL allocates dynamically the only sufficient memory to maintain the real value. For a shorter than 2000 bytes VARCHAR2 variable, PL/SQL pré-alloue the length of the declared variable. ' * For example, if you assign the same 500-byte value to a VARCHAR2 (2000 BYTE) variable and a VARCHAR2 variable (1999 BYTE), the former takes up 500 bytes and takes the latter 1999 bytes.*.

    Extract 2 from the Oracle 10 g database Concepts Manual:

    "The VARCHAR2 data type stores variable-length character strings. When you create a table with a VARCHAR2 column, you specify a maximum length (in bytes or characters) between 1 and 4000 bytes of the VARCHAR2 column. For each row, Oracle stores each value in the column as a variable length field unless a value exceeds the maximum length of the column, in which case Oracle returns an error. VARCHAR2 and VARCHAR using to save on the space used by the table.

    For example, you declare a column VARCHAR2 with a maximum size of 50 characters. In the character set encoded in one byte, if only 10 characters are given for the VARCHAR2 column value in a particular row, the piece of the line column stores only 10 characters (10 bytes), not 50. »

    References:

    [http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/datatypes.htm#sthref732]
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#sthref3780]

    declare
      l_varchar2_1999_var VARCHAR2(1999 BYTE) := NULL;
      l_varchar2_2000_var VARCHAR2(2000 BYTE) := NULL;  
      l_var_1999_vsize PLS_INTEGER := 0;
      l_var_2000_vsize PLS_INTEGER := 0;  
      l_str_len        PLS_INTEGER := 500;
    begin
      -- Create a string of length l_str_len bytes
      for i in 1 .. l_str_len loop
        l_varchar2_1999_var := l_varchar2_1999_var || 'X';
        l_varchar2_2000_var := l_varchar2_2000_var || 'X';
      end loop;
    
      -- PL/SQL VARCHAR2 variables 
      select vsize(l_varchar2_1999_var), vsize(l_varchar2_2000_var)
        into l_var_1999_vsize, l_var_2000_vsize
        from dual;
      dbms_output.put_line('Bytes occupied by value in VARCHAR2(1999) variable: ' || l_var_1999_vsize);
      dbms_output.put_line('Bytes occupied by value in VARCHAR2(2000) variable: ' || l_var_2000_vsize);
    
    end;
    
    Bytes occupied by value in VARCHAR2(1999) variable: 500
    Bytes occupied by value in VARCHAR2(2000) variable: 500
    PL/SQL procedure successfully completed.
    Published by: user1983440 on June 12, 2009 07:54 - code simplified

    I suspect you want to read this [askTom discussing Char or Varchar | http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1542606219593 #28397955862861]. Tom has a demo that shows the differences in the use of the PGA depending on how a VARCHAR2 is declared in PL/SQL which is probably the most direct method to verify the information contained in the documentation. There are also a few indirect events where it shows performance differences that result from the PL/SQL varchar2 variable resize.

    Justin

  • Shorten the space allocated to the url container

    Despite the addition of icons by "customize toolbars", that show, during the customization, several of the addition of icons disappear when 'done '. I removed the container from the research, but it made no difference. I changed the length of the container url (which extends to the space reserved for the two containers when you remove the container of research) by adding a line in the userChrome.css file. The url container was resized to the 600px I put but the space previously allocated for the two containers (url and search) remained unchanged, pushing the addition of icons on the screen and leaving a large empty space to the right of the container url. Anyone know how to reduce the space allocated for containers of url and search which allows visualization of the addition of icons?

    Have solved! Or, at least, the problem. Whenever the bookmark icon is included it seems to affect the behavior of other icons as well as do not display itself (the bookmark icon). By not including not not the bookmark icon all right.

    I tried the 10px width max and min of hand and side of a median, but reset if max and min are the same value. Performed as expected in both cases. Besides the values min made no difference. Activate the 8 modules and plug-ins 19. All work normally.

    Back to normal by using the Favorites menu when I want to bookmark a page.

    Thanks for the comments.

  • Full disk recovery disk space

    How to release my recovery disk space? I deleted all the files I can and the trash. I think I may have inadvertently backed up my files from my flash on that disk drive and now can't free up space. I contacted and talked to a Microsoft support without resolution. I have space in my OS drive that I can save in but would like to get my D drive clear. Any suggestions?

    Ignore the warning for D drive. It is the recovery disk that is needed to restore your PC to factory settings. "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • "Your recovery disk space is very low.

    "How can I get rid of the warning message: your recovery disk space is very low?

    Andre: The seller explained that, by its agreement with Microsoft, he had to install data recovery in disk space Q.  He sent my Windows 7 64 install disk to keep in reserve.  When I received it, I have re-formatted the Q disc that has erased all - that was my intention my intention.  Thank you

  • Space between the 2 tables for a recomposable epub

    For a recomposable epub, which is the best way to add space between the 2 tables? Seen in an epub Viewer, tables have no space and are superimposed.

    I cut and paste tables as objects embedded, so they have a given paragraph style and you can use the functionality of the space before and after. Let's see if someone comes up with a different idea.

    Edit: Have you tried with space before and after the table Options > Table spacing? It is a raw sample of an .epub by using this feature.

  • p2v hard when disk space allocation

    Hello

    I have a server Exchange 2003 on windows 2003. We have a server VMWare Esx4.0.

    I want P2V exchange server. The exchange server has c:\ to 70 GB (whose free space is 44GB)

    D:\ to 410 GB (whose free space is 251 GB)

    E:\ to 70 GB (whose free space is 69GB)

    When I do the P2V, must be greater than the space allocated to the C, D, E the virtual disk

    in other words, I have that amount of space available in the Esx4.0 box?

    Or could I do as well with less space?

    Thanks in advance

    Sorry typo, fixed 1024 GB

  • Help with setting level and hard drive space allocation

    I use a Macbook Pro, aged 1 year, 200 GB of HD.  When I first installed the merger about a year ago, I think I have too much space allocated for the merger.  I allocated 100 GB (basically split the Mac HD).  I use many more apps in XP Pro as on the Mac side.  Now, I met two problems:

    1. I'm running out of space on the side Mac (went to update the Mac OS software recently and I was told I couldn't because of the lack of space; need to 9 GB and had only 4 GB of available). Then, I went to Fusion update (am currently uses version 1.1.3) and following the instructions of PDF of VMWare, went to duplicate virtual machine and could not do. Windows XP virtual machine uses 110 GB according to Get Info, so it's too big to duplicate.

    When I check the size of the virtual C drive on side Windows that indicates that I use GB 49 of the 100 assigned and a bit more 50 GB is unused space.  I know that I do not understand the virtual machines and, apparently, I thought it was just too much space on the windows 'side' is actually space on the Mac 'side' so. Don't know if it is correct or not.  Anyway, it seems to me that I was able to allocate less space to the virtual machine, and then have the space to reproduce?  Is this correct?  If so, how do I?

    2. assuming that the above problem can be straightened out, can I just install the latest version of the merger by the instructions by VMWare PDF file?

    Any help much appreciated and thanks in advance,

    Win

    Yes you can upgrade now if you want and you can download the latest (including 2.0.4 at present) version of the Web Site from VMware and is a free update for users of Fusion 1.x and it uses Fusion 1.x serial number.

    I'll get back to you later today on what else can be done to limit the growth, however, preventing you from upgrading.

  • Determine the space allocated to the tablespace on disk and the database free summer

    Hello

    Using oracle 11.2.0.3 and want to determine that some new storage space will be large enough to hold the data that we intend to move in them these is large enough.

    When watching in Oracle enterprise manager see tablespaces but all look to have a default value 1024 MB and when run query below don't even see the tablespaces.

    Another team created these and advised 4 GB but want to verify this.

    How can we be sure that 4 GB was allotted to each of the tablespaces concerned before moving data.

    Select df.tablespace_name "Tablespace"

    totalusedspace 'Used MB',

    (df.totalspace - tu.totalusedspace) "MB free.

    DF. TotalSpace 'Total MB. "

    round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))

    "PCT free."

    Of

    (select nom_tablespace,

    Round (Sum (bytes) / 1048576) TotalSpace

    from dba_data_files

    Group by tablespace_name) df,.

    (select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)

    from dba_segments

    where nom_tablespace like '% % refund '.

    you group by tablespace_name)

    where df.tablespace_name = tu.tablespace_name

    order by 1

    Thank you

    Hello

    Use this query and display the results:

    CLEAR COLUMNS
    SET LINES 200
    COLUMN "Tablespace"  FORMAT A34 TRUNC
    COLUMN "AllocSize (M)"    FORMAT 999,990
    COLUMN "AllocFree (M)"    FORMAT 999,990
    COLUMN "AllocUsed (%)"    FORMAT A16
    COLUMN "MaxSize (M)"  FORMAT 999,990
    COLUMN "MaxFree (M)"  FORMAT 999,990
    COLUMN "MaxUsed (%)"  FORMAT A16
    
    SELECT /*+choose*/    CASE f.status
                  WHEN 'ONLINE'
                      THEN '+'
                  WHEN 'OFFLINE'
                      THEN '-'
                  ELSE '='
                END
            || '|'
            || SUBSTR (f.CONTENTS, 1, 1)
            || '|'
            || f.tablespace_name "Tablespace",
            f.nallocsize "AllocSize (M)", f.free "AllocFree (M)",
                '['
            || RPAD (NVL (RPAD ('#', ROUND (f.nusedpct / 10), '#'), '_'), 10,
                      '_')
            || ']'
            || LPAD (TO_CHAR (f.nusedpct), 3, ' ')
            || '%' "AllocUsed (%)",
            f.nmaxsize "MaxSize (M)",
            (f.free + f.nmaxsize - f.nallocsize) "MaxFree (M)",
                '['
            || RPAD (NVL (RPAD ('#', ROUND (f.nmaxusedpct / 10), '#'), '_'),
                      10,
                      '_'
                    )
            || ']'
            || LPAD (TO_CHAR (f.nmaxusedpct), 3, ' ')
            || '%' "MaxUsed (%)"
        FROM (SELECT e.status, e.tablespace_name, e.CONTENTS, e.nallocsize,
                    e.free, e.nmaxsize,
                    (CASE nallocsize
                        WHEN 0
                            THEN 0
                        ELSE ROUND ((100 - (e.free / e.nallocsize * 100)))
                      END
                    ) nusedpct,
                    (CASE nmaxsize
                        WHEN 0
                            THEN 0
                        ELSE ROUND (  100
                                    -  (e.free + e.nmaxsize - e.nallocsize)
                                      / e.nmaxsize
                                      * 100
                                    )
                      END
                    ) nmaxusedpct
                FROM (SELECT d.status, d.tablespace_name, d.CONTENTS,
                            ROUND (a.BYTES / (1024 * 1024)) nallocsize,
                            ROUND (NVL (s.BYTES, 0) / (1024 * 1024)) free,
                            (CASE
                                WHEN NVL (a.maxbytes, 0) < a.BYTES
                                    THEN ROUND (a.BYTES / (1024 * 1024))
                                ELSE ROUND (NVL (a.maxbytes, 0) / (1024 * 1024))
                              END
                            ) nmaxsize
                        FROM (SELECT status, tablespace_name, CONTENTS
                                FROM dba_tablespaces
                              WHERE CONTENTS != 'TEMPORARY') d,
                            (SELECT  tablespace_name, SUM (NVL (BYTES, 0))
                                                                            BYTES,
                                      SUM
                                          (CASE
                                              WHEN NVL (maxbytes, 0) <
                                                                    NVL (BYTES, 0)
                                                THEN NVL (BYTES, 0)
                                              ELSE NVL (maxbytes, 0)
                                          END
                                          ) maxbytes
                                  FROM dba_data_files
                              GROUP BY tablespace_name) a,
                            (SELECT  tablespace_name, SUM (BYTES) BYTES
                                  FROM (SELECT  tablespace_name,
                                                SUM (BYTES) BYTES
                                            FROM dba_free_space
                                        GROUP BY tablespace_name
                                        )
                              GROUP BY tablespace_name) s
                      WHERE d.tablespace_name = a.tablespace_name
                        AND d.tablespace_name = s.tablespace_name(+)
                      UNION ALL
                      SELECT d.status, d.tablespace_name, d.CONTENTS,
                            ROUND (a.BYTES / (1024 * 1024)) nallocsize,
                            ROUND (NVL (s.BYTES, 0) / (1024 * 1024)) free,
                            (CASE
                                WHEN NVL (a.maxbytes, 0) < a.BYTES
                                    THEN ROUND (a.BYTES / (1024 * 1024))
                                ELSE ROUND (NVL (a.maxbytes, 0) / (1024 * 1024))
                              END
                            ) nmaxsize
                        FROM (SELECT status, tablespace_name, CONTENTS
                                FROM dba_tablespaces
                              WHERE CONTENTS = 'TEMPORARY') d,
                            (SELECT  tablespace_name, NVL (SUM (BYTES),
                                                            0) BYTES,
                                      NVL (SUM (maxbytes), 0) maxbytes
                                  FROM dba_temp_files
                              GROUP BY tablespace_name) a,
                            (SELECT  h.tablespace_name,
                                      SUM (  (h.bytes_free + h.bytes_used)
                                            - NVL (p.bytes_used, 0)
                                          ) BYTES
                                  FROM v$temp_space_header h,
                                      v$temp_extent_pool p,
                                      dba_temp_files f
                                WHERE p.file_id(+) = h.file_id
                                  AND p.tablespace_name(+) = h.tablespace_name
                                  AND f.file_id = h.file_id
                                  AND f.tablespace_name = h.tablespace_name
                              GROUP BY h.tablespace_name) s
                      WHERE  d.tablespace_name = a.tablespace_name
                        AND d.tablespace_name = s.tablespace_name(+)) e) f
    where f.tablespace_name like '%RTRN%'
    ;
    
    PROMPT (+) = ONLINE      (P) = PERMANENT
    PROMPT (=) = READ ONLY    (U) = UNDO
    PROMPT (-) = OFFLINE      (T) = TEMPORARY
    PROMPT
    

    Edit:

    Example of output:

    Tablespace AllocSize (M) AllocFree (M) AllocUsed (%) MaxSize (M) MaxFree (M) MaxUsed (%)

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

    +| P | XDB 1 374 0 [#] 100% 8 192 6 818 [# _] 17%

    If the column "MaxFree (M)" you show no space required, then your data files are not configured well. Your DBA must configure the parameters 'CanGrow' and 'maxsize' adequate level data file in each tablespace.

    Kind regards

    Juan M

  • Point table in recovery time space

    Why do we need database backup before the YVERT target...
    ****************************************************************
    What I did: -.

    SCN:100

    Table created "prod" of SNA 110

    Back up the database with rman

    Removed from the database

    restore, recover up to Yvert 110

    ERROR: = datafile 1-6 doesnot have backup

    Now why it has not corrected to 110 Yvert... but when I got backup before you create the tables and then recovery success has been achieved

    the second backup do NOT contain 110 YVERT

  • Storage spaces for different size tables

    Hello

    I have a situation that everyone has probably, so I would go into more detail about this.
    Working with databases with different objectives, a single OLTP and OLAP one another, the two tables with different sizes... some with 1 M, some with 100 M and others with 150 G or more.

    Recommendation of the Oracle, so the suite all storage spaces are created in the form of LMT, but I don't know if I can put something else to optimize performance, such as reading or writing, once the databases have different objectives and therefore with different behaviors.

    If someone could help me how I should give attention, I really appreciate.
    The version of database can be regarded as 10g and 11g.

    Thank you.

    Alex

    No, really no need to worry about direct allocation tablespace in realtion to the performance of the queries. There are some operations such as the allocation of file extensions and tablespace performance impact scope object, but it can be difficult to see this. Just make sure your expandable size of file on the data files extension is large enough so that the next object needing another measure will also not wait as the file expand. With the maximum of a measure in a size auto-allouer tablespace is 64 M, a volume of measure G 1 file would be 16 degrees of object so 15 additional objects may expand (at this size) before a another file extension becomes necessary.

    What to do is determine if you want to count automatic sur-affectation to manage measurement of object allocations or to use uniform extensions so that each measure in the tablespace is the same size. If you use uniform extensions then you must make a choice of the same size for all or separate objects in small object and object of large size tablespaces and use a different scale for each size. Maybe 512K for small and 8 M wide. It's just a matter of how you want to manage your tablespace usage and growth.

    HTH - Mark D Powell.

  • Column of type BLOB in own tablespace in partition in the table, tablespace to move

    Hi all

    First off I use Oracle Database 11.2.0.2 on AIX 5.3.

    We have a table is partitioned on a monthly basis.

    In this table, there is a partition (BOTTOM), this lower score is 1.5 TB in size thanks to a BLOB column called (ATTACHMENT).

    The rest of the table is not large, about 30 GB, it's the BLOB column that uses all the space.

    The lower part is in its own default tablespace (DefaultTablespace), the BLOB column in the lower score is also in its own tablespace (TABLESPACE_LOB) - 1.5 to

    I was invited in order to free up space by moving the TABELSPACE_LOB (from the low partition) to a data archive, confirming the data is there and then remove the lower score of the production.

    I do not have enough free space (or time) make an expdp, I think not only its doable with data so much.

    CREATE TABLE tablename
    (
      xx                          VARCHAR2(14 BYTE),          
      xx                          NUMBER(8),    
      xx         NUMBER,
      ATTACHMENT   BLOB,
      xx             DATE,
      xx             VARCHAR2(100 BYTE),
      xx                     INTEGER,
    )
    LOB (ATTACHMENT) STORE AS (
      TABLESPACE  DefaultTablespace
      ENABLE      STORAGE IN ROW
    NOCOMPRESS
    TABLESPACE DefaultTablespace
    RESULT_CACHE (MODE DEFAULT)
    
    
    PARTITION BY RANGE (xx)
    ( 
      PARTITION LOWER VALUES LESS THAN ('xx')
        LOGGING
        COMPRESS BASIC
        TABLESPACE DefaultTablespace
        LOB (ATTACHMENT) STORE AS (
          TABLESPACE  TABLESPACE_LOB
          ENABLE      STORAGE IN ROW
    )
    
    ...>>
    
    

    My idea was to take a table, excluding the attachment column datapump, export using external tables.

    Then to create the table on the database archive 'with' the attachment column.

    Import data only, as I understand that if you use a dump file that has too many columns Oracle he will manage, I hope it will work the other way around.

    Then on the production, make the TABLESPACE_LOB read-only and move it to the new file system.

    It's a little more complicated that a normal gesture of tablespace because of how the table is split.

    Any advice would be much appreciated.

    I was thinking about an approach as:

    SWAP PARTITION allows to separate the partition of the table

    • Create a non-partitioned table which is otherwise identical in structure to tablename (nonpart_tablename)
    • ALTER TABLE TableName LOWER WITH nonpart_tablename SWAP PARTITION

    Move the segment of the table at TABLESPACE_LOB, or to a different tablespace on its own. It is, as you say, only 30 GB and I think (but not strongly enough to go forward without testing/validation on a smaller scale) that the displacement of the segment of the table in this way does not disrupt the LOB segment, as long as you don't say MOVE LOB.

    • ALTER TABLE nonpart_tablename MOVE TABLESPACE TABLESPACE_LOB

    Now the TABLESPACE_LOB tablespace is self-contained and you can make it transportable.

Maybe you are looking for

  • upgrade the hard drive on Presario 17XL365

    Inherited this machine recently and I was wondering if I can upgrade the hard drive.  He got a Hitachi DK23BA-15 which is ATA - 66.  But I read that the chipset of the motherboard will be ' interface with ATA/66 hard drives in UDMA 2 mode "-a descrip

  • write 1 d digital table in a binary file and start a new line or insert a separator for each loop writing file

    Hello: I'm fighting with digital table of 1 d writeing in a binary file and start a new line or insert a separator for each loop writing file. So for each loop, it runs, LABVIEW code will collect a table 1 d with 253 pieces of a spectrometer. When I

  • Firewall prevents the two outgoing and downloading data

    Original title: Firewall blocked firewall prevents the two outgoing and data download to get thur - when trying to review the status of firewall messages setting for some reason connection cannot be completed question began about two weeks is there i

  • Advisor windows genuine not working, need to upgrade, help?

    Hi, I have a vista sp1, 64-bit HP laptop. System is old and has been updated when prompt. I want to upgrade to sp2 and then sp3 but I get this error message saying that my Windows Genuine Advantage validation tool is no longer supported and need to d

  • U3415W, extreme vertical distortion

    Last week, I bought a U3415W of the Amazon. I put it for the first time this weekend. In one day, the beautiful image went from glorious to unusable. Here the pictures of what it looks like now. I tried several cables including different HDMI and Dis