Database Administration (MOSC)

MOSC Banner

Judging the accurate storage capacity

edited Aug 18, 2019 11:56PM in Database Administration (MOSC) 12 commentsAnswered

We have a requirement to copy schemas(after some data filtering) from one DB instance to another. Before we do this, we also need to make sure the target DB has enough storage capacity to accomodate the copied data. We have a Java based microservice to do all this and prefer the SQL route if it is possible. We use ASM and Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production.

Based on our reading, we saw that there are multiple ways of doing it. I have listed down a few options we came across, but wanted your inputs.

1. Assuming that we know the table space which the schema objects are going to use, is it reliable to use the data in DBA_TABLESPACE_USAGE_METRICS and DBA_TABLESPACES to find available capacity? We tried the following query:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center