Core And Application DBA Blog

Monday, September 24, 2018

Estimate_Tablespace_Growth_In_Oracle

set heading on
 set linesize 5500
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
 FROM 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 BY TO_CHAR (sp.begin_interval_time,'DD-MM-YYYY'), ts.tsname
ORDER BY ts.tsname, days;

 

- September 24, 2018
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files.

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files. I got the issue below wh...

Search This Blog

  • Home

About Me

Adil
View my complete profile

Report Abuse

  • ►  2020 (50)
    • ►  April 2020 (50)
  • ►  2019 (2)
    • ►  June 2019 (2)
  • ▼  2018 (225)
    • ▼  September 2018 (225)
      • Steps to configure Manual Data Guard – Oracle 11g ...
      • Steps to configure Oracle 11g Data Guard Physical ...
      • Getting started with RMAN – Overview of RMAN, Star...
      • Online Move Datafiles in Oracle 12c R1 without get...
      • How to relocate/move oracle datafiles in Oracle 11g
      • How to relocate/move oracle datafiles in Oracle 11g
      • TNS-12535: TNS:operation timed out AND TNS-00505: ...
      • rename/relocate SYSTEM, SYSAUX or User Tablespace ...
      • How to drop database manually, without using Datab...
      • ORA-03113: end-of-file on communication channel wh...
      • Query to find out progress of transaction recovery...
      • RMAN failed to connect target database with ORA-00...
      • How to kill oracle datapump export job
      • cold clone 2
      • initASR parameter
      • How to Clear Apache Cache (Oracle EBS General)
      • hot clone restore operation
      • How to Purge
      • RAC 1
      • audit set
      • fndcpass
      • FULL OF WORKFLOW
      • bde_chk_cbo
      • Example Of Configuring Workflow Java Notification ...
      • How to Disable all Workflow related Email Notifica...
      • How To Purge E
      • Oracle Workflow Notification Mailer
      • Work Flow Administrator
      • Workflow Configuration
      • Workflow Notification Mailer
      • FND PURGE REQUEST :
      • fndload
      • enabling Audit 8007 Instance
      • data fix patch
      • APPLPTMP/APPLTMP clear
      • Concurrent Program Taking More time
      • Concurrent Requests MOS
      • ORA-28007: the password cannot be reused
      • sqltxplain
      • Difference 121122
      • Gather Statistics
      • adapcctl
      • adcmctl
      • adformsctl
      • adoacorectl
      • adoafmctl
      • adopmnctl
      • adstpal log
      • adstrtal log
      • step by step
      • RMAN Technical Reference
      • JAVACACHE
      • jtffmctl
      • ASR_tjpsb005 CONTEXT FILE APPS
      • pick up files which have been modified in the last...
      • Troubleshoot_WF
      • wf_Purge
      • quesries Wf screen
      • RMAN-08137: WARNING: archived log not deleted, nee...
      • tnsnames_appldev
      • listener_appldev
      • appsutil]$ cat ASC_tjpsb007.xml
      • Status code and Phase code for Concurrent requests
      • SQL to find scheduled requests:
      • Sql query to find all scheduled concurrent requests
      • purging request
      • list all concurrent programs that are scheduled to...
      • cm queries
      • Disabling the workflow notification mailer in a clone
      • change in parameter file in step 17
      • err in cloning
      • restore_db.sql
      • Refresh TESTdb from Pd RMAN backup
      • How to deal with ORA-00020: maximum number of proc...
      • ORA-00020: maximum number of processes (200) exceeded
      • bash profile
      • sqlplus: error while loading shared libraries: lib...
      • wf post cloned activity
      • post clone wf setup
      • clone related script
      • clone link site
      • StageAppsTier_05101133
      • perl adpreclone.pl dbTier
      • ApplyDBTechStack_05101449SUCCESS
      • catalogging rman
      • create tempfile
      • db Error clone
      • tjt clone
      • Clonning_Document Nides
      • DB refresh by datapump
      • Good Cloning Doc steps 12.2x
      • Post Clone Custom Changed
      • post clone
      • application name change site
      • backup list archivelog all
      • wf err for tmp permission cm request
      • Until sequence command
      • Unix Command tar.gz
      • start stop archive
      • restore_rman.sql
      • post clone db
      • nid
      • CUSTOM PATH creation
      • cmclean.sql
      • clone UAT
      • Long Running SQLID Process
      • Long running Concurrent Requests
      • cm heavy load
      • successfully created db console
      • db console 2
      • xhost config
      • db setup with OEM Db Console-UAT
      • how-to-install-oracle-grid-control-11g-step-by-ste...
      • Oracle_DB_Upgrade_12.1.0.2
      • db-upgrade-11-2-0-4-to-12-1-0
      • Data Guard setup using Rman in EBS
      • point-in-time-recovery-using-rman
      • Script to Get OS user name with terminal name
      • free pagecache:
      • stick blo
      • query 2
      • few quesry
      • app log file loc
      • active_inactive_session_terminal_waise
      • rman er2
      • rman err3
      • nid
      • db clone 2 hist
Awesome Inc. theme. Powered by Blogger.