Question related to Oracle documentation

Hi,
I've a small doubt. Is there any Oracle standard doc which discuss about standard RDBMS concepts like Normalization, codd rules etc.
Cheers,
Suri ;-)

IMHO, examples are the best way to understand data modeling concepts.  I don't know that any of the Oracle documentation covers this area to any extent but I have found a few books that give examples with explanations.  These are older classic books but the theory has not changed.  The first two are good for OLTP design and the last one is good for data warehouses.  The OLTP books are CASE*Method Entity Relationship Modelling by Richard Barker and The Data Model Resource Book by Len Silverston.  Both give lots of examples with good explanations.  The third is The Data Warehouse Toolkit by Ralph Kimball.  Not everyone will agree with the logic because there is room for interpretation when it comes to design concepts.

Similar Messages

  • Question related to Oracle's LISTENER

    Good morning,
    I'm reading the 2 Day DBA document (chances are you know that already).
    On page 4-5 it gives instructions on how to stop the listener using EM. I followed the instructions and stopped the listener. That was a complete success :)
    I thought that since the listener was now stopped, that new connections to the database could not be made.
    To test that thinking, I started SQL*Plus and attempted to log in SYS as sysdba. To my surprise, that worked. I also tried with SCOTT, that worked too.
    I thought that if the listener is not up, connections to the database could not be made. My understanding is, the listener is what connects a client process to a corresponding server process.
    My questions are:
    1. How am I able to connect to the database if the listener is down ?
    2. What does the listener really do ? (apparently what I thought it did, isn't what it really does)
    This may be important, I have both the host and the client on the same machine.
    Thank you for your help (again!) :)
    John.

    user13266377 wrote:
    The listener only serves connections coming from remote machines. If you try to connect locally from the machine where the DB is running, it bypasses the listener.That's not completely correct.
    If you do the following:
    1. Login to DB server
    2. lsnrctl stop
    3. sqlplus user/pw@tnsentry
    It will fail because the listener is not up.
    Example:
    C:\>tasklist /FI "IMAGENAME eq oracle.exe"
    Image Name                     PID Session Name        Session#    Mem Usage
    ========================= ======== ================ =========== ============
    oracle.exe                    2572 Console                    0    558,204 K
    oracle.exe                    2636 Console                    0    659,704 K
    C:\>lsnrctl stop
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2010 08:59
    :40
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.XXX.XXX.XXX)(PORT=15
    21)))
    The command completed successfully
    C:\>sqlplus /@OWALLET_USER
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 18 08:59:52 2010
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-12541: TNS:no listener
    Enter user-name:Edited by: Centinul on Aug 18, 2010 9:03 AM

  • Oracle Documentation Relating to 1Z0-051

    Hello,
    Just wanted to some input on which Oracle Documentation Books I should be using using in order to prepare for 1Z0-051. At the moment, I am using:
    Oracle Database Administrator's Guide 11g Release 2 (11.2)
    Oracle Database Concepts 11g Release 2 (11.2)
    Any other suggestions?
    Thanks in advance,
    Howard

    I used "*SQL Fundamentals I Exam Guide (Exam 1Z0-051)*".
    It's a complete exam preparation edited by McGraw Hill - Oracle Press.
    Authors: John Watson and Roopesh Ramklass.
    I thing it's a good book.

  • Printing out results in case of object-relational table (Oracle)

    I have made a table with this structure:
    CREATE OR REPLACE TYPE Boat AS OBJECT(
    Name varchar2(30),
    Ident number,
    CREATE OR REPLACE TYPE Type_boats AS TABLE OF Boat;
    CREATE TABLE HOUSE(
    Name varchar2(40),
    MB Type_boats)
    NESTED TABLE MB store as P_Boat;
    INSERT INTO House VALUES ('Name',Type_boats(Boat('Boat1', 1)));
    I am using java to print out all the results by calling a procedure.
    CREATE OR REPLACE package House_boats
    PROCEDURE add(everything works here)
    PROCEDURE results_view;
    END House_boats;
    CREATE OR REPLACE Package.body House_boats AS
    PROCEDURE add(everything works here) AS LANGUAGE JAVA
    Name House_boats.add(...)
    PROCEDURE results_view AS LANGUAGE JAVA
    Name House_boats.resuts_view();
    END House_boats;
    However, I am not able to get Results.view working in case of object-relation table. This is how I do it in the situation of relational table.
    CALL House_boats.results_view();
    House_boats.java file which is loaded using LOADJAVA:
    import java.sql.*;
    import java io.*;
    public class House_boats {
    public static void results_view ()
       throws SQLException
       { String sql =
       "SELECT * from House";
       try { Connection conn = DriverManager.getConnection
    ("jdbc:default:connection:");
       PreparedStatement pstmt = conn.prepareStatement(sql);
       ResultSet rset = pstmt.executeQuery();
      printResults(rset);
      rset.close();
      pstmt.close();
       catch (SQLException e) {System.err.println(e.getMessage());
    static void printResults (ResultSet rset)
       throws SQLException { String buffer = "";
       try { ResultSetMetaData meta = rset.getMetaData();
       int cols = meta.getColumnCount(), rows = 0;
       for (int i = 1; i <= cols; i++)
       int size = meta.getPrecision(i);
       String label = meta.getColumnLabel(i);
       if (label.length() > size) size = label.length();
       while (label.length() < size) label += " ";
      buffer = buffer + label + " "; }
      buffer = buffer + "\n";
       while (rset.next()) {
      rows++;
       for (int i = 1; i <= cols; i++) {
       int size = meta.getPrecision(i);
       String label = meta.getColumnLabel(i);
       String value = rset.getString(i);
       if (label.length() > size) size = label.length();
       while (value.length() < size) value += " ";
      buffer = buffer + value + " ";  }
      buffer = buffer + "\n";   }
       if (rows == 0) buffer = "No data found!\n";
       System.out.println(buffer); }
       catch (SQLException e) {System.err.println(e.getMessage());}  }
    How do I print out the results correctly in my case of situation?
    Thank you in advance

    I have made a table with this structure:
    I am using java to print out all the results by calling a procedure.
    However, I am not able to get Results.view working in case of object-relation table. This is how I do it in the situation of relational table.
    How do I print out the results correctly in my case of situation?
    There are several things wrong with your code and methodology
    1. The code you posted won't even compile because there are several syntax issues.
    2. You are trying to use/test Java in the database BEFORE you get the code working outside the DB
    3. Your code is not using collections in JDBC properly
    I suggest that you use a different, proven approach to developing Java code for use in the DB
    1. Use SIMPLE examples and then build on them. In this case that means don't add collections to the example until ALL other aspects of the app work properly.
    2. Create and test the Java code OUTSIDE of the database. It is MUCH easier to work outside the database and there are many more tools to help you (e.g. NetBeans, debuggers, DBMS_OUTPUT windows, etc). Trying to debug Java code after you have already loaded it into the DB is too difficult. I'm not aware of anyone, even at the expert level, that develops that way.
    3. When using complex functionality like collections first read the Oracle documentation (JDBC Developer Guide and Java Developer's Guide). Those docs have examples that are known to work.
    http://docs.oracle.com/cd/B28359_01/java.111/b31225/chfive.htm
    http://docs.oracle.com/cd/E11882_01/java.112/e16548/oraarr.htm#sthref583
    The main issue with your example is #3 above; you are not using collections properly:
    String value = rset.getString(i);
    A collection is NOT a string so why would you expect that to work for a nested table?
    A collection needs to be treated like a collection. You can even treat the collection as a separate result set. Create your code outside the database and use the debugger in NetBeans (or other) on this replacement code for your 'printResults' method:
    static void printResults (ResultSet rset) throws SQLException {
        try {
           ResultSetMetaData meta = rset.getMetaData();
           while (rset.next()) {
               ResultSet rs = rset.getArray(2).getResultSet();
               rs.next();
               String ndx = rs.getString(1);
               Struct struct = (Struct) rs.getObject(2);
               System.out.println(struct.getSQLTypeName());
               Object [] oa = struct.getAttributes();
               for (int j = 0; j < oa.length; j++) {
                  System.out.println(oa[j]);
        } catch  (SQLException e) {
           System.err.println(e.getMessage());
    That code ONLY deals with column 2 which is the nested table. It gets that collection as a new resultset ('rs'). Then it gets the contents of that nested table as an array of objects and prints out the attributes of those objects so you can see them.
    Step through the above code in a debugger so you can SEE what is happening. NetBeans also lets you enter expressions such as 'rs' in an evaluation window so you can dynamically try the different methods to see what they do for you.
    Until you get you code working outside the database don't even bother trying to load it into the DB and create a Java stored procedure.
    Since your current issue has nothing to do with this forum I suggest that you mark this thread ANSWERED and repost it in the JDBC forum if you need further help with this issue.
    https://forums.oracle.com/community/developer/english/java/database_connectivity
    When you repost you can include a link to this current thread if you want. Once your Java code is actually working then try the Java Stored procedure examples in the Java Developer's Guide doc linked above.
    At the point you have any issues that relate to Java stored procedures then you should post them in the SQL and PL/SQL forum
    https://forums.oracle.com/community/developer/english/oracle_database/sql_and_pl_sql

  • Question related to Java Concurrent Program

    Hi Friends,
    I have a basic question related to Java Concurrent Program in the Oracle application. I would like to know the how Java concurrent program is executed in Oracle applications.Also, want to know where can I find the document for the AOL packages for Java concurrent program. Document for packages like oracle.apps.fnd.cp.request.* , oracle.apps.fnd.util.*.
    Please let me know.
    -Thanks,
    Satya

    You may also check:
    Note: 250964.1 - How to Register Sample Java Concurrent Program
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=250964.1
    Note: 186301.1 - How to register and execute Java Concurrent Program ?in Oracle Applications R11i?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186301.1

  • Some questions related to SAP XI

    Hello!
    I would like to know the answers for the following questions regarding SAP XI-context (if it possible with Yes/No and a short comment/explanation)
    <b>CAPACITY PLANNING GUIDELINES</b>
    a) Guidelines to size the server(s)?
    b) Guidelines for sizing the over all environment for High-Availability
    <b>ARCHIVING CAPABILITIES</b>
    a) Approach to archiving of obsolete data
    <b>PLATFORM SUPPORT</b>
    a) Software supported on HP-UX 11.i V2 (r6) on Itanium.
    b) software supported on Windows 2003 sp1 (x64) on AMD Opteron 
    c) software support aligned with release roadmaps for future versions of HP-UX and/or Windows Server
    d) Software supported on OS clustered servers  (If mutliple products, please indicate if all are support or list areas where clustering may not be recommended and why)
    <b>RELATIONAL DATABASE </b>
    a) Does your system run native to the Oracle 10g RDBMS (RAC) and database tools?  If not, please explain the databases and tools supported.
    b) database monitoring tools be used to manage impending maintenance needs and potential problems and performance impacts (i.e., tool will monitor and detect prior to real problem occurring)
    c) standard pre-defined SQL queries and related calculations provided for use with industry standard reporting tools
    d) database accept binary-large-objects (BLOBs) and  be referenced via the relational engine.
    Thank you in advance!
    Regards!
    A.Henke

    two questions related to this:
    1. Why Java is designed to only permit single
    inheritence, any stories behind the scene? I think
    some major reasons why "prefer interfaces toabstract
    classes" is accepted is rooted in this limitation.Yes, one of the reasons interfaces are better is that
    you can only extend one class, but implement many
    interfaces. Say you have a concrete class that should
    "implement" two different types. If those types were
    defined as abstract classes, you could only use one
    type. You could implement both types if they were
    interfaces though. So why java is designed to have this limitation? There may be some arguments before this is settled down. I always like to hear this kind of stories:)
    2. Base on the fact that once an interface is outof
    box and widely implemented, it is almostimpossible
    to change it. So how you guys design yourinterfaces?
    Could you share some? In my idea, I would designmy
    interfaces as compact as possible.You could extend the interface and start using that
    if you didn't want to break existing code. You
    couldn't use that implementation as an Interface1
    though, since the new methods only exist in
    Interface2, so that's not an optimal solution.So we may always need to add a new interface when we just want to add a new method.

  • Question related to E-Business Suite (Business Group)

    Dear All,
    I just started my career as an oracle Functional Consultant (HRMS), I have questions related to Business Group
    - Why BG is a part of HRMS? Although we associates different profiles with it like, legal entity, which is used for financial purpose only.
    - Under which conditions we make more then on Business Group?

    Pl do not post duplicates - E-Business Suite queries related to BG

  • I have a question related to patch download using ftp which was working in

    Hi,
    I have a question related to patch download using ftp which was working in Classic Metalink.
    ftp updates.oracle.com allowed to download patches before but now it says the following.
    $ ftp updates.oracle.com
    Connected to updates.oraclegha.com.
    421-*********************** Downtime Notice ************************
    421-
    421-This service was retired as of November 06, 2009.
    421-
    421-****************************************************************
    421
    Is there a way to download patches now using command prompt. I couldn't see category for metalink in forums hence posted here.
    Regards,
    Nagendra Chillale

    Enter the following command where username and password are your My Oracle Support login and password and filename is the patch file name that you copied from the Properties window::
    wget http-user=username http-password=password no-check-certificate output-document=filename "http://updates.oracle.com/Orion/Download/download_patch/<filename>"
    For example, to download patch 7154429 for Linux where the patch file name is p7154429_10204_Linux-x86.zip, enter:
    wget http-user=[email protected] http-password=password no-check-certificate  output-document=p7154429_10204_Linux-x86.zip "http://updates.oracle.com/Orion/Download/download_patch/p7154429_10204_Linux-x86.zip"
    My Oracle Support FAQ ID 747242.5
    Regards,
    Nagendra Chillale
    Edited by: user12023326 on Dec 16, 2009 11:43 AM

  • Oracle documentation for patch & update

    I'm just learning to make a focused and rapid search.
    Someone could help me on find in the oracle documentation, given an instal baseline where i find the patchset that should i apply on?
    Or how i should set my search to find it.
    thanks

    Your question is not clear for me, but you can find all the last available patchset (except the last 10.2.0.3) :
    http://www.oracle.com/technology/support/patches.htm
    Nicolas.

  • Generic Comments on Oracle Documentation

    Hi,
    I am not a documentation expert. But I have been working on different Oracle technologies for 7+ years. I have some general comments/suggestions on Oracle Documentation:
    1) Sometimes the language is bit complicated and can be simplified to a great extent.
    e.g. "The combination of all of these SOA artifacts makes up the adaptable and extensible service-oriented reference architecture that Application Integration Architecture stands for."
    It could have been written in simpler language like
    "The combination of all of these SOA artifacts makes up the adaptable and extensible Application Integration Architecture."
    Another example is - "These are application-agnostic web services that are used by calling applications to interface with different applications. This helps the cross-application processes to be participating-application unaware.
    2) At some places, the documentation is vague and doesn't really provide specifics of the underlying component/concept.
    e.g. In "AIA Overview" document, there is following description for Error Resolution and Logging:
    "Oracle provides a unified error-handling and logging solution that allows the identification and resolution of issues across applications, across technologies such as BPEL or Enterprise Service Bus, and across integration patterns."
    But it doesn't provide specific details about the "solution".
    I have seen really nice Oracle Documentation as well. But I earnestly believe there is scope to improve some of the Oracle Documentation. It will greatly help Oracle customers to better understand Oracle Products/Technologies faster.
    Thank You!

    Thank you for your observations and recommendations. The examples in (1) are indeed verbose and confusing; and if the document in (2) does not provide enough information about the solution, that is a shortcoming.
    I did a very quick search but could not find the manuals in question. Are your examples from Oracle technical manuals or from marketing literature, such as data sheets or white papers? This is not to excuse any problems with marketing literature, but Oracle's technical documentation groups are generally not involved in writing those documents, and thus we don't control or edit their content.
    In any case, I recommend that if you find problems in a technical manual, please use the "User Comments" feature (at the bottom of HTML pages for Oracle manuals accessed in documentation libraries on OTN), so that the comment can be tied to a specific manual and be directed to the appropriate writer. (Or, include the manual's title or part number in a posting in this forum.) For comments on any other Oracle materials, see if the item includes any information about sending feedback.

  • Oracle Documentation

    Hello
    Can someone help me where will i get the oracle documentation for 10g? i would like to have the complete 10g reference material from oracle.com

    thanks guys. i am downloading it.
    by the way does this documents will have index page A B C D ... etc. so that if i have doubt in Exp command i can click on E and get the command and its use.
    One more question plz, how do i get all the latest features of 9i or 10g?

  • Can someone plz confirm me that how i can change or update the security questions related to my apple id? as i have been never put them since i create my apple id but now due to some security reasons its asking me again and again the answers. i am unable

    can someone plz confirm me that how i can change or update the security questions related to my apple id? as i have been never put them since i create my apple id but now due to some security reasons its asking me again and again the answers. i am unable to go through the process. thanks.

    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • Interview Questions related to Warehouse management

    Hi all
    Can u please help me regarding  Interview Questions related to Warehouse management
    Thanks and Regds
    Daniel

    Have you searched in very first thread
    [Warehouse Management?|New to Materials Management / Warehouse Management?;

  • Need explanation about Oracle documentation (DBMS_LOB.LOADCLOBFROMFILE)

    Hello World,
    I try to understand Oracle documentation about DBMS_LOB.LOADCLOBFROMFILE function.
    I am not shure the explanation is written in a very good english,
    but i can't understand a word !!!
    Is anybody could explain me in more simple sentences ??
    DBMS_LOB.LOADCLOBFROMFILE (
    dest_lob IN OUT NOCOPY BLOB,
    src_bfile IN BFILE,
    amount IN INTEGER,
    dest_offset IN OUT INTEGER,
    src_offset IN OUT INTEGER,
    src_csid IN NUMBER,
    lang_context IN OUT INTEGER,
    warning OUT INTEGER);
    Oracle documentation explanation :
    src_csid Character set id of the source (BFILE) file.
    lang_context (IN) Language context, such as shift status, for the current
    load. (OUT) The language context at the time when the
    current load stopped, and what the next load should be using if
    continuing loading from the same source. This information is
    returned to the user so that they can use it for the continuous
    load without losing or misinterpreting any source data. For the
    very first load or if do not care, simply use the default 0. The
    details of this language context is hidden from the user. One
    does not need to know what it is or what’s in it in order to
    make the call
    warning (OUT) Warning message. This indicates something abnormal
    happened during the loading. It may or may not be caused by the
    user’s mistake. The loading is completed as required, and it’s up to the
    user to check the warning message. Currently, the only possible
    warning is the inconvertible character. This happens when the
    character in the source cannot be properly converted to a character in
    destination, and the default replacement character (e.g., ’?’) is used in
    place. The message is defined as warn_inconvertable_char in
    DBMSLOB.

    I am not kidding. I posted the link but I did not check if it were the same source. Really I do not have time to realize it.
    I think you can get a fast answer in SQL & PL/SQL forum.
    Good Luck!
    Joel Pérez

  • Can't Download PDF and ZIP Oracle Documentation

    Hi!
    I love you all at OTN. You are doing a great job,
    enlightening us about Oracle technologies. Well done.
    I experienced a problem while trying to download the
    Oracle documentation files in pdf format. All the
    download management software I tried to use kept
    reporting that the server 'profile.oracle.com' reports
    that the pdf files are text/html content type. And so
    all the downloads where aborted. Only Internet
    explorer can be used to download these pdf files and
    IE is very slow and you can't resume the download if
    the connection breaks.
    Please kindly help me and others who may be
    experiencing a similar problem.
    Thanks and stay blessed
    Olakunle Kolade

    Hi !, you must try it with netscape, the best navigator of the world worldly...
    Regards.

Maybe you are looking for