Oracle database Structure Size

HI ,
Can any one tell me how to find the size of a oracle database with out data , meaning only the structure meta data only.
Thanks
lbn76

Hi
plese explain Youre question
Do You want to get DDL-statement to recreate objects ?
The space which You allocated for database is reserved and marked on blocks.
Free bloks doesn't belong to a reserve of an empty space of operating system .
I think if You whant to get size of the absolutely empty database
You need to calculate sizes of minimum necessary files in tablespaces SYSTEM, SYSAUX, Redo-files, control files , password- and controlfiles
or shrinking every table to a minimum space, move HWM and then calculate the size that Youre database occupy
Regards,
Pavel

Similar Messages

  • Oracle Database Maximum size (Linux)

    What is the maximum size possible
    for an Oracle Database on Linux ?
    Is it limited to 2GB ? (the max file size
    under Linux)
    Mysql allows 4GB max, but for each table.
    In fact 2GB with Linux (due to Linux
    Max file size = 2GB).
    null

    Log to sqlplus as system ...
    1. Create a new tablespace & datafile.
    CREATE TABLESPACE "TESTSPACE" DATAFILE '/db/u01/oradata/testdata.dbf' SIZE 1000M DEFAULT STORAGE ( INITIAL 100K NEXT 2K MINEXTENTS 2 MAXEXTENTS UNLIMITED PCTINCREASE 0 ) MINIMUM EXTENT 2K
    2. Then add datafiles to the tablespace as needed...
    ALTER TABLESPACE "TESTSPACE" ADD DATAFILE '/db/u01/oradata/testdata2.dbf' SIZE 1000M
    This will add two 1000m datafiles...
    You can alter and make the files sizes larger and smaller... You can also add more files...
    Also when you create tables make sure you reference them to the testspace tablespace or they will default to the user tablespace which will not be able to accomodate large data without modification.
    This is really just the tip of the iceberg...
    I really recommend reading the server concepts manual.
    -eggbert
    null

  • Oracle Vision Database Structure

    Hello guys
    Does anybody know where I can find the Oracle Vision Database Structure? I don't want the installation documentation. I just want a document that shows the Database Structure.
    Thanks for all your help.

    Hi
    plese explain Youre question
    Do You want to get DDL-statement to recreate objects ?
    The space which You allocated for database is reserved and marked on blocks.
    Free bloks doesn't belong to a reserve of an empty space of operating system .
    I think if You whant to get size of the absolutely empty database
    You need to calculate sizes of minimum necessary files in tablespaces SYSTEM, SYSAUX, Redo-files, control files , password- and controlfiles
    or shrinking every table to a minimum space, move HWM and then calculate the size that Youre database occupy
    Regards,
    Pavel

  • Oracle database integration with SAP PI for high volume & Complex Structure

    Hi
    We have requirement for integrating oracle database to SAP PI 7.0 for sending data which is eventually transferred to multiple receivers. The involved data structure is hugely complex (around 18 child tables) with high volume processing requirement (100K+ objects need to be processed in 6-7 hours). We need to implement logic for prioritizing the object i.e. high priority objects must be processed first and then objects with normal priority.
    We could think of implementing this kind of logic in database procedures (at least it provides flexibility for implementing data selection logic as well as processed data can be marked as success in the same SP) but since PI sender adapter doesn't support calling Oracle stored procedures currently so this option is rules out. we can try implementing complex data selection using oracle table function but table function doesn't allow any SQL query which changes data (UPDATE, INSERT, DELETE etc) so it is impossible to mark selected objects in table function from PI communication channel "Update Query" option.
    Also, we need to make sure that we are not processing all the objects at once as message size for 20 objects can vary from 100 KB to 15 MB which could really lead to serious performance issues for bigger messages.
    Please share any implementation experience for handling issues:
    1 - Database Integration involving Oracle at sender side
    2 - Complex Data structures
    3 - High Volume Processing
    4 - Controlled data selection from database to contro the message size in PI
    Thanks,
    Panchdev

    Hi,
          We can call the stored procedure using receiver adapter using ccBPM, we can follow different approaches for reading the data in this case.
    a) In this  a ccBPM instance needs to be triggered using some dummy message, after receiving this message the ccBPM can make  a sync call to the Oracle database the store procedure(this can be done using the specific receiver data type strucure), on getting the response message the ccBPM  can then proceed with the further steps.The stored procedure needs to be optimized for improving the performance as the mapping complexity will largely get affected by the structure in which the stored procedure returns the message.Prioritization of the objects can be handled in the stored procedure.
    b) In this a ccBPM instance can first read data from the header level table, then it can make subsequent sync calls to Oracle tables for reading data from the child tables.This approach is less suitable for this interface as the number child tables is big.
    Pravesh.

  • Oracle Database Migration Verifier - Can it be used for diff table structur

    Hello,
    We have re-engineered the existing sybase tables to a new structure in Oracle for few of the tables.For example a table in sybase is normalized to two tables in oracle.In these cases can the "Oracle Database Migration Verifier" be mapped such that the columns in one table in sybase be mapped to two table is Oracle with their respective column names.
    In a gist can the tool be used even if the structure is not the same in the source and targer databases.
    Please let me know if you need more clarifications regarding my query.
    Regards,
    Ramanathan.K

    not really. The DMV was a simple tool for verifiying that what you now had in Oracle was what you had in Sybase. It does not do what you are expecting.
    B

  • How to change field size using SQL against an oracle Database

    I am an admitted novice user, looking to become more proficient.
    I have a field in a table that I need to expand the field size. The table is called Inquiries. The data type is text. The current Field Size is 10. I want to increase it, to either the max, or somethign long enough to fit TECHNOLOGY LEADERSHIP PROGRAM.
    What is the SQL command to change the field size, and what is the max for a Text Field Size

    And/Or, an even better question might be,
    Do I need to use SQL*PLUS to do this, or are there better tools. I.e, I like how in Access, you can open up a database in Design view and just change the amount for the field size. Is there a similar "easy" method to do something like that with an Oracle database.
    My current version of the server/database is:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning option
    JServer Release 9.2.0.6.0 - Production
    I was thinking I had to do SQL commands to perform the action, but there may be another way that I am not thinking about with all of the tools at my disposal. When I installed Oracle on my desktop, I installed most of the management tools and networking services, if that helps

  • Oracle Database Size Estimation Technique

    Hello All,
    I am planning to estimate a database in Oracle. Its a fresh database and will not take any data from any other legacy or flat file systems.
    Do anyone of you can provide me with a checklist sort of thing which will enable me to estimate the size of my database considering its future growth as well?
    Or if you have a document which guides to do the estimation of the size of Oracle database, could you please share it with me as well?
    Thanks in advance
    Himanshu

    This estimation will depend on your installation type and your configuration like your OS, Oracle edition, release information. For example below information is from Oracle® Database Installation Guide
    10g Release 2 (10.2) for Linux x86 Chapter 2 Preinstallation Tasks - http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref95
    # 400 MB of disk space in the /tmp directory
    # Between 1.5 GB and 3.5 GB of disk space for the Oracle software, depending on the installation type
    # 1.2 GB of disk space for a preconfigured database that uses file system storage (optional)
    Best regards.

  • Database structure for Oracle to use with SMP 3.0

    Hi,
    We are planning to use Custom Database for SMP 3.0.
    Please help me with the Database Structure I need to create in Oracle DB instance to use with SMP 3.0.
    Additional Details:
    SMP Version: 3.0
    Service Pack Level: SP 03
    Server OS: Windows Server 2008 R2
    Database Version: Oracle 11.2

    Will this PDF be useful? at page # 33 as titled Oracle Database Preparation
    Regards,
    JK

  • Any maximum size limit to an Oracle database?

    Is there a maximum size limit to Oracle database?
    What is the maximum columns and rows the database can grow to?
    Is there any documentation stating the max size for the Oracle database?

    The maximum size supported by Oracle in respect of the Oracle RDBMS is 512 Petabytes or
    536,870,912 GigaBytes. This was introduced w/ Oracle Release 8.0.3 and higher. The Oracle Release 7 limit was 4 Terabytes.
    Anatoli Grishin

  • Use OEM to monitor oracle database size

    Hello All,
    We currently have several database which are currently monitored via OEM however i will appreciate if anyone can tell me how i can monitor the the size of my oracle databases via oem
    Thanks

    Hi,
    I'm not sure of OEM will monitor database size, but many 3rd party tools do.
    There are many ways to achieve Oracle table monitoring, and many create specialized extension metadata tables to monitor Oracle table growth. In Oracle 10g you can perform Oracle tables monitoring with the dba_hist_seg_stat tables, specifically the space_used_total column.
    On my databases, I create STATSPACK extension tables to track table and overall database growth:
    http://www.dba-oracle.com/te_table_monitoring.htm
    The full scripts are in my Oracle Press book, Oracle tuning with STATSPACK . . .
    http://www.amazon.com/Oracle9i-High-Performance-Tuning-STATSPACK-Burleson/dp/007222360X
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • My Oracle Database Size

    Hi,
    I need to check the current size of my Oracle database, and the remaining storage space.
    Does anyone know if I could do that from my SQL prompt? If yes, how would I do that?
    thanks,
    Matty

    Hi,
    In resume, you can use these query's below:
    select sum(bytes) as total_size from dba_data_files;
    select sum(bytes) as free_size from dba_free_space;
    select sum(bytes) as used_size from dba_segments;Cheers

  • Migration bigger database structure Informix- Oracle : neverending process ?

    I have problem: I tried to convert Informix source model to oracle model (real database structure - several tenths of tables, triggers, procedures, ... - without data). Log window "Creating oracle model" appeared and icon and text "Mapping" had been showed. And this state stayed permanent. Nothing following happened, no next changes on file 'omwb.odb' I could to see. After 6
    hours i 'clicked' on 'Abort' button. On following Workbench showed message that it could not to do abort and recommended me to restart program.
    Are there some limitations in Workbench for complexity of database structure ? How many time can take obviously creating of Oracle model from real (but empty) database ? Can it take more then 6 hours ?!
    null

    No, 6 hours is too long, something has gone wrong with the migration. Please send the error.log file (under %ORACLE_HOME%/Omwb/log) and a description of the problem to [email protected] and we shall do our best to assist you.
    Regards,
    Brian.

  • Oracle Database all table structure

    Hi
    I want donwload Oracle Database all table structure , any one please explain where i can download the structure in text format
    regards

    SQL> desc user_tables;
    Name Null? Type
    TABLE_NAME NOT NULL VARCHAR2(30)
    TABLESPACE_NAME VARCHAR2(30)
    CLUSTER_NAME VARCHAR2(30)
    IOT_NAME VARCHAR2(30)
    STATUS VARCHAR2(8)
    PCT_FREE NUMBER
    PCT_USED NUMBER
    INI_TRANS NUMBER
    MAX_TRANS NUMBER
    INITIAL_EXTENT NUMBER
    NEXT_EXTENT NUMBER
    MIN_EXTENTS NUMBER
    MAX_EXTENTS NUMBER
    PCT_INCREASE NUMBER
    FREELISTS NUMBER
    FREELIST_GROUPS NUMBER
    LOGGING VARCHAR2(3)
    BACKED_UP VARCHAR2(1)
    NUM_ROWS NUMBER
    BLOCKS NUMBER
    EMPTY_BLOCKS NUMBER
    AVG_SPACE NUMBER
    CHAIN_CNT NUMBER
    AVG_ROW_LEN NUMBER
    AVG_SPACE_FREELIST_BLOCKS NUMBER
    NUM_FREELIST_BLOCKS NUMBER
    DEGREE VARCHAR2(10)
    INSTANCES VARCHAR2(10)
    CACHE VARCHAR2(5)
    TABLE_LOCK VARCHAR2(8)
    SAMPLE_SIZE NUMBER
    LAST_ANALYZED DATE
    PARTITIONED VARCHAR2(3)
    IOT_TYPE VARCHAR2(12)
    TEMPORARY VARCHAR2(1)
    SECONDARY VARCHAR2(1)
    NESTED VARCHAR2(3)
    BUFFER_POOL VARCHAR2(7)
    FLASH_CACHE VARCHAR2(7)
    CELL_FLASH_CACHE VARCHAR2(7)
    ROW_MOVEMENT VARCHAR2(8)
    GLOBAL_STATS VARCHAR2(3)
    USER_STATS VARCHAR2(3)
    DURATION VARCHAR2(15)
    SKIP_CORRUPT VARCHAR2(8)
    MONITORING VARCHAR2(3)
    CLUSTER_OWNER VARCHAR2(30)
    DEPENDENCIES VARCHAR2(8)
    COMPRESSION VARCHAR2(8)
    COMPRESS_FOR VARCHAR2(12)
    DROPPED VARCHAR2(3)
    READ_ONLY VARCHAR2(3)
    SEGMENT_CREATED VARCHAR2(3)
    RESULT_CACHE VARCHAR2(7)
    SQL>

  • Oracle Database Express Edition maximum data size

    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks

    915071 wrote:
    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks4GB

  • How to load excel-csv file into oracle database

    Hi
    I wanted to load excel file with csv extension(named as trial.csv) into
    oracle database table(named as dept),I have given below my experiment here.
    I am getting the following error,how should I rectify this?
    For ID column I have defined as number(5) datatype, in my control file I have defined as interger external(5),where as in the Error log file why the datatype for ID column is comming as character?
    1)my oracle database table is
    SQL> desc dept;
    Name Null? Type
    ID NUMBER(5)
    DNAME CHAR(20)
    2)my data file is(trial.csv)
    ID     DNAME
    11     production
    22     purchase
    33     inspection
    3)my control file is(trial.ctl)
    LOAD DATA
    INFILE 'trial.csv'
    BADFILE 'trial.bad'
    DISCARDFILE 'trial.dsc'
    APPEND
    INTO TABLE dept
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (ID POSITION(1:5) INTEGER EXTERNAL(5)      
    NULLIF ID=BLANKS,
    DNAME POSITION(6:25) CHAR
         NULLIF DNAME=BLANKS
    3)my syntax on cmd prompt is
    c:\>sqlldr scott/tiger@xxx control=trial.ctl direct=true;
    Load completed - logical record count 21.
    4)my log file error message is
    Column Name Position Len Term Encl Datatype
    ID           1:5 5 , O(") CHARACTER
    NULL if ID = BLANKS
    DNAME 6:25 20 , O(") CHARACTER
    NULL if DNAME = BLANKS
    Record 1: Rejected - Error on table DEPT, column ID.
    ORA-01722: invalid number
    Record 21: Rejected - Error on table DEPT, column ID.
    ORA-01722: invalid number
    Table DEPT:
    0 Rows successfully loaded.
    21 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Bind array size not used in direct path.
    Column array rows : 5000
    Stream buffer bytes: 256000
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 21
    Total logical records rejected: 21
    Total logical records discarded: 0
    Total stream buffers loaded by SQL*Loader main thread: 0
    Total stream buffers loaded by SQL*Loader load thread: 0
    5)Result
    SQL> select * from dept;
    no rows selected
    by
    balamuralikrishnan.s

    Hi everyone!
    The following are the steps to load a excell sheet to oracle table.i tried to be as simple as possible.
    thanks
    Step # 1
    Prapare a data file (excel sheet) that would be uploaded to oracle table.
    "Save As" a excel sheet to ".csv" (comma seperated values) format.
    Then save as to " .dat " file.
    e.g datafile.bat
    1,Category Wise Consumption Summary,Expected Receipts Report
    2,Category Wise Receipts Summary,Forecast Detail Report
    3,Current Stock List Category Wise,Forecast rule listing
    4,Daily Production Report,Freight carrier listing
    5,Daily Transactions Report,Inventory Value Report
    Step # 2
    Prapare a control file that define the data file to be loaded ,columns seperation value,name and type of the table columns to which data is to be loaded.The control file extension should be " .ctl " !
    e.g i want to load the data into tasks table ,from the datafile.dat file and having controlfile.ctl control file.
    SQL> desc tasks;
    Name Null? Type
    TASK_ID NOT NULL NUMBER(14)
    TASK_NAME VARCHAR2(120)
    TASK_CODE VARCHAR2(120)
    : controlfile.ctl
    LOAD DATA
    INFILE 'e:\datafile.dat'
    INTO TABLE tasks
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (TASK_ID INTEGER EXTERNAL,
    TASK_NAME CHAR,
    TASK_CODE CHAR)
    The above is the structure for a control file.
    Step # 3
    the final step is to give the sqlldr command to execute the process.
    sqlldr userid=scott/tiger@abc control=e:\controlfile.ctl log=e:\logfile.log
    Message was edited by:
    user578762

Maybe you are looking for

  • HP USB-connected printer not showing up, no way to add it???

    I upgraded to Leopard and lost the ability to scan from my HP PSC 2210. I know this is because HP haven't got around to writing new software for Leopard yet, so I'm waiting for them to release this. I was just happy that I could still print via the 2

  • Can we replace oc4j 9.0.2 in 9iAS 9.0.2 infrastructure with oc4j 9.0.3 ?

    Hi all, We want to use OC4J 9.0.3 because of it support of JMS and new J2EE features. We want to use the complete 9ias 9.0.2 EE (which is infrastructure) because the OID and SSO support. I know the NOTE ** NOTE: OC4J Standalone is purely for standalo

  • ITunes won't open after update to leopard

    I just updated to OSX10.5.8, thats as far as a PPC G5 will go, however when trying to use iTunes it says I need a later version of Quicktime, which doesn't come up when I check for updates. 7.5.5 and I have 7.3.0. Is there a solution for this? Thanks

  • Transferring file

    How can I transfer a file through network using java networking ? any help is appreciaable

  • Satellite L650-1PE - Error messages in Toshiba bulletin board

    I got error messages when i try to use Toshiba bulletin board, so firstly I got error 3 and then i press ok and i got error 23 which i don't know why? By the way, my laptop Satellite L650-1PE. Also I uninstalled it and reinstall the latest version ag