Find the size of the database

Hi gurus,
Can some one suggest me in finding the size of complete database and the free space left in the database .
as i am doing the refresh just need to gather the statistics .
thanks

790072 wrote:
Hi gurus,
Can some one suggest me in finding the size of complete database and the free space left in the database .
as i am doing the refresh just need to gather the statistics .
thanks
1  select round(sum(df.bytes/(1024*1024))+sum(tf.bytes/(1024*1024))) TOTAL,
  2  round(sum(fs.bytes/(1024*1024))) FREE
  3* from dba_data_files df, dba_temp_files tf, dba_free_space fs
SQL> /
     TOTAL      FREE
   6839688     56127

Similar Messages

  • How to find out the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    An oracle database consists of data files, redo log files, control files, temporary files. Whenever you say the size of the database this actually means the summation of these files.
    select a.data_size+b.temp_size+c.redo_size+d.controlfile_size "total_size in MB"
    from
    ( select sum(bytes)/1024/1024 data_size from dba_data_files ) a,
    ( select nvl(sum(bytes),0)/1024/1024 temp_size from dba_temp_files ) b,
    ( select sum(bytes)/1024/1024 redo_size from sys.v_$log ) c,
    ( select sum(BLOCK_SIZE*FILE_SIZE_BLKS)/1024/1024 controlfile_size from v$controlfile) d;
    here
    a is megabytes allocated to ALL datafiles
    b is megabytes allocated to ALL TEMP files
    c is megabytes allocated to ALL redo-logs
    d is megabytes allocated to ALL control files
    Nimish Garg
    Software Developer
    *(Oracle & ASP.NET)*
    Indiamart Intermesh Limited, Noida
    To Get Free Oracle & ASP.NET Code Snippets
    Follow: http://nimishgarg.blogspot.com

  • How to find the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    francislazaro wrote:
    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?There are many threads related to the same topic,
    http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+find+the+size+of+a+database&objID=f61&dateRange=all&userID=&numResults=15&rankBy=10001
    HTH
    Aman....

  • How to extend the size of c3k database in Sybase(Adaptive Server Enterprice 15.5)?

    Hi All,
    I am trying to extend the size of c3k database in my system.
    I tried like the above screen short but it could not work because the increament button is disable.
    how can i increase the size?
    can any one help at this?

    Hi,
    From Central go to devices, find the C3000Device, right click and add space on it and then retry what you just posted.
    Regards,
    Kimon

  • How to find the size of the master data objects in the BW system?

    Hi,
    We would like to understand the size of the master data tables overall for a specific source system (Logical name is Ex.ABCD, which supplies all master data to BW). Can you please advise the procedure to find out this?
    Is there any table that will allows to see all the master data objects related to specific sources system so that we can find out that table size? Thanks.
    For example, we have many Texts, Hier & Attributes.
    0COUNTRY_TEXT
    0REGION_TEXT
    0PERSON_ATTR
    0MATERIAL_LPRH_HIER
    Advance Thanks.
    Edited by: BW USA on Feb 2, 2010 10:52 AM

    Hi,
    You can find out all the master data tales used in the BW system by
    Tcode : SE11
    Enter as /BIC/P* for master data tables and press F4 which gives list of master data tables currently used in BW system.
    Similarly for Texts  /BIC/T*  and press F4
    Similarly for Hierarchies /BIC/H-* press F4
    and can know the size of the all tables.
    Thanks,
    Gopal

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • FREE SPACE : To find the size of the report on INFO VIEW.

    Hello,
    We have recently started using BO XI R2.Could anybody please let us know how to find the size of reports from INFO VIEW ?
    Please find a brief of the situation we are currently encountering
    We use the web portal " INFOVIEW PROD " to access all the reports in BO. However, the all these reports are stored on the E drive of a production machine . Now the  E drive has reached 80% of its capacity and we need to free some space . We cannot delete files directly from E drive of the machine as it stores reports merely on the basis of numbers .The other option is to delete the unused reports from web portal. However , we are talking about 1000's of reports.Also , from the INFO VIEW we are not able to determine the size of the report to delete based on size and unusability.
    We would like some input on how to tackle this issue.
    Regards,
    BO USER R2

    Hello,
    Well that's really surprising to see that you have recently started using XIR2 since this is already an end of life product from SAP Business Objects.
    Well nevertheless there is an option to check these details.
    There is tool known as "Query Builder" in BOE
    The direct URL to start this is: - http://<servername>:<port>/AdminTools/querybuilder/ie.jsp
    and provide below query: -
    select SI_ID, SI_NAME,SI_FILES,SI_SIZE from CI_INFOOBJECTS where SI_KIND='Webi' Order BY SI_SIZE DESC
    SI_ID: - ID of the infoobject.
    SI_NAME: - name of the object
    Under SI_FILES you will get SI_PATH which will tell you the location from IFRS
    SI_SIZE: will tell you the size.
    But I would like to highlight one thing you need to check the instances of the document as well.
    Don't just start deleting everything, it can create more problems with the system.
    Take the backup of IFRS, OFRS and CMS DB as well.
    My reply is just to tell how you can find the webi document according to size and IFRS path
    Thanks,
    Vivek
    Edited by: Vivek Chauhan on Sep 12, 2011 1:50 PM

  • Why the size of the tif file is different in photoshop workspace compare to the Preview in Finder?

    1. Why the size of the tif file is different in photoshop's workspace compare to the Preview in Finder?
    Please look at the screen captures.
    Bottom left panel of Photoshop's workspace.
    Finder's Preview.
    2. I have an imac with 8gb ram, and assigned 6gb ram to photoshop use. But when I worked on a 24mb tif file, photoshop was lagging. And at the bottom left panel of Photoshop's workspace, the doc size is something/1gb. The tif file is only 24mb, why is it slow in photoshop? I have a lot of ram.
    Let me know, please.

    Thank you MIchelPM for giving me a very detailed explanation.
    So I understood why the photoshop doc size is bigger when working in photoshop.
    Regarding to your questions:
    1. How full is your Mac's hard drive?
        Not even 30% full, I even have a 1TB backup hard drive connected.
    2. How many applications do you run simultaneously in the background while working in another application?
        I usually only have photoshop or illustrator opened. Sometimes I ran 3-4 tif files at the same time, but when a big file (ex. 24mb tif) gets very slow, I closed all other files and programs, and "purged all" in photoshop, yet that 24mb tif file was still slow.
       I checked photoshop's ram and cpu usage in the activity monitor. Rarely photoshop's cpu usage would hit 100. But when I worked with the 24mb tif file, it would used all the ram that I've allocated to photoshop.
    But the myth is, my coworker who worked with the same file in CS4 with only 4gb ram in their imac don't have photoshop slowed down, when I have double the ram and CS6.
    3. What year, screen size, CPU speed of your Mac?
       I have 27" imac,
       • 2.9GHz  2.9GHz quad-core Intel Core i5 processor (Turbo Boost up to 3.6GHz) with 6MB L3 cache,
       • 1TB (7200-rpm) hard drive
       • NVIDIA GeForce GTX 660M graphics processor with 512MB of GDDR5 memory
    4. What version of OS X is your Mac using?
        Mountain Lion with the latest updates.
    5. What version of Photoshop are you using?
       • Photoshop CS6

  • How can I change the size of the FINDER bar so that I can make it easier to read on the 27 inch monitor.

    How can I change the size of the FINDER toolbar so that its eaier to read i.e. make the text bigger.
    How can you move the orientaion of the left side menus so that they sit above a document when using word. If you have a single document open you tend to place it in the centre of the screen and the drop down menus are so far away.

    I don't know of a way to change the size of the menu bar.
    For the other, take a look at Menu Pop. I don't know anything about it. Just happened across it the other day.

  • Can change the size of the redolog files while the database is running.

    How the size of the redolog files will hurt your database performance ?
    Can change the size of the redolog files while the database is running in oracle 9i. ?
    What will be its impact on the standby database ?
    Thanks in advance.

    redo logs that are too small can cause waits on the switches for heavily utilized systems. logs that are too large are a pain the a$$ during recovery. check v$loghist to see how often switches occur - an average of 20 minutes is good; if you have many switches happening back-to-back, that's a bad sign.
    you can change the sizes while the db is up. choose a redo group that is INACTIVE, drop it, delete the files, and recreate it with larger files. then force a switch ("alter system switch logfile;"), and do another inactive group. I actually prefer to do as many switches as necessary to make the new group active so I can verify that I didn't screw up before dropping the next group.
    not sure of impact on standby database.

  • Find the size of the DefaultTAbleViewModel  in Abstractportal Comp?

    hi,
    How can i find the size of the DefaultTableViewModel in ABS.
    Please give me any suggestion how to use the records in AbstractPortalComponent.
    Thanks,
    Lohi.

    Lohi,
    DefaultTableViewModel.getRowCount() returns the number of rows in your model if thats what you mean?
    Steve

  • Is it possible to increase the size of the police in the finder menu in Lion?

    Hezllo,
    Is it possible to increase the size of the police in the finder menu in Lion?
    Thhanks for your reply.

    I see, in Finder you have the ability to see things in multiple views. I would very strongly recommend you use the Find Out How Video tutorials , specifically Finder Basics. You can increase the font size in any view by clicking the View menu - Show View Options where you can increase the font size.

  • How to reduce the size of a database ?

    Hi,
    I would like to know what are the possibilities for reducing the size of a database storage.
    I have thought about compressing big indexes and tables.
    Have you others ideas ?
    thx

    user4865031 wrote:
    Hi,
    I would like to know what are the possibilities for reducing the size of a database storage.
    I have thought about compressing big indexes and tables.
    Have you others ideas ?
    thxIt depends. Have you evaluated what takes up the space? Do you have data that can be archived? Do you have high water marks that will never be reached? Do you have sparse data that could have free space removed, just leaving expansion space in new or updateable blocks? Do you have unused indices or tables? What type of systems do you have, OLTP, DW, DSS? Is your data normal? Is your app software enterprise? Are your datatypes correct? Is your storage cheap?
    So many possibilities!

  • How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?

    How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?
    NAVEEN

    I'm afraid this forum for Microsoft Project Customization and Programming  is not the correct forum for your question. Please Choose correct forum in order
    to get help from experts. I think your question is more relevant to SQL server
    kirtesh

  • How to know the Size of the Database?

    Hi All,
    Is there a Transaction which will give me the size of the Database. The Database System which we have is MS Sql Server 2000. Will the Transaction have the option where I could select the Client so that I could get the exact size of the Production Systems Database, will this also provide the size of the Data & Log file.
    Thanks,
    Kishan

    check transaction db16/db17
    here are db related tx:
    DB01  Analyze exclusive lock waits
    DB02  Analyze tables and indexes
    DB03  Parameter changes in database
    DB11  Early Watch Profile Maintenance
    DB12  Overview of Backup Logs
    DB13  Database administration calendar
    DB14  Show SAPDBA Action Logs
    DB15  Data Archiving: Database Tables
    DB16  DB System Check: Monitor
    DB17  DB System Check: Configuration
    DMIG  Start Transaction for Data Migration
    DB2   Select Database Activities
    DB20  DB Cost-Based Optimizer: Tab. Stats
    DB21  DB Cost-Based Optimizer: Config.
    DB24  Database Operations Monitor
    DB26  DB Profile:Monitor and Configuration
    DB2J  Manage JCL jobs for OS/390
    DBCO  Database Connection Maintenance
    check them may be they help you to some extent.
    regards.

Maybe you are looking for

  • Preview and Download in ALV report blank

    Dear All, I have a problem. When user preview and download to local save (txt, xls, etc) from report in ALV format, user get blank preview and blank file. I use 2 FM. 1st i use FM REUSE_ALV_LIST_LAYOUT_INFO_GET to get fieldcat because user want to do

  • Need Help ON F150( DUNNING LETTER)

    Hi experts, i am working on Dunning form and my requirment is generate unique number and print it to the Our Reference field. i know that how to generate the unique number through number range object. But the point is where should i write that code t

  • Exporting and importing without destroying masterfile

    Hi all. At my work, we are creating leaflets, brochures and other stuff like that, which need to be updated all the time in all different languages. In this case, i am the only one who does inDesign, where the others are in Acrobat. Is it possible fo

  • Insert or Update a target with no constraints

    I am trying to figure out how to do an insert/update on a target table which doesn't have a constraint? In other words how to define a condition on this target table attribute to achieve this? please advice. ~Prabha

  • Is firefox 11 faster than 8 (may be obvious but want to be sure) tks

    I assume firefox 11 is faster than 8 but want to be sure. I like using the prototype. Thanks you