How to see tablespace size in data dictionary

How can I see the tablespace size, and used tablespace size in data dictionary view?
it is not in dba_tablespaces, and v$tablespace
Thanks.

I like this little piece of code of mine:
SQL> SELECT
  2          TABLESPACE_NAME,
  3          RPAD(RPAD('|',100-PCT_FREE,'X'),100) || '|' USED
  4  FROM (SELECT TABLESPACE_NAME,
  5    100 -
  6      ROUND(100 -(SUM(BYTES)/1024/1024/1024)*100/
  7                  (SELECT SUM(BYTES)/1024/1024/1024
  8                   FROM DBA_DATA_FILES DF
  9                   WHERE DF.TABLESPACE_NAME=FS.TABLESPACE_NAME),2
10            ) PCT_FREE,
11    ROUND(SUM(BYTES)/1024/1024/1024,2) GIBFREE
12  FROM DBA_FREE_SPACE FS
13  GROUP BY TABLESPACE_NAME) TABLESPACE_SPACE
14* ORDER BY TABLESPACE_NAME;
TABLESPACE_NAME                USED
ARCHDATA                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      |
DATBIGGX                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                  |
DATGX                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                                      |
DATLOWGX                       |XXXXXXXXXXXXXXXXXXXXXX                                                                             |
IDXBIGGX                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                 |
IDXLGX                         |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                |
IDXGX                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX          |
LOGMNRTS                       |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                           |
SYSTEM                         |XXXXXXXXXXXXXXXX                                                                                   |
TOOLS                          |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                                   |
UNDOGX                         |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                         |Yoann.

