Database architecture

Hi everyone,
I would like to know if this is the right place to ask about my database architecture and if not, can anyone please tell me where can I find a forum related to that.
Thanks in advance!!

user626836 wrote:
Sorry,
I didn't mean to offend anyone.
Ok, I have 2 tables where one of them is used to store all the users information named user_table and the second one I'm going to used to store a calculation like a GPA calculator named GPA_CALC. So I just want to know how can I create my relationship between both tables. What I have done so far is to relate them like this:
One USER_TABLE has many GPA_CALC
Do you guys think this is ok?NO!
It is bad design to store computed values within the DB; since values upon which the calculation may change later.
ALWAYS compute at data presentation time!

Similar Messages

  • Oracle Database Architecture Understanding

    Hello everyone,
    I am a newbie in Oracle arworld, and I want to learn ORACLE. A few months ago, I started to learn Oracle Database Architecture, and read a book. However, I forget much of that books after weeks ago, and read again forget again.. I could not make tangible Oracle DB in my mind. This situation really degrades my performance while working. For example a simple example; the books says;
    Data Files:Every Oracle database has one or more physical data files, which contain all the database data. (physical storage structure)
    Data Blocks: At the finest level of granularity, Oracle Database data is stored in data blocks.(logical storage structure)
    Here, my mind is mixing. Both store data, so what is the difference. I want to go details of Oracle, in order to be successful. Please help  me and suggest something to do.
    Thank You

    I do not believe you will find MOS Docs that describe the architecture. Have you checked the docs ? What specific information are you looking for ?
    Introduction to Oracle Database
    Introduction to Oracle Database
    HTH
    Srini

  • Oracle database architecture documentation

    Hi,
    Any one can send oracle 9i/10g database architecture documentation.

    What do you mean by Architecture documentation? Concepts about Oracle architecture?
    Did you go through the documentation?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm
    Please post such questions in Database-General forum. This forum is for reporting issues with Oracle documentation.

  • Oracle Database Architecture

    Hi Please,
    Can please provide me Metalink id for Oracle database 11gR2 architecture.
    Can please provide me Metalink id for Oracle database 12c architecture.

    I do not believe you will find MOS Docs that describe the architecture. Have you checked the docs ? What specific information are you looking for ?
    Introduction to Oracle Database
    Introduction to Oracle Database
    HTH
    Srini

  • Database Architecture for OnDemand design

    Hi All,
    We have a custom application and every time for the clients we are giving all our executables and they are installing in their machines.
    Rather than that we want to have 1 application installed in the server at our side and wants to give domains to all the clients to access.
    So that we want to design database like following:
    1)There will be only one schema,all the packages and tables will present in one schema and each client will be distinguished by a column which stores the domain of that client and the customizations should be placed in only 1 set of packages .And will have some archieve tables to remove the data from parent tables once all the transactions are completed.
    2)There will be seperate schemas for tables each client and can have seperate packages for customizations
    3)There will be sepearate schemas for only tables not for packages there will be only 1 set of packages.
    Please advice which one will do good interms of performance and coding for the customizations.
    Thanks

    2)There will be seperate schemas for tables each client and can have seperate packages for customizationsThis seems like it would be the best option.
    Each client should have a seperate schema and seperate packages.
    You don't want multiple clients sharing the same schema.
    It would also be recommended to have seperate tablespaces for each schema/user/temp per client. You don't want to run into any legal issues.
    Keep in mind the following when going to Oracle OnDemand (I have been through some discussions in the past with OOD)
    Once you dump your database and transfer to OOD, you'll no longer have the ability to manage the structure. Setting a good design is very important upfront especially if you want your database to be scalable. Changes being made to database design will be like pulling a tooth. Maintenance will essentially occur when they see fit, but good thing is that it will be designed as HA so any maintenance can be done in a rolling fashion.
    - Wilson
    [http://www.michaelwilsondba.info|http://www.michaelwilsondba.info]

  • Front controller/database - architecture question

    Hello! Thanks for checking out my question! I am pretty new to web services/servlets and jdbc.
    I am implementing an application that essentially is an index of reports. I have an index page where a user can click on one of 6 available reports, go to an input page to customize the information being sent into the different queries and then the results of that query will be displayed on the next page. I have two controller servlets.. one for the input pages and another for the output of the queries. I am just curious as to if there should be anything I need to be cautious about when I am coding this. We expect to have no more than 500 users (that is a very high estimate) on the page at a particular time.
    My real question is how do I divide the database calls into the program? Should I have a bean for each jsp result page that handles the queries or should I the queries being handled in the controller request? The result of the query is a cachedResultSet and we already have connection pooling set up so the actual database request will only last a short time. I'm just not sure on the best practice as far as these kinds of things go. Do I need to serialize any requests? Should I consider that when I'm writing the servlets/beans/jsps? Thanks in advance for any kind of answers. Have a great day!

    Hello,
    I worked on something similar to this, here's what I did in a nutshell:
    One controller servlet takes requests which describes a query. It delegates the request a specific request handling servlet/session ejb pair. Every servlet/ejb pair then handles the request and dispatches the appropriate response.
    There was a lot a similar functionality in the way responses were handled by the ejbs and this could all be encapsulated in a base handler ejb that was subclassed.
    This worked well for my problem but I have also used struts to accomplish similar tasks, although I still think struts is a bit too heavy weight for most of my work.
    I think you can use a similar pattern with oridanry beans an JDBC to accomplish your task.
    We expect to have no more than 500 users (that is a very high >estimate) on the page at a particular time.I suspect most platforms will accomadate your users but what platform are you deploying your application on?
    Do I need to serialize any requests?I don't think so, but why do you ask, will your application be distributed over multiple servers?

  • IRecruitment database architecture (with external people access)

    Hi
    We are planning to implement iRec in our Organisation.
    Can anyone give us some information/documentation regarding the database level design for iRec you are using, especially when you are live on internet.
    Security is another important issue we are facing, on how to go about implementing when external people are having access to the LIVE system.
    Also can you suggest possible solution approaches in this regard.

    hi,
    You should follow installation guide for your specific platform. This document shows that how can you use an existing database for meta data repository and it should be same for all platforms.
    This is installation guide for your platform
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/install.1012/install/toc.htm
    Infrastructure installation guide
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/install.1012/install/infra.htm#sthref376
    Can you install repository in an existing database?
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/install.1012/install/infra.htm#sthref416
    How to install metadata repository on unix based systems (Sparc comes under this)
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/repca.1012/repca/toc.htm
    Do i have to install application server before running MRCA.I don't remember correctly but i think you need to configure database before starting installation of infrastructure.
    Salman

  • Oracle 9i Upgrade to 10g - Single Database instances to RAC

    Hi,
    We are considering migrating from single SAP database architecture into
    an Oracle 10g RAC architecture. The question i have is:
    Are multiple PHYSICAL databases supported in one Oracle 10g RAC environment? For example, Is it possible to install and operate multiple databases in one single ORACLE 10g Real Application Cluster such as one SAP R/3 database, one SAP EBP and one
    SAP BW database co-exist in a single Oracle RAC environment?
    Regards,
    Chengappa Ballachanda

    Hi Sairam,
    Due to the size of our Production environments we have decided not to pursue the MCOD option.
    Eg: Take a QA environment which consists of SRM and BW and we have multiple nodes with both installed on each node. Now if I were to go the MCOD option then these instances can connect to one large Oracle File System using different schema's. 
    What I'm trying to establish is in that one RAC, is it possible to have the multiple database instances on each node (SRM, BW etc) connect to multiple Oracle File Systems ie SRM connect to its own OFS and BW to its own instead of the one large shared OFS?
    Hope this makes sense! Easier if I could upload a diagram!
    Regards,
    Chengappa

  • Oracle physical database and logical database.

    dear Friends
           wanted to know what is physical and logical database architecture.
           pls. help.
    --Rajnish

    And what have you deduced yourself from your searches on the internet, or in the documentation?

  • SQL Server 2000 "Yukon" architecture

    Hi,
    could you tell me whether Microsoft have achieved cluster technology with "Yukon" or not?
    As announced in article: Database Architecture: Federated vs. Clustered-An Oracle White Paper March2002, "...According to Michael Otey, Senior Technical Editor, SQL Server Magazine:�Technically, this setup isn�t a true clustered implementation. According to Microsoft, SQL Server won�t support true clustering until the post-SQL Server 2000 release, code named Yukon.�(Yukon is not expected to be shipped until well into 2003.) - But when I browse msdn, there is nothing on the architecture itself.
    I am doing my Master's thesis on 9iRAC, and I need this information to complete my research. I found several Oracle white papers talking about federated vs. clustered architecture. As said in Response to "Reality behind Real
    Application Clusters Marketing Messages"- An Oracle White Paper March, 2003"..when in truth Microsoft does not have a cluster database." Is this still the truth? Can somebody from ORACLE provide me with tips/links to complete this topic?
    I am also Oracle DBA, Oracle customer, registered on Metalink.
    Thank you for the support.

    BOL 2014: "
    Data Types (Transact-SQL)
    SQL Server 2014 
    Data Type Categories
    Exact Numerics
     bigint
     numeric
     bit
     smallint
     decimal
     smallmoney
     int
     tinyint
     money 
    Approximate Numerics
     float
     real
    Date and Time
     date
     datetimeoffset
     datetime2
     smalldatetime
     datetime
     time
    Character Strings
     char
     varchar
     text
    Unicode Character Strings
     nchar
     nvarchar
     ntext 
    Binary Strings
     binary
     varbinary
     image
    Other Data Types
     cursor
     timestamp
     hierarchyid
     uniqueidentifier
     sql_variant
     xml
     table
     Spatial Types "
    LINK: http://msdn.microsoft.com/en-us/library/ms187752.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • What are the BEST books for Oracle database architect/designer?

    What concrete books would you recommend for OLTP database developer (to start from the scratch, starting from data sources analysis, logical and physical data modeling, indexes, tuning, maintaining). It doesn't have to be a book particulary for Oracle but suitable for it..
    I don't mean books DBA's or overall Oracle handbooks, also not for OLAP.
    Thanks!

    For learning how to use Oracle database effectively, i would say
    Tom Kyte's both books:
    Effective Oracle by design
    & Expert Oracle Database Architecture
    Jonathan Lewis's
    Practical Oracle 8i
    They tell you all the stuff: what/how to do something? and most importantly what/how not to do ?
    And their writing style is just awesome :)
    Amardeep Sidhu

  • How to implement optemistic locking in pl/sql for oracle database

    i have search the net to find example of how i can do the optimistic locking in pl/sql, all the resources i found were old , for example "Optimistic Locking with Concurrence in Oracle.
    As " by Graham Thornton Snr. Database Architect / Oracle DBA in 2001, but at the end he said that the approach will not work fine if the update being made is a relative update, this apprach includes:-
    1.add a timestamp column to an exsiting table.
    2.add a preinsert trigger on the table to set the timestamp.
    3.add a preupdate trigger to comapre the old time stamp with the new one.
    So where i can find updated resources about this issue.
    Edited by: 812643 on 17-Nov-2010 12:39

    totally plagiarized from expert oracle database architecture 9i, 10g, 11g by Tom Kyte pg201
    one popular implementation of optimistic locking is to keep the old and new values in the application and upon updating the data use and update like this
    update table
    set column1 =: new_column1, column2 = : new_column2, ...
    where primary_key = :primary_key
    and decode( column1, :old_column1, 1 ) = 1
    and decode( column2, :old_column2, 1 ) = 1
    another implementation
    optimistic locking using a version column
    add a single column to each database table you wish to protect from lost updates. this column is generally either a number or date/timestamp column
    It is typically maintened via a row trigger on the table, which is responsible for incrementing the number column or updating the date/timestamp column
    every time a row is modified.
    another one on page 204
    optimistic locking usin a checksum
    similiar to the version column implementation but it uses the base data itself to compute a virtual version column.
    the ones suggested where owa_opt_lock.checksum, dbms_obfuscation_toolkit.md5, dbms_crypto.hash, ora_hashEdited by: pollywog on Nov 17, 2010 3:48 PM
    might be a good book for you to look into getting it has a whole chapter on locking and latching.
    Edited by: pollywog on Nov 17, 2010 3:54 PM

  • Can i use Web Start for applet servlet architecture

    Hello ,
    I am currently working on conversion of swings GUI to applet based so that it can be accessed any where from the network.
    Presently its a standalone application, requiring installation of the work station component on user's machine .This would access the database on other server using the JDBC ODBC drivers.The GUI would display the information from the database.
    The task is to make it accesible remotely using a webbrowser.I have thought of the following.
    1.
    Applet-->Servlet--->Database architecture
    I was wondering if i can do the same functionality with Webstart. I mean will i be able to deploy the present application and make connections to the host server.
    Please compare the options .

    No , this is not supported by Oracle.
    Regards Anders Northeved

  • Database Consolidation

    Dear Oracle ace and directors
    Wish to share me your experience in this project
    We have a lot of Oracle databases (Different database versions and different OSs), currently we think to Consolidate all these databases with new maximum availability architecture.
    How can implement this architecture using Oracle RAC, Data Guard and ASM?
    The need of database migration to 11G, can we bypass that? What about OSs?
    How can I measure Current application impact?
    In case adding new database after implementing mention architecture, what exactly impact for current database?
    Controlling failover and failback?
    Real-time data consistency?
    DR site(s) recommendations for hot and cold sites?
    Can use hot DR for all consolidated database queries only (SELECT STATEMENTS)?
    How can I control database instances for each database?
    How can implement Backup strategy?
    Currently I read a lot of documents in Oracle RAC, ASM, RMAN, Data Guard and Oracle MAA, but I need your experience and if possible a case study?
    Thanks in advance
    Regards
    Mohamed Tawfik

    Before evaluating impact of database consolidation on disaster recovery and high availability aspects, I think you should first evaluate application impact. Managing multiple applications in a single database has some constraints such as:
    - each application should have dedicated schema names not used by another applications
    - usage of public synonyms could cause issue if the same public synonym is used in different applications
    - high privileges database accounts could cause more security issues
    - backup and recovery procedure should take into account schemas backup/recovery in order to be able to restore only 1 application data instead of restoring the whole database
    - database upgrade can be more difficult if you need only to upgrade a subset of application/schemas instead of upgrading the whole database.
    To use RAC and/or Data Guard does not solve these potential issues linked to database consolidation.
    PS: I'm not ACE but I don't think you need to be an ACE to reply to your questions.
    Tom Kyte always says one should consolidate databases especially to avoid mulitple instances on a single node.
    However he does not write a lot about this topic in his books. Maybe in the 2nd edition of Expert Oracle Database Architecture (he is currently working on it: http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:8145042756282#2180776900346592134) ?
    Edited by: P. Forstmann on 17 janv. 2010 11:31

  • Database table Analyze

    <p>
    {color:#339966}Hi,
    I have a very basic question.
    I want to know what exactly happens in the Database architecture when a table analyze is done by gathering the stats.
    How does this analyze helps in performance of queries.
    Thanks
    Mns{color}
    </p>

    hi,
    Table analyze is done to get the internal details for the table like exact space used,exact blocks used,row chaining etc.
    optimizer uses these details in creating execution plan for the statements for that table.
    SQL> set lines 10000
    SQL> select table_name,num_rows,blocks,chain_cnt,avg_row_len from user_tables where table_name='EMP';
    TABLE_NAME NUM_ROWS BLOCKS CHAIN_CNT AVG_ROW_LEN
    EMP
    SQL> analyze table emp compute statistics;
    Table analyzed.
    SQL> select table_name,num_rows,blocks,chain_cnt,avg_row_len from user_tables where table_name='EMP';
    TABLE_NAME NUM_ROWS BLOCKS CHAIN_CNT AVG_ROW_LEN
    EMP 14 1 0 40
    Regards
    Edited by: NKU on Nov 5, 2008 12:28 AM

Maybe you are looking for