Need to check the growth of the database per month

Hi all

How can I identify the wise data/tablespase growth monthly as; wise, tablespase wise, etc...

I'm usging 11g

Need a sql query where I can find all believed in basic data on a monthly basis;

Thank you;

I use this query:

SELECT

DBAT.tablespace_name,

(DECODE (total.mb, NULL, 0, NVL (ROUND ((total.mb-free.mb)/(total.mb)*100,2),100))) pct_used,))

total_mb (total.mb),

(NVL(free.mb,0)), free_mb,

(NVL (total.mb - free.mb, total.mb)) used_mb,.

max_next (next.max_next),

DECODE (dbat.allocation_type, "UNIFORM", "UNIFORM",

DECODE (next.max_next, null, "AUTOEXTEND",

'OTHER')

) alloc_type

Of

(SELECT ts tablespace_name, SUM (bytes) / 1024/1024 mb)

OF sys.dba_data_files GROUP BY tablespace_name

), total

(SELECT ts tablespace_name, sum (bytes) / 1024/1024 mb)

OF sys.dba_free_space GROUP BY tablespace_name

) free,.

(SELECT tablespace_name ts, (max (next_extent) / 1024 / 1024) max_next)

OF sys.dba_segments GROUP BY tablespace_name

) next,.

dbat sys.dba_tablespaces

WHERE dbat.tablespace_name = free.ts (+)

AND dbat.tablespace_name = total.ts (+)

AND dbat.tablespace_name = next.ts

AND dbat.contents = 'PERMANENT '.

ORDER BY alloc_type DESC, pct_used DESC;

concerning

Gaelle

Tags: Database

