How to find the history of Tablespace in Oracle database?

Hello

I need to find which data was inserted on the weekly basis in the particular tablespace.

Because we need to find which tables update very frequently, and also we didn't have plenty of space in the server.

If we can find it, it would be useful for us to communicate with the developers.

Thank you

Shiv.

For tablespace growth

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

Select

TO_CHAR (sp.begin_interval_time,'dd-mm-yyyy "") days.

TS.tsname,

Max (round ((tsu.tablespace_size* dt.block_size) /(1024*1024), 2)) cur_size_mb,.

Max (round ((tsu.tablespace_usedsize* dt.block_size) /(1024*1024), 2)) usedsize_mb

Of

dba_hist_tbspc_space_usage tsu,

dba_hist_tablespace_stat ts,

dba_hist_snapshot sp,

dba_tablespaces dt

where

Tsu.tablespace_id = ts.ts #.

and

Tsu.snap_id = sp.snap_id

and

TS.tsname = dt.tablespace_name

and

TS.tsname not in ('SYSAUX', 'SYSTEM')

Group

TO_CHAR (sp.begin_interval_time,'dd-mm-yyyy ""), ts.tsname

order of ts.tsname, days;

To check the tablespace free sapce

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

Select nom_tablespace, sum (bytes) /(1024*1024*1024) from dba_free_space where nom_tablespace = group 'LARGE_DATA' order by 2 desc nom_tablespace

To check the size of tables

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

Select sum (bytes) in dba_segments where nom_segment = "XYZ";

Thank you

Harman

Tags: Database

Similar Questions

  • How know what the largest table of my oracle database?

    How know what the largest table of my oracle database?

    SELECT * FROM
    (
    SELECT
    NOM_SEGMENT,
    SEGMENT_TYPE,
    BYTES/1024/1024 MB
    TABLESPACE_NAME
    Of
    DBA_SEGMENTS
    WHERE
    SEGMENT_TYPE = 'TABLE '.
    ORDER BY DESC 3
    )
    WHERE
    ROWNUM<=>

  • How to find the history of the instance starts/stops?

    Hello
    I'm looking for history of instance starts/stops.

    Thanks in advance.

    Hello

    You can find the history of start/stop of the instance in the alert log file.

    Follow the steps below.

    1 SQL > show settings back.

    / u02/oracle/admin/test_db/bdump string background_dump_dest

    It is the location of the my bdump folder.

    2. got to the location.

    3. alert ls *.

    alert_test_db.log

    Kind regards
    Ranjan

  • How to find the history of purchases

    I have many recipes in the history of the purchase, how to search by keyword to find a?

    Connect to your iTunes Store account. Select bought in the sidebar of quick link; Select the type of media you want to browes, this will display all items you purchased, but not downloaded to your local library.

    At this time, this feature doesn't seem to work properly. Try again later.

  • How to find the update of Cummulate of oracle 11.5.9

    Hi all

    How can we find 11.5.9 CU1 CU2 or

    Thank you
    Bhanu Chander.

    Bigot,

    11.5.9 CU2 patch number is 3171663, please run the following query to check if you have this hotfix applied or not:

    SQL> select *
    from ad_bugs
    where bug_number = '3171663';
    

    By the way will you please share your name once more... I forgot your name

    It's Hussein (already mentioned in my profile). Maybe I should change my handle to match my name :)

  • How to find the responsibility of seeds of Oracle

    This correct understanding that all rows in table with created_by = 1 fnd_responsibility_tl rows are seeded by Oracle, that is, they are seeded Oracle responsibilities?

    Is there any other responsibility as well which could be sown?

    This correct understanding that all rows in table with created_by = 1 fnd_responsibility_tl rows are seeded by Oracle, that is, they are seeded Oracle responsibilities?

    Correct - unless this column has been updated manually.

    Is there any other responsibility as well which could be sown?

    Outside the query you have and the naming convention, in my view, there is no other way (diary of an SR to confirm with support of Oracle).

    Thank you
    Hussein

  • How to activate the log mode archive in oracle database 11 g 2

    Hi all

    I hope that you all are doing well.

    I want to activate the archiving log in my version of the database 11.2.0.4.0 safely.

    Why safely because my database works fine now.

    Windows 8.1 - OS 64 bit.

    Please provide the correct steps

    so that the work of database and schema can not lose more after that the archive log is enabled.

    Thank you all for your response.

    I followed the thread How to archivelog mode

    Measures

    -----

    SQL > archive log list

    SQL > show parameter db_recovery_file

    SQL > alter system set db_recovery_file_dest_size = 10G scope = the two sid ='* ';

    SQL > shutdown immediate

    SQL > bootable media.

    SQL > alter archivelog database;

    SQL > alter database open;

    She is successful.

  • How to find the delimiters

    Hello Oracle experts

    I am trying to find number of separators to a text string. But I could find only for the first record. Can you if it doesn't matter who you please let me know how to find the record2.

    I use

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    Thank you



    with t as
    (select 3999 ^ 0077774 ^ Institution ^ Mountwest ^ 1 ^ Lilly ^ Maria ^ [email protected] ^ 555-555-5555 ^ 2 ^ Lilly ^ Maria ^ [email protected] ^ 999-999-9999 ^ 3 ^ Lilly ^ Maria ^ [email protected] ^ 777-888-1234 ^ 1 yyyy xxxxxx Drxxx ^ ^ xxxxxxx ^ AA ^ 99999 ^ MRO ^ U.S. ^ ^ ^ I do not know ^ 2 years ^ Public ^ applicable ^ Urban ^ 1, 000-4, 999 ^ N ^ Conference ^ N ^ 14/04/2009 10:52:51 ^ 24/08/2010 09:26:46 ^ Active ^ ^ I ^ ^' string1 from all the double union)
    Select ' ^ ^ ^' double string1
    )
    Length (STRING1) - length (replace(STRING1,'^','')) SELECT delim_number from T

    Try:

    SELECT  length(STRING1)-NVL(length(replace(STRING1,'^','')),0) delim_number from T
    
  • How to find the configuration state of REDO logs files?

    I'm trying to move the redo log files.
    Before that, I want to know if it is set as a duplex or any other configuration.

    How to find the REDO log configurations.

    Oracle 10g R2

    Thank you
    Smith

    Example:

    Not in duplex redo log - if the number of members is 1, it is not duplex:

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          1
             2          1
             3          1
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo01_2.log' to group 1;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo02_2.log' to group 2;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo03_2.log' to group 3;
    
    Database altered.
    

    Duplex redolog

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          2
             2          2
             3          2
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
             1 /u01/app/oracle/oradata/db1/redo01_2.log
             2 /u01/app/oracle/oradata/db1/redo02_2.log
             3 /u01/app/oracle/oradata/db1/redo03_2.log
    
  • Half of my Word document disappeared.  How can I find the history of the document so I can revert to a saved version the earlier?

    Half of my Word document disappeared while I was working on it.  I tried to use the back arrow to recover, but Word is closed.  How can I find the history of the document so I can revert to a saved version the earlier?

    I hope that you have a Time Machine backup that you can use to revert to a previous version.  If it is then maybe you shared the document with someone else by e-mail and get get an old copy of your sent e-mail.

  • How can I find the history of the app on itunes or the app store for my iphone 5? I got an iphone 5s and it broke... now I have another but want to see the history of my old phone apps.

    How can I find the history of the app on itunes or the app store for my iphone 5? I got an iphone 5s and it broke... now I have another but want to see the history of my old phone apps.

    If you are connected to the same Apple ID you used with the old iPhone, just open the App Store App and look in the tab under purchased for applications updates.

    And less... More-> purchased in the iTunes App for music, movies etc...

  • Have deleted implementing up-to-date, but while they inspected I think it's still in my system in my history how to find the files to remove it completely?

    Original title: Remove KB3035583

    I deleted the update, but while they were inspecting it, I think it's still in my system in my history how to find the files to remove it completely?

    I am running Windows 7

    Microsoft have now updated the status of GWX, whenever changes to update is downloaded as a new update re. It is not beyond their intrigues to GWX ineffective as well. Unfortunately we have to be patient until 29 July when, according to the assurances of Microsoft this mess will be disabled. I don't know if there is code to turn it off or we wanted yet another update to do.

  • HP Photosmart C510 - how to remove the history of navigation on the zeen?

    Hello.

    We have one of the new after HP (C510) with the zeen wireless.  I would like to delete the browsing history on the zeen showing what I looked and looked.

    Does anyone know how to do this?

    In the bottom menu bar go more then settings scroll down and you will find the history button to delete

  • How to view the history of the exams?

    I want to know how to make someone look at his history of review?

    801264 wrote:
    OK, this is how you show your certificate. But how to view the history of the review?
    I just spent a few hours ago 1Z0-051. Now, I want to see my own historical review. How can I do this? Via certview, or should I go directly to the website of pearson?

    Published by: 801264 on December 23, 2010 16:34

    Pearson VIEW find out of your exam at Pearson VIEW history... but he will not know about certifications.

    Certiview will be your story for review and certification. Are can be a lag of a few days between information get Pearson view at Certview.

  • says that there is an update of firmware available for my 3 t time capsule. I get "an error occurred when downloading". How to find the problem?

    I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3

    Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.

Maybe you are looking for