Similar Messages

  • How to preserve mixed case in Data Dictionary

    Hi,
    I am very new to Oracle, please excuse in advance for silly questions.
    Using Oracle 9i R2, SQL Developer 1.51.5440.
    I don't know if it's Oracle DB or The SQL Developer tool, but the names of the object I create are all transformed in uppercase. Table name, column names, procedure names all are displayed in uppercase. And yet I make sure when I created them to use carefully mixed case to improve readability. Example: ProductID, MyTable, etc.
    I've gone over the options of SQL Developer, but I didn't see any option to turn off the automatic uppercase. Some objects still remains in mixed case, for example the content of a procedure still looks like when I typed it.
    Is there a way to get the object names to be displayed exactly as I created them?
    Thanks in advance.

    Ok, now I see, make senses that everybody keeps using uppercase. I have tried this:
    CREATE TABLE "MyTable" ("Col1" number not null, "Col2" varchar2(20) not null)
    And indeed, even SELECT * FROM MyTable would not work, I have to reference the table by SELECT * FROM "MyTable"
    FYI, in SQL Server, object names are case-insensitive. The name saved in the data dictionary is exactly how you type them. In the queries, constraints, indexes, etc., you can reference to the object name by any case. I find this way more convenient.
    One more question, in the current schema I am working on, where all object names are uppercase. How come I can still make a query with any case?
    For example if I type in SQL Developer: SELECT ProdUCTID, PrOduCTNaMe FROM T_proDuCT ;
    The query executes OK although I'd expect Oracle would complain about table not found. So are the following rules correct?
    1. If the object name was saved with double quote, Oracle will preserve the case and the object should always be referenced WITH double quote and the exact case.
    2. If the object name was save without double quote, Oracle will uppercase the name and the object can be reference by any case.

  • How to shrink tablespace size if there is more unused space ??

    i have a tablespace it's size has increased upto 800MB but only 200MB is used, how can i minimize this gap b/w actual size and used size.
    i think i may have wrongly set the autoextent parameter.
    Please help

    You said is has increased upto 800M , but only used 200MB?
    How it is possible? Tablespace size increases to accomodate space for new data.
    Is it possible that data might have deleted?
    Use the following command to resize the datafile. If the HWM is set to higher than this, the command will with an errors.
    RROR at line 1:
    RA-03297: file contains used data beyond requested RESIZE value
    Syntax:
    ALTER DATABASE DATAFILE 'tools01.dbf' RESIZE 250m;
    Jaffar

  • How to extract the size and date from a given file

    Hi,
    I want to extract the size and date of a file (it can be either a video, audio or text file) that the user points to the location of. But I am not sure how. Does Java have an api that can do this? If not is there some other way of doing this? Can anyone help? Thanks in advance.

    Have a look at java.io.File, specifically
    public long lastModified()
    This format returned (I find) is nasty, so then use java.util.Date (or java.sql.Date, look the same on the surface to me) to format it.
    Cheers,
    Radish21

  • How to know the size of data in some columns of a table?

    Hi,
    How can the size of of data for some specified column be determined?
    For example : TableA has 20 columns and the size of table is 20 GB. I want to know the size of data kept in last four columns.
    Thanks in Advance,
    Vishu

    You could use vsize to determine the size of a column element and sum them upselect sum(vsize(column_of_interest)) from whatever_table;

  • How to see blob as "normal data"

    Hi ,
    i have a table with a column of BLOB type
    how can i see it as normal data ? i.e text or numeric instead of binary
    tks & rdgs

    And if the BLOB does not contain "normal" data, but pure binary data such as a PNG image, a Cisco router executable, or a Microsoft .xls file?
    If you need to see "normal" data, then you should be asking yourself why that data is stored in a BLOB - and not as a varchar2, number, date or even CLOB data type.
    The DBMS_LOB PL/SQL package provides an API for BLOBs and CLOBs. This can be used to read a chunk at a time and display this data in a custom format.

  • How can we find the obsolete data dictionary objects in ecc 6.0 version

    My Question is How can trace the obsolete data dictionary objects in ecc 6.0 version such that we could
    anticipate the obsolete objects before upgradation.
    Regards,
    Raghunadh Babu.

    Hi Raghunadh,
                        The data dictionary objects will be in the repository itself if activated.If the data dictionary objects was created by user and if it is not activated.In this scenarion the data dictionary object can be seen in object navigator.Please check the transaction SE80 and SE81.
    Hope your query resolves.
    Have a best day ahead.

  • HT4221 How to see photo info, like date taken?

    In the photo viewer, how can I see the photo's date taken ?

    You can't in the Photos app itself, but there are other apps that you can use which show that (and other info) e.g. iPhoto, Photo Manager Pro

  • How to find out the aligning Data dictionary table for a structure.

    Hi
    As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
    Thanks,
    Dhareppa

    Hi,
    The structure and its fields may be associated with multiple database tables.
    You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
    Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
    Thanks,
    Ravi

  • Table has no tablespace in the data dictionary

    I have seen this twice now, and still don't know what causes it. Does anyone know what would cause a table to have a null value for tablespace_name in user_tables or all_tables?
    Thanks,
    Sam

    Info Temporary table will not be stored in data dictionary.
    Ex :
    Sql > Create global temporary table x (i number);
    And now run this and look at the result set !
    Sql > select table_name,tablespace_name form user_tables ;
    null

  • How to see target groups in Data Target in the APD

    Hi everybody.
    I am trying to make a marketing segmentation of customers in the APD (BI) and I need to send the results to a target group in CRM, my problem is that I can´t see target groups in the u201CData Target CRMu201D.
    I select the Logical System and when I select the Data Target the system shows   CRM error: Data target TARGET_GROUP_FROM_B not known.
    I know that the communication is OK, the RFC is working cause I can see Marketing Attributes (I released data target for replication and maintained attributes) but I don´t know if I need to do something similar with Target Groups of CRM or how.
    Does anyone have an idea how can I see target groups in the window of the Data Target?
    Thanks.

    Hello,
    I have seen  this problem in other systems and it was caused by a GUI bug. Can you please check that you have the latest GUI patch installed for your GUI  release.
    Best Regards,
    Des

  • How to find the size of data transferred(migrated) in the receiver system

    Hi all,
    I have successfully implemented time-based reduction Process type using TDMS.
    Now, I want to know the size of the data that was transferred to the receiver system. Is there a way to find out about this?
    Thanks ,
    Mohammed Tauseef Ahmed

    Thanks Eddy for the reply.
    The log shows the message Total data transfer volume (KB): 16.055.606
    How do I interpret  16.055.606 KB, doe this mean 16,055 KB or 16 million KB(which does not look possible)?
    Thanks,
    Mohammed Tauseef Ahmed

  • How to see full size images when selecting multiple photos

    In the Photos app, I click to view a photo and it shows up full screen like it used to.  But now when I try to select multiple photos to upload to an email by hitting the send-to button at the lower left, suddenly all the photos are thumbnails at the top and a host of options fill the screen where the full-sized image used to be.  Without full size previews I can't tell what photos in a series are really the better ones.  Is there a way in iOS 8.1.1 to flip through your photos full screen and only select a few?  It seems like this worked before but now this function has been removed?  Thanks

    Thanks for your answer. I think you are correct.
    I did discover that when entering the first letter of a keyword in the box, a list comes up with suggestions.  Frequently that list is only of the keywords that begin with the letter I entered.  Once in a while I can get the entire list but I don't know how I do it.  It seems intermittent but I suspect it is not. Any idea how that happens? Thanks again.

  • Create data dictionary to check version of DB

    Hi all,
    Good afternoon.
    Today I work at a company that develops software to several customers, and we are not the main responsible for there databases, because of this I can't garantee that the database is in agreement with the software version.
    To be able to ensure that the client base has no divergence with the software version I'm thinking about creating my own data dictionary, which at first it would be something like the Oracle data dictionary, after that I need to set up mechanisms to confront my new data dictionary with what is there on the client. My data dictionary will be created here in the company.
    In addition, this data dictionary also would be used by the development team, for example whenever they want to confirm if some object exists or not exists in production. As we know the development database is a 'mess'.
    Does anyone have any suggestion or hint for me about this project?
    Thank you,
    Everson

    Everson Piza wrote:
    Hi Justin, I fully agree with you.
    Today I use the DBA_OBJECTS in order to check some specifics objects, but the application has more then 1800 objects, and I need to check everything.
    The idea isn't to install this new data dictionary in the each customer's database, we'll centralize it here. At the first moment it will be used only for docummentation and check if everything is ok, the application will not use it.
    My main doubt is how to confronte my data dictionary with the customer's database?I'm afraid I don't follow. What do you mean by "confronte"? My first guess is that you meant "confront" but that doesn't make sense in this sentence. I can't think of another word that is spelled similarly that would make sense.
    I don't understand how you could centralize the data dictionary in your database and then use that to do any sort of check on a customer's database. Unless every customer has a database link back to your database, which would seem quite unusual.
    I also guess I don't understand what problem you're trying to solve. Your application has 1800 objects, but that list is, presumably, known in advance. I don't see what building a data dictionary would accomplish. If you are just trying to validate that all 1800 objects exist, couldn't you just generate the script from the Oracle data dictionary in your known good database and send that to the customer?
    Justin

  • Tablespace size monitoring in Oracle 10g

    Hello
    Our environment: Oracle 10.2.0.3 3-node RAC, ASM, Linux x86-64
    We are using EM Grid Control as a monitoring tool for RAC databases.
    We have "tablespace SPACE USED (%)" metric configured for all RAC databases.
    For some reason this metric does not work all the time and it does not alert dba when warning or critical threshold reached.
    I'd like to hear from people how they monitor tablespace size in Oracle RAC environment with files in ASM.
    Thank you,
    Yelena

    Yelena,
    Your problem is realted to GC and it seems it's not configured properly. Kindly check and verify schedule also. May possible it's notifying to other person also..

Maybe you are looking for

  • Report to know Open Demand to trigger PO Creation

    Hi Is there any report which can tell us about the Open Demand in Back To Back Order Cycle. E.g. if the sales order entry person enters 10 orders , out of which there are 7 orders for which PO needs to be created then how will the buyer On Purchasing

  • Is there a way that I can control iTunes with the iPhone without any internet connections?

    First let me say that I am ready to throw this POS in the lake.  Is there a way that I can control iTunes with my iPhone without any internet connections?  On my houseboat I have a wifi router and want to connect my phone to my computer to control my

  • Add a special field called gsber

    Hello AL, I want to add one special field called gsber in to vendor line item display report, i'm using standard report define additional fields for line item display(SPRO). but its not allowing me to do so, pls let me knw what can be the reason Than

  • My screen has gone black! Help please!

    Yesterday, I picked my phone up off my desk and the screen had gone completely black. My phones screen is cracked, but has been for the last ten months and functioned properly. This has happened before but it seemed to turn back on after ten minuets

  • Which iPhone is the plastic $99 dollar?

    Hey guys I was just wondering if anybody knew which iPhone is the plastic $99 dollar?