Similar Questions

  • Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello.

    Hello

    Do you have any idea of this error, I went through a few forums, but I still got the same message.

    FDM is my server on computer A

    and my Foundation + shared on machine B


    Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello

    Browse the following post

    Failed to create the application of FDM

    (mark this message as useful or appropriate if that helps!)

    concerning

    -DM

  • What I need to import the database - impdp.

    Hello
    I question as what I need if I want to create the database form DMP fiir copy made by expdp full = y.
    Now I want to cretae this database by impdp full = y BUT I have an other paths (Windows system).
    Once a week I can finally cretae instance, instance of startup and now I struggle with this oracle 'user friendlY' to create the database.
    But what I need to import the database by impdp? I think that I need software Oracle - installed instance (oradim) and after (startup nomount) and what next cretae database? and adter import DMP file form?
    How can I create thid BD if I want the same, as it is in the dmp file?

    Thanks for the replies.

    Hi all

    As the paths are different and you did export using utility datapump

    During the import, you want your data files on different paths...

    Thus, you should use Remap_datafile for sure and (if necessary) Remap_tablespace

  • I need to combine several PDF files into a single attachment on my iPhone. I subscribe to the $ 9 per month package, but I can't seem to find an option to combine the files of one attachment. Can you please help?

    I need to combine PDF files in a magnetic. I subscribe to the $ 9 per month package. Is this possible?

    Hello

    With Adobe Acrobat iOS app, we can only create PDF of it. To combine the documents, go to https://cloud.acrobat.com/combinepdf on your device browser.

    Thank you

    Abhishek

  • Tools to check the database of exchange 2010 is healthy or not

    Dear Sir/Madam,

    All the tools to check the exchange 2010 database is healthy or not, I hope that do not need to dismount the store. Thank you!

    Dennis

    Hello, Dennis

    Thank you for visiting the Microsoft Answers site. The question you have posted is related to Microsoft Exchange Server 2010 and would be better suited in the Exchange Server TechCenter community. Please visit the link below to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en-us/exchangesvrgeneral/threads

  • How to check the database is created in the database of node 2 RAC

    Hi all

    Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
    virtual box (Windows 7)

    2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
    11.2.0.3 software grid & database.
    One of DB name is demo
    Node1 (demo1)
    Node2 (demo2)


    1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.

    I am able to use view state using crsctl (see the log)

    2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.

    I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.

    Yes, question
    1: is the database created?
    2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
    ???? What? What oracle server trying to connect?
    3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?

    Please advise!

    Thank you very much!




    [grid@demo1 ~] $ crsctl stat res t
    --------------------------------------------------------------------------------
    TARGET STATE SERVER STATE_DETAILS NAME
    --------------------------------------------------------------------------------
    Local resources
    --------------------------------------------------------------------------------
    ORA. DATA.dg
    Demo1 ONLINE
    Demo2 online
    ORA. LISTENER.lsnr
    Demo1 ONLINE
    Demo2 online
    ORA.asm
    Demo1 Started online
    Demo2 Started ONLINE
    ORA. GSD
    In offline mode offline demo1
    Demo2 offline offline
    ORA.net1.Network
    Demo1 ONLINE
    Demo2 online
    ORA.ons
    Demo1 ONLINE
    Demo2 online
    --------------------------------------------------------------------------------
    Cluster resources
    --------------------------------------------------------------------------------
    ORA. LISTENER_SCAN1. LSNR
    1 demo1 ONLINE
    ORA.demo1.VIP
    1 demo1 ONLINE
    ORA.demo2.VIP
    1 demo2 online
    ORA. CVU
    1 demo1 ONLINE
    ORA. OC4J
    1 demo1 ONLINE
    ORA.scan1.VIP
    1 demo1 ONLINE

    Published by: 969880 on November 13, 2012 14:18

    1. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
    2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
    3. you must use:

    srvctl start database -d demo
    

    This should start all database instances.

    But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.

  • dynamic action turns an article based on the result, and checks the database!

    I use Apex 4.1

    I do not know how to accomplish the following:
    If a pick list is changed, a function is checked and based on the results of a another field is disabled or enabled.

    I created a dynamic action (change) that executes a PL/SQL code, now I need to disable the other element.

    the problem is that I can't save the dynamic action because of the sign #.

    example:
    Start
    HTP.p ("< script type =" text/javascript"> '");
    HTP.p ('$('#P35_FT_00010_DOC_NO').attr ("readonly", "true")');
    HTP.p ("< /script >");
    end;

    I tried document.getElementById, but an error occurs also when I try to save.

    I think the wrong way?... Help, please

    1. create a step forward (not the simple/standard one) dynamic action.
    2. create initially unconditionally (the wizard will not let you take the PL/SQL expression as a condition but we will go back and change it later)
    3 assume that TRUE from your PL/SQL will lead to disable the item, then choose 'Disable' and the item you want to disable.
    4. Once created, go back in the DA and change the status of PL/SQL expression and put your PL/SQL in there (suppose you have a function returns boolean called MY_FUNC and TRUE to him means disable).
    5 copy the DA in its entirety to a new DA will be FALSE to activate the element.
    6. Once copied, go into the new DA and change the status of PL/SQL to NOT (my_func).
    7 change the REAL action of the DA to activate the element.

    So now you should have two similar DAs... one for when MY_FUNC is true and disables the element, a when "NOT (my_func)" is true and allows the element.

    If you do not disable, you can run javascript instead to set readonly. It seems that this is kind of what you tried to do, but you seem to use a jQuery selector, I suppose that (I did not recognize your syntax to off the bat)?

    Try to use the javascript API instead Apex:

    if ($v('P35_EN_DIS_DOC') == 1 )
      $x('P35_FT_00010_DOC_NO').readOnly='true';
    else
      $x('P35_FT_00010_DOC_NO').readOnly='';
    
  • Need to change the database to another server

    Hello

    We purchased a new server and want to move our database to the new. I intend to do following things:

    (1) stop the database and backup to take.

    (2) create a new database on the new server with the same structure of directory and same name.

    (3) copy all the files to the new server (file initorcl.ora, password, data files, control files).

    (4) give old IP of the server to the new server.

    (5) make the necessary changes to Tnsnames.ora, listener.ora.

    (6) start the database.


    Please advice if I am out of the important steps.

    Thank you

    Step 2 is not necessary and can be confusing because it creates data files that you don't want! (you want the data files to from the "old" Server).
    However, if the platform is Windows, you will need to create the Windows Service to start the database instance.

    Hemant K Collette

  • Need to check the update of the BIOS Portege R830 without Intel TXT

    Hello Forum,

    I have exactly the same problem as described here 2 years ago:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=65519

    I need to update my BIOS, but I can't because the update of the BIOS told me that the Intel TXT is enabled.
    Unfortunately I can not disable it in my bios. Its just not selectable. The 'cursor' jumping just above him.
    I can only 'hide' which does not help.
    I have the same thing for the VT - x and VT - d setting in the BIOS. Is not selectable or editable as well.

    TPM is not active if...
    I installed after infineon and he tells me I need to enable the TPM in the bios to use. :-(

    I have a very old Bios Version 3.1 and I read in the changelog that there are a lot of TPM in v 3.4 and 3.5 related changes...

    In any case...
    A P007Dv360A_EC77V140.zip file has been transferred to 2shared.com who fixed it at the time, a user named Paolo30.
    Unfortunately, that this file has been deleted on 2shared.com

    can someone please provide this file (or an update of the bios later) which resolves this issue?
    Thanks in advance.

    Portégé R830 - 10 p belongs to the series of PT321 if you need the BIOS for Portege R830 PT321

    You can download older versions of pages driver Toshiba BIOS.
    For example: http://www.toshiba-asia.com/sg/support/drivers

    On this page of Toshiba Asia I could find all the BIOS for this Portege model.

  • Should I really need to move the database on the upgrade to vcenter

    I have vcenter on 32-bit, windows 2003 and installing vcenter 4.1 I had to migrate the database to the new windows x 64 environment.
    Cool, I installed a new windows 2008 x 64 STD, vcenter 4.1 installation on top is OK. (default installations)
    I have 2 ESX server in a cluster running in HA mode.

    Here's my question.

    1. what happens if I have used to migrate the database and disconnect the 2 ESX hosts and reconnect on new vcenter?
    2 would be my (NICs, HA confiscation etc.) configurations automatically moved to new vcenter if I'm not going to migrate from the old database?

    No, this config resides in each host, not on the vCenter database.

  • I can't the $30 per month deal creative cloud?

    If I currently subscribe only one app, can I get a $30 per month face of creative cloud that you offer?

    Actually, I was referring to a sale that is in this last day today. I called the number of sales of Adobe and they gave me the deal $ 29.99 for full creative cloud for the first year. So, all good!

  • need to check the name of the standby database

    Hi all

    How can I check my database pending primary database name?

    I have no idea where my db ensures located and what is the name.

    any help will be appreciated


    Thank you.

    Hello

    To simplify the work,

    SQL > show parameter log_archive_config

    dg_config =(prod,*STBY*)

    Here's the prod-> primary
    STBY is-> waiting for database

    Thank you
    Rognard

  • Need to check the server for a new databaase resources

    Hello
    Please could you help?

    I need to create a database on a solaris server that already has 9 databases. I want to check on the material resources to make sure that it can take a different database. What resources do I need check and how do I check them?

    Thank you.

    Hello

    Bassically, you should check in 3 parts:

    1 memory: make sure that the server has to have enough memory to allocate a new instance. With the command sql show sga you can see the actual use of your instance, and with the unix 'free m' command, you can see the free memory / used on your server.

    2 space: you must have enough free space to copy all your data.
    DF h

    3 CPU: Your server is overloaded? What is the CPU of the old server? You can check this with top

    Kind regards

    Mario Alcaide

    http://marioalcaide.WordPress.com

  • What do I need to use the database shall begin backup mode to perform the backup?

    Hi all

    I have a primary database to 10g (10.2.0.4) with intelligence on a solaris platform. I need to create a different primary eve for the same database.

    I stopped the recovery based on standby and began copy (copy of the os) the existing files pending at the 2nd backup server. But I didn't keep the (mounted) existing standby database into begin backup mode. Is this right?

    Thank you

    Arun

    For a mounted database backup mode?

    orclz >

    orclz > startup mount

    ORACLE instance started.

    Total System Global Area 788529152 bytes

    Bytes of size 3050600 fixed

    373293976 variable size bytes

    406847488 of database buffers bytes

    Redo buffers 5337088 bytes

    Mounted database.

    orclz >

    orclz > alter database begin backup;

    ALTER database begin backup

    *

    ERROR on line 1:

    ORA-01109: database is not open

    orclz >

  • You need to install the database.

    Hi team,

    I'm looking for P6 Reporing database on edelivey.oracle.com but no more.

    I looked into p6 eppm 8.3 media pack, under database but no utility.

    Can someone tell me exactly where I'll get P6 database to download?

    Hello

    Instead of looking under the P6 EPPM 8.3 pack, you will need to go to "Primavera Analytics R3.1 Media Pack for Microsoft Windows (third from the bottom on the list of the Primavera - what research for 64-bit Windows Applications)

    Concerning

    Alex

Maybe you are looking for

  • Unable to pair re Apple Watch 1st gen

    Hi guys,. I have a first gen 38 mm Apple Watch alu and 6s with 9.3.1 iPhone. Until now they work very well together, but Sunday I reset the watch and since then one can not re pairit with the phone. Once I chose the language on the watch, it gives me

  • Ubuntu Jaunty on Satellite A60 (PSA60E) - Fn keys and brightness do not work

    Hello, I am unable to use the Fn keys on my laptop, probably due to acpi problems (while the initialization of the system tells me "not connected to IO-APIC timer").I should update my bios (currently I have ' acpi bios v1.70 ") or what? Thank you ver

  • My desktop screen takes a long time to load.

    It takes a good 15 minutes to load my desktop screen. The shortcut icons are the last thing to appear. I tried to do a virus scan, I defragment the hard drive, I have run a maintenance program and deleted unnecessary files... I tried turning off and

  • Print screen button does not work

    I have a Lenovo R61i Notebook.  Print screen button does nothing.  How can I print screen on this computer?

  • T61 multimedia card slot

    my laptop is T61 7658 CTO with vista. There is no Pc card slot & media card slot. Like using on the computer, the SD card can be used in media card slot. but I don't know how to install the sd card into the media card slot. the slot looks a little bi