alert on the size of the tablespace

RDBMS 11.2.0.4

EM 12.1

Someone at - it a rule of thumb on the size of the tablespace

lets say I'm 2 datafiles, max size 32 gb autoincrement on.  total of 64 GB

How do you manage your space, do alert you when it arrives to the % of the size of 64 GB.  How get oracle automatically adds a file?  Id want to do or not?  I can handle alerting on start it then.

Edit (yes I know auto adding files could be a bad thing if something went bump in the night but another of that)

Select * from DBA_TABLESPACE_USAGE_METRICS where USED_PERCENT > 85 and nom_tablespace! = "undo."

This method works.

Tags: Database

Similar Questions

  • Increase the size of the tablespace: which of the data file for the tablespaces ine that I have to increase?

    Hello

    I need to increase the size of the tablespaces in EBS R12 Database 11.2.0.3.0:

    APPS_TS_TX_IDX

    APPS_TS_SEED

    APPS_TS_TX_DATA

    But they all have multiple datafiles:

    Example for APPS_TS_SEED:

    [data oracle@ebs122dev] $ of the hs - a_ref0 *.

    1, 5G a_ref01.dbf

    1, 2G a_ref02.dbf

    508M a_ref03.dbf

    2, 0G a_ref04.dbf

    2, 0G a_ref05.dbf

    2, 0G a_ref06.dbf

    Many of the datafiles should I resize to increase the size?

    Thank you

    Luis

    Hello

    It does not matter what file you resize.

    Personally, I prefer to start with the first file and reach the largest file size and resize then the following.

    In addition, having the files with a size that is a multiple of 1 GB is a good practice for me.

    Another option is to activate the autoextend for data files option.

    You can set the maximum size of 4 GB for example all files in storage areas that are growing rapidly.

    Kind regards

    Bashar

  • How to check the size of the tablespace by query?

    How to check the size of the tablespace by query?

    Run this query...

    SELECT
    A.tablespace_name 'space ',.
    A.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (B.bytes) / (1024 * 1024) "free_space (MB).
    NVL (Round (Sum (B.bytes) * 100 / A.bytes), 1) "%Free."
    Round ((A.bytes - SUM (B.bytes)) * 100/A.bytes) '% Used_Space '.
    FROM dba_free_space B,.
    (SELECT tablespace_name, SUM (bytes) bytes
    FROM dba_data_files
    A GROUP BY nom_tablespace)
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, A.bytes
    UNION ALL
    SELECT
    A.tablespace_name 'space ',.
    B.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (A.bytes_free) / (1024 * 1024) "free_space (MB).
    NVL (Round ((Sum (B.bytes) - A.bytes_used) * 100 / B.bytes), 1) "%Free."
    Round ((Sum (B.bytes) - A.bytes_free) * 100 / B.bytes) '% Used_Space '.
    FROM dba_temp_files B,.
    (SELECT tablespace_name, bytes_free, bytes_used
    V $ temp_space_header
    GROUP BY tablespace_name, bytes_free, bytes_used) has
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, B.bytes, A.bytes_free, A.bytes_used
    ORDER BY DESC 4;

  • How interrogate the tablespace size increment speed?

    Hello

    Do you have information or ideas on how to know the history of tablespace size slices. or how to know the frequency of the increase in size of the tablespace.

    When I walked into the new database, I never managed this database before, I want to know the size tabelspace increments range from speed to make reasonable space.

    so could you please give us a guide thanks!

    Hi RLUO,

    You can use DBMS_SPACE. OBJECT_GROWTH_TREND to find the trend in the growth of a segment.

    Please refer to:

    http://www.Oracle-training.cc/t_oracle_segment_growth_prediction.htm
    Space - DBMS_SPACE management. OBJECT_GROWTH_TREND - how to run

    Concerning
    Rajesh

  • How to reduce the size of the tablespace (space reover) if the schema is remov

    Hello

    I have a large tablespace user for diagrams 3 and 4. I needed emergency of space on the hard drive so I had to remove one of the schema (fall of the user). Now this tablespace is shown as filled to 70%. I want to reduce the space allocated to it. I use the console manager oracle. Try to reduce the allocated size for the tablespace but it does not.
    It has undotbs available free size is very good, but who also is not reduced.

    Is it possible so that I can assign less space for these tablespace so that I can recover from the physical space.

    Thanks for the reply.

    Hello

    You can only free space at the end of the data file if it's free. It is likely that this space has been allocated by a rollback segment.
    If this is the case, then your alternative is to create a new UNDO tablespace and the point of the database to use.

    Create a new UNDO tablespace.
    CREATE UNDO TABLESPACE undo_ts2
    DATAFILE ' / directory/undo_ts2_01.dbf ' SIZE xxxM;
    Change the database to use the new UNDO tablespace.
    ALTER SYSTEM SET undo_tablespace = undo_ts2 SCOPE = BOTH;

    New transactions will begin using the new undo tablespace. After a certain time passes (at least the number of seconds specified by the UNDO_RETENTION initialization parameter), you can drop the old UNDO tablespace. The disadvantage of this approach is that for a short period of time, your database will be two UNDO tablespace

    Kind regards
    Deepak

  • Adjusting the size of a tablespace before its creation

    Hi guys,.

    Oracle version: 10.2.0.x
    OS: 32-bit Windows

    I was wondering if there are "conditions" by setting the intial size of a tablespace before its creation. This is because one of our clients wants to export and import one schema in another, but set an initial size for a tablespace when it is created and before you import the data into it, but we have a tool wizard database that creates patterns accounts using the sql underlying following: -.

    DataFile RIDGE TABLESPACE < tbl_name > < path > < datafile_name > .dbf SIZE 100 M AUTOEXTEND ON NEXT 100 M MAXSIZE 32000 M by DEFAULT of STORAGE (INITIAL 256 256 NEXT K MINEXTENTS 1 MAXEXTENTS PCTINCREASE UNLIMITED 0) ONLINE.

    Under normal circumstances, what he would do is to use our Wizard and create an account and then import data from a dump for export.
    But he wants to create a tablespace by using a SQL something like: -.

    DataFile RIDGE TABLESPACE < tbl_name > < path > < datafile_name > .dbf SIZE 2000 M AUTOEXTEND ON NEXT 500 M MAXSIZE 32000 M of STORAGE by DEFAULT (INITIAL 256 256 NEXT K MINEXTENTS 1 MAXEXTENTS PCTINCREASE UNLIMITED 0) ONLINE.


    It think it should be ok because his dump of export would be 2GB size and would like to import all that "both" i.e. without actually using characteristic autoextend for the first 2 GB.

    What's a sense? Guys do you see a difference "performance" between the 2 create tablespace statements?

    I think that the second sql (with size initially 2000M) seems to be a more logical approach, but I'm not really sure the implications towards the bottom of the line performance.

    Any help/input much appreciated!

    Thank you guys

    Hello

    Number of things,

    If your export dump is that 2 GB is not when the import is completed, it would take only 2G, it is possible it will take more space to do the import as some objects as index occupies no space in the dump file, but they do it in the database.
    If I know that my tablespace would 2G because of this activity I create tablespace with 2 G or manually increase it 2 G instead of auto expand because performance wise spatial distribution (with autoextend on) when running would take time.

    Concerning
    Anurag

  • Estimate the size of the tablespace

    Hello

    I am scheduled to insert the 10580000 around a table. Based on this number I'll be able to calculate the size of the tablespace.


    Thank you
    SC

    Hello

    Simple calculations; excluding overhead costs

    DB_BLOCK_SIZE/avg_row_len = approx. number of lines per block
    Total number of lines / approx. number of lines per block = approx. number of blocks
    Number of blocks * db_block_size = approx. number of bytes
    About the number of bytes / (1024 * 1024) = size in MB

      8192 = db_block_size
      173  = avg_row_len
    
       select 8192/173 from dual;
    
       select ( (10580000/47)*8192) / ( 1024 *1024) from dual;
    
      
    

    Concerning

  • A question pertaining to the Tablespace while performing a Transportable Tablespace migration.

    Hi all

    I'm in the middle of a migration, and currently I am performing a VINE for this. The tablespace should I migrate is 3TO in size.

    I've checked endian, its perfect, the two BONES are similar.

    No violation not found for verification of transport, the tablespace is autonomous, I also did the expdp for the tablespace. After that, I copied all the 3 TB data files and emptying of the export to the destination server.

    Now, here's where I'm confused. The next step is to create appropriate patterns.

    The schema name and a source tablespace is CCF1 and the destination is CCF2 respectively.

    I guess I'll have to create the CCF2 user on the destination server and to do so, first, I have to create tablespace CCF2 so that I can create the user and assign the default tablespace, that means I have to create the tablespace with 3 TB of data files value?

    But what about the data files which I already copied during the source? I need 6 TB of space on the volume to accommodate the two data files. Please correct me if I am wrong somewhere... I'm sure I'm

    The database is the 12 c (no, I do not use pluggable database), OS is RHEL5.

    Hi Indigo;

    Tell in Oracle Technology Network: http://docs.oracle.com/database/121/ADMIN/transport.htm#ADMIN10140

    Now, here's where I'm confused. The next step is to create appropriate patterns.

    The schema name and a source tablespace is CCF1 and the destination is CCF2 respectively.

    I guess I'll have to create the CCF2 user on the destination server and to do so, first, I have to create tablespace CCF2 so that I can create the user and assign the default tablespace, that means I have to create the tablespace with 3 TB of data files value?

    But what about the data files which I already copied during the source? I need 6 TB of space on the volume to accommodate the two data files. Please correct me if I am wrong somewhere... I'm sure I'm

    You are so confused, because if you follow all steps in the Document Oracle you don't have to create storage spaces and users. If you have exported metadata with Data Pump EXPort, you must import the metadata to your target database.

    Follow the link; It will help you.

    Kind regards.

  • ORA-01659: impossible to allocate MINEXTENTS beyond 2 in the tablespace test

    Hello

    I created a table and tried to insert records over 2 million and I'm getting an error such as ORA-01659: impossible to allocate MINEXTENTS beyond 2 in the tablespace test.

    Used tablespace percentage is only 73%.

    I used below when creating table

    tablespace TEST

    PCTFREE 10

    INITRANS 1

    maxtrans 255

    Please suggest me how to solve this problem.

    Thank you

    Suri

    Hi @Suri

    I see no problem in storage settings in your table.

    But the number of rows helps you insert and in the free space in your tablespace.

    Perhaps too much space is needed for your data and storage space can not support.

    The only things you can do is the following:

    (a) try PCT_INCREASE to 0, this product extensions to equal size.

    (b) put the PCT_FREE less than the default of 10. But it is advisable if you make updates to your table.

    (c) maybe create your table with the clause compress, just for bulk inserts, but this depends on the use of the table.

    (d) ask your DBA to increase the data files of the TEST table space or add more data files.

    (e) using the package DBMS_SPACE, you can calculate the space used by your table in tablespace TEST. g 10 and later versions.

    See the following example:

    
    SQL> SET SERVEROUTPUT ON
    
     SQL> DECLARE
       lc_tablespace       VARCHAR2(100)  DEFAULT 'CC_TBSD001_MOVI_DOMICILIOS';
       lc_megabytes        SIMPLE_INTEGER DEFAULT 1024*1024;
       lc_estimated_rows   SIMPLE_INTEGER DEFAULT 45000000;
       lc_pct_used         SIMPLE_INTEGER DEFAULT 10;
    
       l_cost_columns           SYS.CREATE_TABLE_COST_COLUMNS;
       l_mbytes_to_be_used      NUMBER;
       l_mbytes_to_be_allocated NUMBER;
    BEGIN
      l_cost_columns := SYS.CREATE_TABLE_COST_COLUMNS(
                 SYS.CREATE_TABLE_COST_COLINFO('NUMBER'  ,15)
                ,SYS.CREATE_TABLE_COST_COLINFO('NUMBER'  ,10)
                ,SYS.CREATE_TABLE_COST_COLINFO('NUMBER'  , 4)
                ,SYS.CREATE_TABLE_COST_COLINFO('VARCHAR2', 6)
                ,SYS.CREATE_TABLE_COST_COLINFO('VARCHAR2', 4)
                ,SYS.CREATE_TABLE_COST_COLINFO('NUMBER'  , 1)
                ,SYS.CREATE_TABLE_COST_COLINFO('NUMBER'  , 4)
                                                      );
    
       DBMS_SPACE.CREATE_TABLE_COST(lc_tablespace
                                   ,l_cost_columns
                                   ,lc_estimated_rows
                                   ,lc_pct_used
                                   ,l_mbytes_to_be_used
                                   ,l_mbytes_to_be_allocated
                                   );
    
       l_mbytes_to_be_used      := l_mbytes_to_be_used/lc_megabytes;
       l_mbytes_to_be_allocated := l_mbytes_to_be_allocated/lc_megabytes;
    
       DBMS_OUTPUT.PUT_LINE('Megabytes to be used: '||TO_CHAR(l_mbytes_to_be_used));
       DBMS_OUTPUT.PUT_LINE('Megabytes to be allocated: '||TO_CHAR(l_mbytes_to_be_allocated));
    END;
    /
    

    A few ref, pleas read

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/clauses009.htm#SQLRF30013

    Hope this can help you.

    Kind regards

    Juan M

  • How can I remove old alerts on the OEM homepage?

    I'm using OEM 11 g.  There is more than 375 alerts sitting in the 'Alert triggered' section on the home page of the OEM.  Some are nearly a year and cash have been resolved and have not always cleared.  I could go through all of them and manually clear an alert, but because of physical constraints, it's a very long process that will take me several hours to manage.  Is it possible to do a manual of clear lot.

    There is also a full tablespace alert for nearly six months who has been treated immediately.  Data files were added and made CanGrow.  Yet that alert remains.  How can I delete it? Christine

    Hello

    I recommend you check the metalink docs below

    Troubleshooting of a spatial database of Tablespace Used (%) Alert problem in Grid Control 10 g, 11g and Dbconsole (Doc ID 403264.1), which also speaks of all problems associated with tablespace known/scenarios pending alerts and the resolution for the same

    Also, one of the way to clear the metric Grid Control alerts is as follows:

    1. connect to grid control

    2. navigate to the target--> databases

    3. go to the home page of the problematic database

    4. click on the 'Settings and policy settings' link under 'related links '.

    5 unset the metric threshold for the desired measure. «Clear all the fields for the metric by clicking on the edit button and click OK/continue»

    6. when the metric collection occurs again, it will clear the alerts.

    7. once the alert is disabled, the metric value the original values

    Kind regards
    Rahul

  • collect statistics for the tablespace

    Friends...

    OS: Linux

    DB: 11 GR 2

    Data size: 1 TB

    I spend monthly multiple partitioned table spaces and bring together in a single annual partition. (for example tbs_2014_01, tbs_2014_02 - tbs_2014_12... all combine them into tbs_2014 as a tablespace)

    Over the weekend, work of database gets executed that collects statistics that are obsolete, it collects all the segments that have been moved from the storage.

    Given that the collection of statistics at the end of the week takes too long, I tried to find a smart way to collect statistics after each tablespace move rather than waiting for job to weekend which will take two or three days to complete.

    1. is there a way to gather statistics at the tablespace level and collect statistics for all objects in this table space?

    2. how to determine the overall stats of collection of statistics part?

    That is, suppose I have move the tbs_2014_01 tablespace and collect statistics with global stats that could take 2 hours but it will be difficult to spend 2 hours for each stats global tablespace which in my opinion is not good and we should be collecting global stats only once.

    3. any other advice?

    977272 wrote:

    @sol.beach... Thanks for your comments...

    I've not been asked to collect statistics to the tablespace but level to collect statistics after that finish objects move in storage.

    Given the size of the data, it is difficult to gather all the statistics at the weekend so trying to understand another method to collect the statistics the weekend load will be less.

    You can collect statistics object on an object by object basis level after that each object has been moved.

  • Moving the tablespace to another location

    Hi all

    I need to move the files to the tablespace from one place to another location because of the hard drive space.

    Example of

    Tablespace name: TEST_TS

    which contains several dbf files such as

    ' / opt/oracle/oradata/1.DBF' SIZE 20480 M AUTOEXTEND ON NEXT 1024 M MAXSIZE UNLIMITED,.

    ' / opt/oracle/oradata/2.DBF' SIZE M 30720 AUTOEXTEND ON NEXT 1024 M MAXSIZE UNLIMITED,.

    ' / opt/oracle/oradata/3.DBF' SIZE M 31744 AUTOEXTEND ON NEXT 1024 M MAXSIZE UNLIMITED,.

    ' / opt/oracle/oradata/4.DBF' SIZE M 30720 AUTOEXTEND ON NEXT 1024 M MAXSIZE UNLIMITED,.

    ' / opt/oracle/oradata/5.DBF' SIZE 2048 M AUTOEXTEND ON NEXT 500 M MAXSIZE UNLIMITED

    now I need to move files some where else like

    ' / u01/oracle/oradata/1.DBF' SIZE 20480 M AUTOEXTEND ON NEXT 1024 M MAXSIZE UNLIMITED,.

    ' / u01/oracle/oradata/5.DBF' SIZE 2048 M AUTOEXTEND ON NEXT 500 M MAXSIZE UNLIMITED

    Kindly help me in this archive.

    Thanks and greetings

    Saami

    You need

    1. to disconnect the tablespace

    2. copy your data files to the new location

    3 Rename in your database

    4 put the storage space online

    Link below gives an example and details;

    Management of data files and temporary files

  • When OMF add the data file in the tablespace

    Hi friends,

    We use oracle 11.2 with CMS (oracle managed file) for the database on the linux platform. the parameter - DB_CREATE_FILE_DEST had been set. at the present time, we received a message from global warming this tablespace criterion is 85% full.

    According to the document of the oracle, OMF auto will add a data file in the tablespace tast. more than a week, I do not see any data file has been added by OMF.

    I want to know when OMF adds the data file in the tablespace? 85% or 95% or some (parameter) setting this action?

    Thank you

    newdba

    OMF does not automatically add a new data file.  You must explicitly add a new data file with the ALTER TABLESPACE ADD DATAFILE command tbsname.

    What is OMF is to provide a Unique name and a default size (100 MB) for the data file.  That is why the ALTER TABLESPACE... Command ADD DATAFILE that you run didn't need to specify the file size or file name.

    Hemant K Collette

  • How to add space in the tablespace?

    Hello

    How can I add 180M of space in the tablespace SALES_DETAIL_TS_IDX ?

    I mean I need to add an another data file with a size of 180M or I have to resize any person of the data file listed below?

    If resizing, what size to resize to?

    Tablespace size (MB) free (MB) % free used
    ------------------------------ ---------- ---------- ---------- ----------
    SALES_DETAIL_TS 122001.563 32000 26 74

    SQL > Select File_Name, nom_tablespace, File_ID in dba_data_files where nom_tablespace = 'SALES_DETAIL_TS_IDX' Order by Desc File_ID.

    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U05/oradata/PSRDM/sales_detail_ts_idx_27.dbf
    SALES_DETAIL_TS_IDX 1016

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_26.dbf
    SALES_DETAIL_TS_IDX 978

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_25.dbf
    SALES_DETAIL_TS_IDX 975


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U10/oradata/PSRDM/sales_detail_ts_idx_21.dbf
    SALES_DETAIL_TS_IDX 908

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_20.dbf
    SALES_DETAIL_TS_IDX 837

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_19.dbf
    SALES_DETAIL_TS_IDX 836


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_18.dbf
    SALES_DETAIL_TS_IDX 835

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_17.dbf
    SALES_DETAIL_TS_IDX 834

    /D01/U12/oradata/PSRDM/sales_detail_ts_idx_16.dbf
    SALES_DETAIL_TS_IDX 217


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_15.dbf
    SALES_DETAIL_TS_IDX 216

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_14.dbf
    SALES_DETAIL_TS_IDX 204

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_13.dbf
    SALES_DETAIL_TS_IDX 203


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_12.dbf
    SALES_DETAIL_TS_IDX 202

    /D01/U12/oradata/PSRDM/sales_detail_ts_idx_24.dbf
    SALES_DETAIL_TS_IDX 156

    /D01/U12/oradata/PSRDM/sales_detail_ts_idx_23.dbf
    SALES_DETAIL_TS_IDX 155


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U10/oradata/PSRDM/sales_detail_ts_idx_22.dbf
    SALES_DETAIL_TS_IDX 145

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_21.dbf
    SALES_DETAIL_TS_IDX 137

    /D01/U15/oradata/PSRDM/sales_detail_ts_idx_11.dbf
    SALES_DETAIL_TS_IDX 125


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U12/oradata/PSRDM/sales_detail_ts_idx_10.dbf
    SALES_DETAIL_TS_IDX 124

    /D01/U12/oradata/PSRDM/sales_detail_ts_idx_09.dbf
    SALES_DETAIL_TS_IDX 123

    /D01/u08/oradata/PSRDM/sales_detail_ts_idx_08.dbf
    SALES_DETAIL_TS_IDX 122


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/u08/oradata/PSRDM/sales_detail_ts_idx_07.dbf
    SALES_DETAIL_TS_IDX 121

    /D01/U07/oradata/PSRDM/sales_detail_ts_idx_06.dbf
    SALES_DETAIL_TS_IDX 120

    /D01/U07/oradata/PSRDM/sales_detail_ts_idx_05.dbf
    SALES_DETAIL_TS_IDX 119


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U06/oradata/PSRDM/sales_detail_ts_idx_04.dbf
    SALES_DETAIL_TS_IDX 118

    /D01/U06/oradata/PSRDM/sales_detail_ts_idx_03.dbf
    SALES_DETAIL_TS_IDX 117

    /D01/U05/oradata/PSRDM/sales_detail_ts_idx_02.dbf
    SALES_DETAIL_TS_IDX 116


    FILE_NAME
    --------------------------------------------------------------------------------
    FILE_ID TABLESPACE_NAME
    ------------------------------ ----------
    /D01/U05/oradata/PSRDM/sales_detail_ts_idx_01.dbf
    SALES_DETAIL_TS_IDX 115

    /D01/U04/oradata/PSRDM/sales_detail_ts_idx_27.dbf
    SALES_DETAIL_TS_IDX 63

    DF - kh

    Size used for free
    u12zp/u12 392 347 G G G 44 89% / d01/u12
    u13zp/u13 392 G 340 G G 51 87% / d01/u13
    u08zp/u08 392G 317 G 74 82% / d01/u08
    u09zp/u09 392 G 348 G G 44 89% / d01/u09
    u06zp/u06 392G 318 G 74 82% / d01/u06
    u11zp/u11 392 G 350 G 42 G 90% / d01/u11
    u04zp/u04 392G 324 G 68 83% / d01/u04
    u05zp/u05 392 G 349 G G 43 89% / d01/u05
    u07zp/u07 392G 331 G 60 G 85% / d01/u07
    u10zp/u10 392G 342 G 50 G 88% / d01/u10
    u15zp/u15 392G 324 67 G 83% / d01/u15
    u16zp/u16 392G 275 G 116 G 71% / d01/u16
    u14zp/u14 G 392, 316 G 76 81% / d01/u14
    u90zp/u90 392G 1.2 G 391G 1% / d01/u90


    Thanks in advance.

    Published by: 951121 on November 7, 2012 11:52
    select file_name, bytes/(1024*1024*1024), autoextensiable, maxsize/(1024*1024)  from dba_data_files where tablespace_name='SALES_DETAIL_TS_IDX' ;
    

    find the data file that is not reached the maximum size (32GB if its 8 k block) and resize it to match your needs.

    alter database datafile '' resize ;
    

    Otherwise, you can add the new data file. Blow is the simple add datafile statement:

    alter tbalespace add datafile '' size ;
    
  • Is it difficult for oracle follow the news of free space in the tablespace Temp?

    DB version: 11.1

    http://docs.Oracle.com/CD/B28359_01/server.111/b28320/statviews_5056.htm
     
    FREE_SPACE :      Total free space available, in bytes, including space that is currently allocated and available for reuse and space that is currently unallocated
    
    ALLOCATED_SPACE : Total allocated space, in bytes, including space that is currently allocated and used and space that is currently allocated and available for reuse
    !!!!

    I know that temporary tablespace is 'temporary' and varies according to gender, creating index... etc. But, can't they say just free space in bytes.
    Lets say my temporary tablespace size is 2 GB and if the DBA_TEMP_FREE_SPACE.free_space column is 500 MB. What does that mean?

    >
    Lets say my temporary tablespace size is 2 GB and if the DBA_TEMP_FREE_SPACE.free_space column is 500 MB. What does that mean?
    >
    This means for a locally managed temporary tablespace, reduce the size to the amount of space currently in use; in other words, reclaim the space unallocated and allocated space is unused.

    TABLESPACE_SIZE - FREE_SPACE

    See Shrinking a temporary Tablespace locally managed in the DBA Guide
    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/tspaces007.htm
    >
    The great sorting operations performed by the database can cause a temporary tablespace more and taking a considerable amount of disk space. When the sort operation is complete, the extra space is not released; It is just marked as free and available for reuse. Therefore, a single operation of large size can result in a large amount of temporary space that remains unused, once the sort operation. For this reason, the database allows to shrink the locally managed temporary tablespaces and free up unused space.
    . . .
    Shrinking frees as much space as possible while maintaining the other attributes of the tablespace or tempfile.

Maybe you are looking for