Approximate physical size of database
Hi Experts,
I wanted to know my physical size of database like datafiles, tempfile occupied currently and free space can any one let me know do we have any query to get the information.
Thanks,
S@ntosh.
psantosh wrote:
I wanted to know my physical size of database like datafiles, tempfile occupied currently and free space can any one let me know do we have any query to get the information.Why do you want this (mostly useless IMO) information? If the total is for example 6123MB, what does this tell you? How does this enable you to manage the database better? Or understand database performance, or database growth? That number alone is a pretty meaningless number.
Also, what about database's footprint ito control files, archive logs, rman backups, bdump, udump, cdump and other directories? What about database tables that use BFILE datatype referencing external files and using that as part of the database's data? Etc.
Database size of x amont of MB/GB/TB is IMO a number that says nothing about the database - and is pretty much useless. Database space is not just a single number. It is much more complex than that. The important thing is to understand what space is needed, for what purpose, and how Oracle uses it.
Similar Messages
-
Since the Migration to ACS 5.5.0.46 we keep seeing the following message in the alarm inbox
Cisco Secure ACS Alarm (CRITICAL): Physical size of ACS db is more than 50% of its Actual Size.
Cisco Secure ACS - Alarm Notification
Severity: Critical
Alarm Name
System Alarm [Database Purging]
Cause/Trigger
Physical size of ACS db is more than 50% of its Actual Size.
Alarm Details
Physical size of ACS db is more than 50% of its Actual Size.The size will be reduced after purge ACS transaction log and compress ACS db.
Generated On
Mon Mar 17 05:00:06 CET 2014
ACS View Database Compression and Backup is configured and runs without error:
The Backup Job stores a maximum of 4 Months to a FTP Server.
Fullbackup: Monthly
Incremental: Weekly
DB: Compression activated
Purge and Incremental Backup History
Name
Start Time
End Time
Status
DatabasePurge-Job
Mon Mar 17 04:00:00 CET 2014
Mon Mar 17 04:00:00 CET 2014
Completed
as far as I can see from the CLI there should not be an oversized DB:
ACS21/acsadmin(config-acs)# acsview show-dbsize
Actual DB Size (bytes) : 1585192960
Actual DB Size (GBs) :1.48
Physical DB Size (bytes):1605386240
Physical DB Size (GBs) :1.5
Physical ACSviewlog file Size (GBs) :0
ACS21/acsadmin(config-acs)# exit
ACS21/admin# show application status acs
ACS role: PRIMARY
Process 'database' running
Process 'management' running
Process 'runtime' running
Process 'adclient' running
Process 'ntpd' running
Process 'view-database' running
Process 'view-jobmanager' running
Process 'view-alertmanager' running
Process 'view-collector' running
Process 'view-logprocessor' running
Looking at the User guide:
http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-5/user/guide/acsuserguide/viewer_sys_ops.html#wp1065174
"The ACS Database needs to be compressed as a part of maintenance operation. You can run the acsview-db-compress command from acs-config mode to reduce the physical size of the view database when there is a difference between the physical size and actual size of the view database. ACS 5.5 stops only the log collector services during compress operation and will be up and running after the compress operation is completed. You need to enable the log recovery feature to recover the log messages that are received during the database compress operation.
In ACS 5.5, database compress operation is automated. You can check the Enable ACS View Database Compress check box to compress the ACS View database automatically every day at 5 A.M. The database compress operation is run everyday automatically at 5 A.M whenever there is a need."
I already tried to manually compress the DB via "acsview-db-compress" without any effect.Hello,
You're running into bug CSCum51180. The alarm should be a warning, not critical, and should be raised only when the physical size exceeds the actual size by more than a gigabyte (in your case, the difference is very small, 1.5 vs. 1.48).
The fix should be present on a future patch.
Javier Henderson
Cisco Systems -
Experts,
We are in ahead of Archiving project in SAP.
I want to know, how I could find size of Database tables under Objects.
For eg . Object MM_EKKO under that there many database table (A068,A081 etc)
I want to know size of that database table.
I know function DB05 and DB02 but it is very time consuming to run one record.
Is there any other table name or any other option to find?
ThanksHi,
DB05 calculates "Total number of rows * Requested bytes per row" which is not a physical requirement over the tablespace. This is a simple approach and can be used buffer requirements of the table, for example.
DB02 shows space allocation of the table, over the tablespace. The data is not store raw format when the database write the data to the datafile. It performs some algorithms to save space then writes to the datafile.
Because of this reason the calculations are different between DB02 and DB05.
Best regards,
Orkn Gedik -
I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?
The largest capacity HDD that you can install is the HGST 1.5 TB HDD:
http://eshop.macsales.com/item/HGST/0J28001/
Any 2.5" 9.5mm thick SATA HDD will fit and operate in your MBP, regardless of capacity.
Ciao.
Message was edited by: OGELTHORPE -
How to view the physical size of objects
Hi
Please advise how to view the physical size of objects like tables, indexes, materialize views etc.
Wishes
JawadTo see the physical size of objects like tables, indexes, use
USER_SEGMENTS where SEGMENT_TYPE=table/index/partition etc.
But for views/packages/java/trigger, you can only see rough estimate in USER_OBJECT_SIZE -
How to make AI document display same physical size as mobile screen?
I know this seems like a bush-league sort of question, but I can't find the answer.
I'm designing some screens for an retina display iPad and I just want the illustrator document on my 27" thunderbold monitor (at 109 ppi) to have the same physical dimensions as the physical iPad screen (7.75" x 5.81"). Maybe its so obvious that no one talks about how to do it. I do feel a little embarassed that I haven't figured this out.
Regardless of whenther I enter the doucment dimensions in inches or in pixels the resulting document is never the same pysicial size as the iPad's screen. And since Illustrator deals in vectors it doesn't have any notion of PPI that I can use to bring inches and pixels into alignement so that what I see on my monitor is the same physical size as what's in the iPad.
All i want is the AI document displayed on my monitor to be the exact same size as my iPad's screen. Can anyone help?Photoshop has a "Screen Resolution" feature in its Settings which allows you to enter your screen resolution of 109 and this will display the physical size of images when you choose Print Size from the View menu. It simply will display the image at the appropriate zoom level for you. Unfortunately Illustrator doesn't have this, it always assumes that your monitor is 72ppi resolution. The problem with implementing custom monitor resolution in Illustrator is that it is a vector program and unlike Photoshop it doesn't have a ppi settings for its vector objects which are resolution independent. For the use of its rulers and numerical dimensions input when set to pixels, it has to assume an eventual ppi rasterization of the vector objects. If Illustrator uses the same feature like Photoshop then the same Illustrator file will show different pixel dimensions depending on which monitor it is displayed which may cause a much greater confusion than the problem you have now.
To find the physical size in Illustrator, right click on its ruler and set it to units that you have on a real life ruler. Then put the real life ruler on your screen and change the zoom level until the rulers in Illustrator are the same size as the real life ruler. Then write down the zoom level and use it again when you want to check the physical size of your work.
I think with your 109 ppi monitor, the zoom level should be about 152% -
Can we run application services when physical stand by database is in read
can we run application services when physical stand by database is in read only mode
i Want to up the EBS application services and check login when phyiscal standby database is in read only mode.
Is it possible? for checking dataguard database application as well.but i just want to know that can i start EBS application services and nagivate the application.Without distrubing my primary database and application.You should not do as the moment you open the standby database it becomes invalid.
Thanks,
Hussein -
Adding Temp tablespace to physical stand by database?
I am getting the below error when i try to load data using SQL loader from physical stand by database to another database after making the physical stand by database in read only mode.
ORA-25153: Temporary Tablespace is Empty.
On primary database when i query
SQL>select ts#,name from v$tablespace;
TS# NAME
2 TEMP
On physical stand by when i query
SQL>select ts#,name from v$tablespace;
TS# NAME
2 TEMP
On primary DB when i query
select name from v$tempfile where ts#=2;
NAME
/dev/vx/rdsk/oradata/tempfile0101
On standby when i query
SQL>select name from v$tempfile where ts#=2;
no rows selected
At this point do i need to add datafile to the TEMP tablespace of stand by database or just need to add TEMP tablespace to stand by database.?
DB version:9.2.0.6
Thank You all...Can you make sure that /dev/vx/rdsk/oradata/tempfile0101 is copied to standby site during the standby creation. Often it happens that the hot backups are copied to standby ste and generally they dont contain temp files. If the files is present , then i'll suggest you to do a quick bounce of standby instance to make sure that controlfile attempted to access it. You can also try recreating the standby control file on promary and copy it to standby site along with the tempfile and start the instance with new control file.
If you want to add temp files to the standby instance, the only option you have is to add them on primary site. If you have standby_file_management as auto they will get copied over. If not you can copy the files to standby instance and restart the recovery.
Please let us know if any of the hints are applicable to your case.
-Ravi -
Physical size of dimensions and composites (Express and Oracle OLAP)
Hi, have a rather odd question re: the physical size (in bytes) of composites...are they affected by the dimension sizes?
I.e. if I define a dimension "Org" as:
define org dimension text width 10
will that result in smaller composites than if I define it as
define org dimension text width 30
? i.e. given that everything else if equal (same number of values, same # of tuples, etc.) does the physical definition of how wide a dimension is affect the size of the composites that use that dimension?
p.s. need to know this for Express, but if Oracle OLAP doesn't behave the same I'd like to know that also.
Thanks!
ScottA 5 dimensional composite has keys built of 5 4-byte dimension positions. There is a copy of the 20 byte value stored indexed by physical position that we use internally to determine the value of the base dimensions. Also there is a copy stored in a hash table used to take the base dimension values and convert those back to a physical position (that's 20 bytes for the key and 4 bytes for the physical position).
Finally, we have internal structures ("inversions") that we use to essentially do "limit composite to base dimensions" for looping (for each base dimension value, a list of physical positions that have that base value in it), at 4 bytes per dimension or another 20 bytes.
That's 64 bytes. Yeah, it's not cheap, but compared to a dense variable, you save a ton of space. I seem to remember a calculation someone did a long time ago that said that composites were net smaller for anything less than 20% dense.
I'm not surprised that under certain conditions you can find a better data layout. Certainly the overhead of storing dense data is tiny compared to a composite. If you are clever (or lucky) in your segmenting, you can take advantage of the "holes" in the data to improve the storage. The "holes" (large groups of NA values) can go for many pages, if the faster varying dimension size is large, and won't be stored.
Oracle OLAP contains various improvements over the Express code. I believe we now use compressed bitmaps to store the inversions, rather than lists of values, for a substantial savings. There may be other changes as well (I'm not current on the details of the dimension storage).
Hope this helps.
Jim -
Hi,
How to get total size of database??
Advance ThanksHi,
select
"Reserved_Space(MB)", "Reserved_Space(MB)" - "Free_Space(MB)" "Used_Space(MB)","Free_Space(MB)"
from(
select
(select sum(bytes/(1014*1024)) from dba_data_files) "Reserved_Space(MB)",
(select sum(bytes/(1024*1024)) from dba_free_space) "Free_Space(MB)"
from dual); -
Want to reduce the size of database
Hi Guys,
We have Oracle 10G database over Unix platform, Customer want to reduce the size of database as much as possible and the ami of customer to move the storage area of this database to other one. so we resize some datafiles and get lots of free space at mount point but while checking the utilzation of table is showing somw what different as other . kindly the below O/P:
% MaxPoss Max
Tablespace Name KBytes Used Free Used Largest Kbytes Used
*a DATA 45,875,200 8,740,992 37,134,208 19.1 1,728,512 100,663,248 45.6
*a HIGH_S_DATA 21,504,000 1,331,520 20,172,480 6.2 3,048,704 0 .0
*a HIGH_S_IND 15,360,000 853,568 14,506,432 5.6 1,661,504 0 .0
*a IND_DATA 57,241,600 3,512,832 53,728,768 6.1 3,995,648 100,663,248 56.9
*a LOW_S_DATA 357,376,000 28,436,736 328,939,264 8.0 4,063,232 167,772,080 213.0
*a LOW_S_IND 268,902,400 12,148,352 256,754,048 4.5 4,063,232 67,108,832 400.7
*a SYSAUX 1,433,600 897,152 536,448 62.6 485,312 33,554,416 4.3
*a UNPARSED_DATA 102,400 128 102,272 .1 102,272 0 .0
*a USERS 4,096,000 64 4,095,936 .0 4,063,232 33,554,416 12.2
*m SYSTEM 1,433,600 835,520 598,080 58.3 597,952 33,554,416 4.3
*m TEMP 54,033,408 54,033,408 0 100.0 0 33,554,416 161.0
*m UNDOTBS1 37,650,416 426,416 37,224,000 1.1 4,063,232 33,554,416 112.2
sum 865,008,624 111,216,688 753,791,936
SQL> select sum(bytes/1024/1024/1024) from dba_segments;
SUM(BYTES/1024/1024/1024)
54.5392456
SQL> select sum(bytes/1024/1024/1024) from dba_data_files;
SUM(BYTES/1024/1024/1024)
773.406235above all o/p is different, no able to understand it. please help me in this .
Could you please tell me is there any way to reset the HWM at Datafile level and how we reset the HWM of those tables having Materlized view?Hello,
I'm not really sure what is the problem here? Everything seems to be OK. From what I have seen ,your database can stand to be resized down quite a bit.
The actual amount it can be resized down depends on the highet HWM for the segments in the datafile, as in:
set line 200col file_name format a90
select file_name,
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) USED_SPACE,
ceil( blocks*&&blksize/1024/1024) SIZE,
ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) ECONOMY --how much of the space can be reclaimed
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm -- here we get the max hwm for the datafile from the extents residing within it
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
and ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) > 2000
>
You can also do a reorganization of the segment you suspect has a high degree of reclaimable space within its extents (high HWM and low actual space used). You can run segment advisor to help with that.
Hope it helps, -
Restricting the physical size of wifi network
Hi,
I'm planning to cover the 80x80m building by the amount of 1131AG APs and WLC4402 controller. But the strong client's demand is to physically restrict any posibilities of wifi connections from the long distances (100m and more from building).
Is there a feature in Cisco wifi to drop any incoming connections in case if client is 100+m from AP? (I mean that client's power is high enough for this)
What are the regular methods of resricting the physical size of wifi networks?
Thanks.This is exactly the case for knowing and understanding antenna types and patterns (i.e., what those goofy circle charts mean).
By using an antenna's pattern, coupled with power management, you can easily limit the radiation and external exposure of the signal.
You don't have to know every single antenna, but just be familiar with the general types, and how to interpret the charts.
Here's a pretty decent explanation on Cisco's main site:
http://www.cisco.com/en/US/prod/collateral/wireless/ps7183/ps469/prod_white_paper0900aecd806a1a3e.html
Good Luck
Scott -
Hi People,
How can i see de physical size of the infocube?
Thank you and regards.Hi Pablo,
You can use transaction DB02. Please read through this thread:
Re: Infocube size?
Hope this helps... -
How can we see what is the CPU and RAM size for the database?
<div class="jive-quote">select * from v$version</div>
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for HPUX: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Productioncat /proc/meminfo
root: total: used: free: shared: buffers: cached:
Mem: 1055760384 1041887232 13873152 0 100417536 711233536
Swap: 1077501952 8540160 1068961792
MemTotal: 1031016 kB
MemFree: 13548 kB
MemShared: 0 kB
Buffers: 98064 kB
Cached: 692320 kB
SwapCached: 2244 kB
Active: 563112 kB
Inact_dirty: 309584 kB
Inact_clean: 79508 kB
Inact_target: 190440 kB
HighTotal: 130992 kB
HighFree: 1876 kB
LowTotal: 900024 kB
LowFree: 11672 kB
SwapTotal: 1052248 kB
SwapFree: 1043908 kB
Committed_AS: 332340 kB
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 31
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 0
cpu MHz : 994.927
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce (snipped)
bogomips : 1956.97
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp -
How to calculate the size of database (a different one)
Hello Friends,
I am told to move the data from server to another machine (cloning is one very good option, I agree. But I expect a different answer regarding exports and imports). so How should I go about the task. The destination machine has got unlimited space. So thats not a problem. My questions are :
1) How should I start the task ( I generally go for studying the structures and their sizes. Is it ok ?)
2) If I am using Unix machine and there is a limitation that my server will not support file sizes of more than 2 GB, What should I do ?
3) Shall I have to go for a full database backup or fragment the task ? If I do that , there are many schemas, so it will become tedious. But full backup will exceed OS size limitation. What should be done ?
4) Is there anyway, I can go through a dump file, to find out, the database objects present inside that and note the related dependencies.
Please respond.
Regards,
Ravi Duvvuri1) They are Unix machines. So will the size problem occur(if there is a limitation). How to overcome that?
If the OS are of the same version you will have any problem. Regarding the storage only you have to have space in disk to store the datafiles, redo logs and controlfiles and nothing else.
2) I am trying Export/import measure. Though there are other good methods, I just want to explore the full capabilities of Exp/Imp
r.- Recreate the controlfiles is more effective and fast if the OS are of the same version.
3) And the oracle version is 9i 2. (If I have to perform this on 8i (both source and destination, will the methods are going to differ ?)).
R.- The method is the same for 8i/9i/10g.
How should I go about doing this export/import ?
r.- To use this method you have to have the original database started.
To recreate the controlfile without having the datafile that you mentioned you have to get out it from the CREATE CONTROLFILE sentence and that's it.
For Example: I mean, if your database has 8 datafiles and you have only 7, you have to include only 7 in the CREATE CONTROLFILE sentence.
Joel Pérez
http://otn.oracle.com/experts
Maybe you are looking for
-
How to access music and playlists on the same computer, for both Microsoft accounts?
Hello all, My husband and I recently got a new computer and are running Windows 8.1. We were able to successfully use an external hard drive to transfer all of the music and playlists over so that I can access them on my user account (I am the "main"
-
How do you know what frame size to make your movie?
Hello everyone, I know this is probably an easy question, but I just need someone to sum it up for me If I'm going to compress my movie (Shot in 4:3, 720x480) and I want to put it on someone else website... which I don't know there frame size... like
-
JEditorPane has no word wrap?
Hi All, There is no word wrap for JEditorPane, only characater-boundary wrapping. Does anyone know if I need to dig deeper into this? Such as learning about different document styles or something along those lines? JTextArea supports word wrap, but I
-
Images disappear or be replaced by default iWeb pictures
Hi! I'm new to this forum, and I've searched for someone who has the same problam as me, but I can't find any, so now I'm posting my problem to see if I'm the only one with this problem. I've created a site in iWeb'09 on my new iMac with OS 10.5.7, b
-
Jcontrol.exe as soon as stop when starting
HI,everybody! I have problem that is when my ep starting,the jcontol.exe will as soon as stop. My ep environment is Windows2003 64bit cluster,my ep used LDAP for UME.I can confirm the Oracle database is startup,and listener is running. Becaus