ER diagram for Oracle 8i database

Hi all,
I'm working as DBA in a banking environment and have got a request to provide the ER diagram of a database(Oracle 8i).
The DBAs who have created this database in Year 2000 are not here currently and there is no documentation on the db design. There are around 3000 tables in this database and i'm not sure whether foreign key constraints are there on the tables.
Can someone pls advise whether there is any tool or there is some other way to generate ER diagram for this database?
Thanks and awaiting your suggestions...
Regards,
Poonam

user11977557 wrote:
Hi all,
I'm working as DBA in a banking environment and have got a request to provide the ER diagram of a database(Oracle 8i).
The DBAs who have created this database in Year 2000 are not here currently and there is no documentation on the db design. There are around 3000 tables in this database and i'm not sure whether foreign key constraints are there on the tables.
Can someone pls advise whether there is any tool or there is some other way to generate ER diagram for this database?
Thanks and awaiting your suggestions...
Regards,
PoonamJust beware that automated tools can only pick up on the defined FK relationships. Unfortunately, a lot of apps don't rely on FK, believing they can enforce everything in the app code -- which of course the db will have no knowledge of but from a business standpoint is still a relationship.

Similar Messages

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

  • How to configure Oracle Dataguard for Oracle 10g database

    Hi Friends,
    I would like to configuer Oracle Dataguard for my Oracle 10g Database.
    Please provide me the configuration document.(step by step guide)
    Regards,
    DB

    Hi
    Go throw below link. This would be help to configure ODG..,
    http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
    http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
    Thanks,
    Mayilselvan.S

  • Cannot connect HTTP Server for oracle 9i database

    I tried starting the HTTP Sever for oracle 9i, but i keep getting this error:
    Could not start the OracleOraHome92HTTPServer service on Local Computer.
    The service did not return an error. This could be an internal Windows error or an intrenal service error.
    If the problem persists, contact your system administrator.
    Any thoughts??
    Also I get an ORA- 12535 TNS:timed- out error when I try accessing oracle 9i to create a new database...
    Help....
    Thanks in advance

    Hi Jim,
    the command is 'apachectl start'. You find the executable apachectl under $ORACLE_HOME/Apache/Apache/bin .
    Best regards
    Werner

  • Which processor is best for Oracle 10G database : Intel or AMD

    Hi,
    I am buying a new laptop for 34000 rs (700$) . I am configuring it for my office use. i am oracle apps developer.
    Can anyone suggest shud i go for Caompaq or Acer?
    Which processor will best handle Oracle 10G database? Inter Core Duo  or   AMD Turion?
    Thanks,

    gayatri chodankar wrote:
    Hi,
    I am not sure about "hosting a serveice means". i will be installing Oracle discoverer administrator and optionally pl/sql developer.
    I remember that we had installed oracle10g on my friends AMD desktop....and that had killed the performance like crazy.It must have something to do with the configuration of instance. I have at least two desktops running AMD and it works perfectly fine.
    >
    The laptop i m buying is *250 GB HDD, 2 GB RAM and windows vista*.As Nicolas has rightly pointed out in his post, which version of Vista is this? Remember that Vista Home edition is not supported by Oracle. You might get the things to run but you cannot guarantee the stability.
    The only thing i m confused bout is whther i shud go for AMD or Inter core processor.
    In this case, this would be a matter of personal choice. Both processors are at par with each other (now I am not going into the details of architecture and other things).

  • Literature for Oracle Mobile Database needed

    I am just looking at the performance of the synchronization of "Oracle Database Mobile Server" for my bachelor's thesis.
    But now I need a little more general literature on the "Oracle Database Mobile Server." Has anyone possibly an advice for me? I can not find anything reliable besides the official Oracle documentation.
    Any reference is welcome.
    Philipp

    My blog has some topics about performance, not sure if it specific to your thesis though as the performance topics are very specific. In general, two factors go into the performance of the mobile server... factor 1, the hardware, both database and application server. More on the database side than any thing else. 2nd factor, SQL and Database design. So, for performance tuning, I usually recommend reading or oracle SQL database tuning as it usually resolves most issues. But there isn't a paper or topic on mobile server tuning that would be enough to cover an entire thesis. I could be wrong though.

  • Minimum System Requirement for Oracle 12c Database Installation

    Hi,
           Can Anybody please tell me the minimum requirement ti install Oracle 12c Database On Virtual Box.
    Regards...
    Asit

    Enterprise Edition        6.4 GB
    Standard Edition          6.1 GB
    Standard Edition One   6.1 GB
    This are the pure hdd requirements.
    Then it's 1 GB of space in the /tmp directory.
    Minimum: 1 GB of RAM
    Recommended: 2 GB of RAM or more.
    Swap Space Requirement for Linux:
    Between 1 GB and 2 GB.
    1.5 times the size of the RAM
    Between 2 GB and 16 GB
    Equal to the size of the RAM
    More than 16 GB
    16 GB

  • Want to know about certification path for Oracle 11g database OCP.

    Is it OK to give the exams first and then submit the course studied for OCP ?
    I have studied three modules required for OCP ; SQL Fundamentals, Admin I and Admin II, and now I am planning to give all 3 exams in January 2015. But I don't have Enrollment ID for course submission. The institute where I learned is trying for Oracle Workforce Development program for 11g, and it will take sometime. So presently I don't have Enrollment ID.

    SudeepShakya wrote:
    Thank You Very Much. I will take all 3 exams and then submit the course after the institute acquires affiliation.
    Could I take this opportunity to remind people to ensure people taking courses from non oracle university institutions ensure their training provider is authorized to deliver that training by Oracle University for the fullfilment of any associated Oracle certification training requirement.
    https://blogs.oracle.com/certification/entry/are_you_getting_your_training

  • Which ojdbc14.jar JDBC driver to use for Oracle 10g database

    When ODI is installed there seems to be an Oralce JDBC driver in place in the drivers folder (ojdbc14.jar).
    When we connect to an Oracle datastore and point to a table and use the 'reverse' function to populate the columns - it sort of works OK but does not bring back the datatypes properly. This is found to be when the Oracle table has UNICODE character datatypes NCHAR and NVARCHAR. If a table has CHAR and VARCHAR it is all OK but any table that has UNICODE datatyoe has a problem.
    Is this likely to be the JDBC driver ?
    We have tried replacing this ojdbc14.jar with the older classes12 and this, as expected, did not resolve the issue.
    We then tried replacing it with the latest 10.2.0.4 ojdbc14.jar but again no difference.
    Does anyone have any experience with Oracle JDBC drivers and what release level to use - and using against UNICODE datatypes in tables ?
    Regards

    Our problem is that when we use 'reverse' to populate the columns from a physicla table in an Oracle database - ODI is obviously 'seeing' the ORacle table and is correctly understanding the columns in the table and defining them in it's model - but wherever there is a column with a datatype in the ORacle database of NCHAR or NVARCHAR it fails to populate the datatype or the 'length' of these columns. If I manually try to specify the datatype these 2 unicode data types do NOT exist in the pull down list of datatypes.
    I see what you are asking - if these datatypes are actually defined as datatypes within the actual technology - I cant access my lab right now but will check as soon as I can. Thanks for the suggestion.

  • How to set the environment for Oracle XE-database.

    Hi,
    I have a:- lsnrctl command not found,
    And when I echo oracle host & path I got:-
    [oracle@ddcdevws02 etc]$ echo $ORACLE_HOST
    [oracle@ddcdevws02 etc]$ echo $PATH
    /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/u02/oracle/bin
    Now I know that my environment is not set, but could anyone please assist me how I can set the environmernt ??? I mean commands or detailed instruction step as to what needs to be set where & how, I mean the SID, port, Path ???, I am new to Linux as well as database .
    When I see the listener process using this:- ps -ef | grep tnslsnr, this is the output:-
    [oracle@ddcdevws02 ~]$ ps -ef | grep tnslsnr
    oracle 14727 1 0 14:25 ? 00:00:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
    oracle 22618 21569 0 15:59 pts/2 00:00:00 grep tnslsnr
    So does this mean that my Oracle home is "/usr/lib/oracle/xe/app/oracle/product/10.2.0/" ???
    Also In the host file under /etc/ directory I have these settings
    127.0.0.1 localhost.localdomain localhost
    10.201.60.21 ddcdevws02.hddev.healthdialog.com ddcdevws02
    I don't know if this is correct or not ? But I doubt I could make any change in the host file, please suggest me.
    Thanks
    Sam

    user8692703 wrote:
    I am sorry Ed I reliazed that that was Phirir's suggestion to me, & Yes this is XE-Oracle database .... so the sid name would be "XE" ...?? I am sorry for my stupid questions as I am very new to ths .
    I've never worked with XE, but from everything I've seen, that would also be your SID. check the contents of /etc/oratab
    And then what other details required after I run this command ". oraenv", can I run this from any directory or some specific location ?
    Just like any command, you can run it from anywhere as long as the directory is in your PATH.
    But actually, you should be setting this in your profile, so that you just inherit it when you log on to the server. Depending on your OS, that would be either $HOME/.profile or $HOME/.bash_profile. Here are the commands you should have in that file:
    export ORACLE_HOME=pathtoyouroraclehomedirectory
    export ORACLE_SID=nameofyouroraclesid
    export PATH=$ORACLE_HOME/bin:$PATH>
    well I have this infor. with me
    HTTP port ---> 8080
    Port fopr Database ----> 1521
    Anythin else required ?

  • NetApp Cloning Plug-in for Oracle Multitenant Database

    Hi,I put in the following snapvault command: snapvault start -S 10.100.6.59:/vol/vol_appasure2 /vol/vol35859/appasure2 This is supposed to initialize a snapvault relation ship to my vfiler which is the destiantion. However , it says it is in "pending" status  -- unitialized.   How do I determine why it is in pending status? Thanks, 

    Hi Gerald,
    I would recommend downloading the Early Adopter release of the Oracle SQL Developer Migration Workbench - http://www.oracle.com/technology/tech/migration/workbench/index_sqldev_omwb.html -, to carry out the database migration of your MS Access database. This is a new, redeveloped tool that extends the functionality and usability offered by the original Oracle Migration Workbench. The early adopter is only available for SQL Developer 1.1 Patch 2. In SQL Developer, ensure that you follow the instructions to "Check for Updates". This will add the Migration Workbench and the MS Access extension, required to migrate your MS Access database.
    I hope this helps.
    Regards,
    Hilary

  • Md5sum for Oracle 9i database for linux files

    Hello!
    Can anyone provide the md5sum for the following files?
    Linux9i_Disk1.cpio.gz
    Linux9i_Disk2.cpio.gz
    Linux9i_Disk3.cpio.gz
    Thanks,
    Anders Hermansen

    user464965 wrote:
    OK ... Using DB <font face="tahoma,verdana,sans-serif" size="1" color="#000">version</font> 10.1.0.5 :
    select XMLType.getStringVal(t.xml_data) my_data from mySchema.myTable t where t.myKey = '1'
    my_data
    ==================
    <WAREHOUSE whNo="101">
    <BUILDING>Brick</BUILDING>
    </WAREHOUSE>
    <P>update mySchema.myTable t set t.xml_data = XMLType.appendChildXml(t.xml_data, '/Warehouse', XMLType('<COLOR>red</COLOR>')) where t.myKey = '1'
    ORA-19039: Keyword APPENDCHILDXML reserved for future use
    ORA-06512: at "SYS.XMLTYPE", line 230
    ORA-06512: at line 1</P>It's quite useful, Thanks for your effort!

  • Designer support for Oracle 9i database features

    How does Designer support the creation of Materialized Views, Bitmap Join indexes and Index Organized tables ? Which version of Designer does this ?
    Dwaraka

    I do not fully understand your question, but I'll give a start answer.
    Bitmapped indexes can be defined by setting the index type to bitmap. SImply create an index and set the indextype to bitmap.
    Index Organized Tables can be created by creating a relational table and set the index-organized option under storage in the property palette to Yes. Designer has a special folder for the materialized view.
    IOT's and bitmapped indexes where already supported in Designer 6.0. Materialized views are supported in Designer 6i. I know for sure in designer 6i release 4.2 (designer 9i).
    I hope this answers your questions.
    Edwin van Hattem

  • Oracle schema diagram for system

    hi,
    I find very good "schema diagram" for understand a database.
    For example like me this page
    http://www.oracle.com/technology/products/oracle9i/htdocs/9iobe/OBE9i-Public/obe-in/html/sschema/sschema.htm
    where I have "schema diagram" for HR, OE, PM, ecc. Oracle example schema.
    I search a "schema diagram" for SYS and SYSTEM schema.
    thanks in advance
    Michele

    While the dictionary posters are nice I would like to point out that the posters are generally incomplete, de-normalized, and do not display the true schema of the database. The true 'schema' of the database is to be found in the relationship between the sys.$ base tables and the fixed tables, x$ views.
    Nevertheless the posters can sure look nice hanging on the cube wall and they can be useful to clue you in where to hunt for information.
    IMHO -- Mark D Powell --

  • 4.6C Database instance installation for Oracle 10.2.0.2 64 bit

    Trying to Install 4.6C Database instance with R3SETUP for Oracle 10g database.
    The Oracle binaries for Oracle 10.2.0.2 64 bit are already installed.
    When i run SETUP.BAT for installing Database instance i get the following error.
    *Error: DBCOMMONDBENV_NT_ORA InternalColdKeyCheck 2 648*
    *Please install Oracle before continuing the installation!*
    I fail to understand the error since Oracle is already install.
    Please help resolving the issue.

    As per the previous discussion we had regarding SAP note 932722, Upgrading 10g by copying datafiles from the 32 bit server to 64 bit x86_64 server.
    The Oracle upgrade has been completed sucessfully as below,
    a) Oracle 10g binaries were installaed
    b) Datafiles copied from 32 bit server
    c) 10g upgrade completed using the perl scripts attached with the note
    Trying to install the Database instance using R3SETUP tool.

Maybe you are looking for

  • Extreme base station woes

    I just bought an Extreme Base Station. I thought I hooked it up as the directions indicated and went through the setup assistant. I have a MacBook. I have a slow dialup modem account with an ISP. I hooked the phone line into the Base Station and went

  • Supplier to Customer data transaction in one R/3 System

    Hi, As per the scenario, I should have two R/3 System in my landscape. One for Supplier and another one for Customer. Currently I am working on sample scenario, here I don't want to have two system. Created Plant, Storage location, Shipping point, Sa

  • Sum as NaN when adding numbers

    Hi All, I am getting the total as NaN when I am summing up the totals. e.g : I have 4 number 1) 4567,9 2) 300 3) 100 4) 100 when I am performing sum(4567,9+300+100+100) I am getting the output as NaN. The reason is XML doesn't treat "," seperated val

  • Ipad won't restore gets error occurred 2009

    Tried to backup and update to 7.0ios, but ipad2 could not be restore an unknow error occurred (2009) Updated iTunes software shutdown and restarted tried again, still in a recovery mode operating system is windows 7 dell can anyone help, the apple st

  • HT4623 Can't find the software update in my setting

    Can't find the software update in my setting