473,466 Members | 1,508 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

size of the database

Hi,

How can i estimate the approximate size of the database as a whole.
This is required because i want to take the backup of the database and
have to make sure that that much space is available.

Thanks

Rahul

Sep 10 '07 #1
3 2907
On Sep 10, 3:07 pm, Rahul Babbar <rahul.babb...@gmail.comwrote:
Hi,

How can i estimate the approximate size of the database as a whole.
This is required because i want to take the backup of the database and
have to make sure that that much space is available.

Thanks

Rahul
use
db2 CALL GET_DBSIZE_INFO(?, ?, ?, 0)
on my systems the compressed bkp on 8.2.7 takes approx 1/4 of dbsize

Sep 10 '07 #2
On Sep 10, 7:29 pm, rahul <rahul...@gmail.comwrote:
On Sep 10, 3:07 pm, Rahul Babbar <rahul.babb...@gmail.comwrote:
Hi,
How can i estimate the approximate size of the database as a whole.
This is required because i want to take the backup of the database and
have to make sure that that much space is available.
Thanks
Rahul

use
db2 CALL GET_DBSIZE_INFO(?, ?, ?, 0)
on my systems the compressed bkp on 8.2.7 takes approx 1/4 of dbsize
Thanks

I am getting the following result
Value of output parameters
--------------------------
Parameter Name : SNAPSHOTTIMESTAMP
Parameter Value : 2007-09-12-00.59.40.988803

Parameter Name : DATABASESIZE
Parameter Value : 40190345216

Parameter Name : DATABASECAPACITY
Parameter Value : 50635932148

Return Status = 0
Does the database capacity means the maximum size of the database?
I see that the database capacity and database size are pretty close(50
GB and 40 GB)?
I guess i will have to create another database

Rahul

Sep 11 '07 #3
On Sep 11, 12:38 pm, Rahul Babbar <rahul.babb...@gmail.comwrote:
On Sep 10, 7:29 pm, rahul <rahul...@gmail.comwrote:
On Sep 10, 3:07 pm, Rahul Babbar <rahul.babb...@gmail.comwrote:
Hi,
How can i estimate the approximate size of the database as a whole.
This is required because i want to take the backup of the database and
have to make sure that that much space is available.
Thanks
Rahul
use
db2 CALL GET_DBSIZE_INFO(?, ?, ?, 0)
on my systems the compressed bkp on 8.2.7 takes approx 1/4 of dbsize

Thanks

I am getting the following result
Value of output parameters
--------------------------
Parameter Name : SNAPSHOTTIMESTAMP
Parameter Value : 2007-09-12-00.59.40.988803

Parameter Name : DATABASESIZE
Parameter Value : 40190345216

Parameter Name : DATABASECAPACITY
Parameter Value : 50635932148

Return Status = 0

Does the database capacity means the maximum size of the database?
I see that the database capacity and database size are pretty close(50
GB and 40 GB)?
I guess i will have to create another database

Rahul
Also,

Is it possible to view the size occupied by various schemas in the
database?

Rahul

Sep 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: dchow | last post by:
Our database size is currently 4G and is incrementing at a rate of 45M/day. What is the max size of a SQL database? And what is the size beyond which the server performance will start to go down?
7
by: Bart Torbert | last post by:
Hello, I am starting to examine using SQLServer instead of Oracle. I went through the SQLServer import utility to copy tables from Oracle into SQLServer. I then checked the size of the...
5
by: Anand | last post by:
Hi all Please help me to find out table size in MS-SQL how can I count or identify, this specific table is using some xyz kb of space of my hdd. thanks
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
3
by: Knick via AccessMonster.com | last post by:
I am novice to MS Access Development, I regularly back my access database every 2, 3 days ...today when I was going to back my database I saw the access file on the network drive was only 9 MB...
4
by: vijay.db | last post by:
Hi Group, It's really confusing to calculate the size of the DB2 UDB database in versions lesser than 8.2. In Version 8.2 if we run the query db2 "call get_dbsize_info(?,?,?,0)" it gives us...
2
by: Bob | last post by:
Hi all, My databases seem to become corrupted as soon as they reach 2GB. Once it does become corrupted the only fix is to create a new database and transfer everything into that. I need to...
7
by: yellr | last post by:
Hi, i've spent all resources, except this one. Hopefully anyone there out could help me with a idea for this problem. We have a db2 8.2 Enterprise Edition, on AIX 5.3 Platform, this is our...
6
by: Marcolino | last post by:
Hi all, I have a simple problem but I don't know which is the best way to solve it. I need to savo into a table into access DB the location and the size of a form. Is there a way to save...
5
by: aleu | last post by:
Hi all, Could you please advise whether there are documents describing impact of MS SQL server 2005 database size on its performance? I have essentially two things in mind when writing the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.