Database design issues

Y at - it a forum that deals with issues of General database design, such as the definition of primary keys, unique constraints, Check constraints, indexes, etc.?
I searched but could not find it. Maybe I missed it. Thank you.

General, database or SQL/PLSQL:

http://forums.Oracle.com/forums/category.jspa?categoryID=18

Tags: Oracle

Similar Questions

  • OLTP database design...

    Dear team,

    I would like to know some books / links that explains the concepts of OLTP database design...

    If one of the experts has done this before, please share experiences and ideas...

    Thank you
    NIC...

    Thanks for the correction,

  • Why sql sever database design is used for essbas?

    Hello
    I'm new on Hyperion technology. I would like to know why we use any RDBM as sql sever design of database for essbase, which in itself is the database. What is the main difference between these two databases?
    My understanding is that law Essbase as same as SSAS for cube and the strengthening of the dimension. And they use the database design to store tables and other information.

    Thank you

    A relational database can be used for a number of reasons with Essbase (and in some cases). It comes
    1. a repository for system tables for Shared services, EAS, Studio, EPMA, workspace, etc. of financial management
    2. a data source to load Essbase
    3. a workspace for transformations

  • database design patterns

    I would like to learn more on "database design patterns ', on the internet, I can't find good web page for this.
    It should describe what data models are performed all list and describe when to use them.

    CharlesRoos wrote:
    Design patterns traditional relational database transactional table is what I'm looking for.

    There is not really such a beast - or at least no I ran into when dealing with RDBMS designs. The approach that is usually used is a "high level data model" (often called an entity-relationship diagram). This DR. would then become the plan of action for the implementation of the physical database model.

    Also such patterns exist in the database. Simpler is so-called ' header and lines plan tables "which should explain to create 2 tables and link/join with next path and it can become such performance or other problems with this model and so on.

    This isn't really a model - is standardization and what is expected of relations in 3NF.

    Also, it is wrong to assume that a "+ header - and - line-tables +" exist purely for performance problems. In fact, it can actually be slower done as 2 separate table (using 3NF) more simple using only one table (2NF).

    I remember a design methodology called Tetrach (not sure of spelling) I have done a few courses in, in the 1980s. It deals with the prediction of the performance of the relational data models. Simply put - if you have an invoice that usually consists of a single header line and 20 lines of line, processing invoices will require an average of 21 St / s (logical or physical) by Bill. 2NF, it will take a single e/s - however, the data model and then imposes a limit of 20 lines per invoice (never forget the story on such a structure coding problems).

    However, if the system is I/O forcing then? You decide on a single i/o per invoice (by limiting the flexibility of the data model) or 21 St / s per invoice (and face the real possibility that the system may be impossible to successfully treat all invoices received in time for shipment orders)?

    Well, this isn't really that relevant more with modern equipment of today and storage systems - but it still illustrates to the point that performance alone is not the primary consideration for database designs.

    When to use patter 'create 2 separate identical tables to separate the same kind of business objects, for exmple GoodTeachersTable and BadTeachersTable' and explain why and when creating this model. And so on. There are 30 such techniques of model I guess than that. University teaches only that we have "one-to-many" - thing in the world, that I'm not interested.

    I think you're confusing models of object oriented with relational data modeling design. There is no "+ patterns +" in the data model relationship - with the exception of different normal is a get - with the fundamental objective of correctly normalizing the data model to 3NF as part of a proven recipe of a robust, functional and scalable data model design.

  • Database design considerations

    I'm a student project in Oracle 10 g. I wanted to know if anyone could mention some design considerations that go into the conceptual and logical database design phases. I know space cannot afford here, so if anyone has links to resources, I would be very grateful.

    Lasirius,

    Here are some useful links for

    http://en.Wikipedia.org/wiki/Database_design

    http://woork.blogspot.com/2008/09/10-useful-articles-about-database.html

    http://www.evolt.org/article/Beginning_Database_Design_Part_I/18/27137/index.html

    And to discover the concepts of oracle database.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/TOC.htm

    Concerning

  • LAN/WAN design issues: redundant network core design and equipment

    Dear all,

    I have a growing network that has inherited the reliability and scalability issues:

    (Example from my existing network)

    We pop connected with us through lines of CF, that LSPS are connected to our CF traverse on persistent organic pollutants.

    Now, it is necessary to make the core of switching (switch with "?" mark) redundant

    because this is the point of concentration of all connections outside.

    I got an appointment in order to study new equipment (now it's just Catalyst 3560) for this network block.

    Unfortunately, the budget is pretty low.

    I have the following considerations:

    I think that the main problem is that most of the connections is L2 trunk links and it is difficult to prevent this.

    It seems that I need to duplicate all the links to LSP FC, pop and branches (this seems doable) and rely on STP! (this seems bad)

    with all of these links.

    Currently, I have two options for the basic block:

    1. two Catalyst 3750 have duplicated links. (CSW1 LSP1, CSW2-LSP1) and rely on STP

    2. a switch Catalyst 4500 series with two redundant supervisors (probably, they allow to buy if there are strong arguments) have reproduced links and rely on STP.

    These two options do not look good because I have to rely on STP with LSP.

    I would use redundancy features and L3 protocols, but do not know how to avoid trunks

    I have no experience with the material of fantasy as a Catalyst 4500/6500 series.

    Could someone please advice me alternatives for options of design and of the hardware and confirmation or withdrawal of my options.

    Also, I would be grateful if someone could help me find strong arguments for the acquisition of Catalyst 4500 series light up the core.

    Thank you much in advance.

    Best regards

    Max

    Hi Max,.

    in the diagram and description that you provided the switch, you need to replace is a dashboard device that works only for the moment, in L2

    If you plan to go L3 communications in this device, you should review your design to the whole of the network and also review/discuss with MS how that can be converted into L3 communications

    If you want to keep the same as L2 and introduce it into the device or devices for redundancy, I'd rather have two redundant devices of a redundant chassis that I mean pair of 3750 is more reliable chassis 4500 with equipment redundant as soup, UPE however its a reliable option as well and again for sure

    If you rely on STP for redundancy, what is the problem here? It is time of convergence or what is your concern?

    hope this helps

  • Database design

    What are the different approaches to solve this problem?

    Design of database tables to mimic the hierarchical file system.  (e.g. drives, directories, files, include common date for properties such as name, readonly, size, created).

    (a) name of the database 'Interview_FirstnameLastName'.

    b) Design should support files in the root of the drive, or any number of levels down.  (for example c:\test.txt, d:\test\text.txt, c:\test\test\text.txt, etc.)

    c) create a script to insert test data in tables.  Must have at least 25 records.  You can also create processes to take a base path and fill the database by browsing a directory tree.

    (d) provide scripts to create the tables, relationships, indexes or a backup of the database. 

    e. write a stored procedure (usp_FileSearch) that takes the text 1 (@criteria) parameter.  It should return a containing all defined data files whose name contains @criteria.   Returns the ID of the file, the full path, file name, readonly, size, date of creation)

    Frank did not mention explicitly (yet)

    A tree (data structure) perfectly fits your needs:

    1. root = drive
    2. nodes = files
    3. sheets = files

    Concerning

    Etbin

  • In design issue - CC will not save PDF & TIFF images are missing

    My indesign file, I've worked on over the past two months suddenly will not save the pdf out. Before this problem with the economy that happened... The last page of the circular page 8.5 x 11 20, is gray/50% the whole page in gray? And the background image that has been placed in the document and left behind an empty "images box" disappeared (or so I thought). I'm going to place the background image in once again, assuming that I deleted it. I am also having the same problem with the other images on other pages where the images have disappeared leaving behind empty boxes that may not have the images replaced them as NDS. They will not be displayed.

    I went to check the display in inDesign aka he changed the overprint preview and the "greying" box covered now all layers on this page only. How design is very organized, so everything is on layers (of exodus's images, shapes, text, background, guides). Guides have disappeared, and this gray effect (almost like when you're in illustrator and isolate a form any other work turned a shade darker) is there with once again the empty boxes without the content that I placed in them.

    I therefore decided to close the file and reopen. nothing has changed. I tried to save out as a PDF, so I can make sure that the file is safe... it out will now save all and tasks from bottom says "Impossible to export the PDF file." That's all. No other explanation.

    Does all this sound familiar to anyone? Or did happen? Help.

    Post edited by: Elisha Bencich

    UPDATE:

    I deleted a page that was giving me trouble and copy and paste new content... which seems a sort of solve the problem for now. I have to register again the whole document into a new document, I hope that works... I wish that this form could let me post a screenshot of the issue, I'm sure it would give someone a understanding of what's going on.

    See remove minor corruption by exporting

  • Oracle database design

    Hello

    I am designing a database and want to design it inspires 3NF. I have a table and columns that are not a ship a lot of relationship. I can design so the columns that are not a child either in a few separate tables, with a one to one relationship? Example: My main table is a table of program, and I have a few columns DEsc, Date of analysis analysis and analysis BY. I want to keep these columns in a separate table. Please let me know how to draw this?

    Thanks for your time and your help.

    Hello

    ssk1974 wrote:
    ... I currently have the program tables and detailed program with many ships of relationship. ... Can I do the columns of analysis as a one to one relationship and place them in a separate table? How I who would design.

    Of course; You can do it. Let's say the primary key of the program is program_id, and that there is also a program_id column in the program_detail which refers to program.program_id.

    If program_detail contains only the columns 'analysis', then you can simply modify program_detail.program_id to make it unique.

    If program_detail contains other columns, and the relationship with the program must be one-to-many for them, then create another table (let's call it program_analysis), where the primary key is program_id, who is also a foreign key referencing program.program_id. Copy all the columns in the analysis of program_detail to program_analysis, and then move the columns in program_detail.

    As mentioned earlier, make sure you have a good reason to do this first. Normally, everything that has a one-to-one relationship with program_id belonged to the table in the program. There may be some benefits for some of the columns in a table separate program_analysis, but there are costs, too. Make sure that the costs are lower than the benefits.

  • How to apply the physical database design

    I imported the tables in my physical database and made some design changes. Now how can I apply the changes to my physical database?

    On the Tools menu, patterns for comparison/merging of views can make the comparison between registered design but no physical database?

    Published by: 871744 on April 10, 2012 20:31

    In the right part of the main toolbar, there are two blue arrows for synchronization to/from the data dictionary.

  • AS3 + mysql database design: several students over several results

    It is more a problem of design of database, but almost everyone here using database integration with their applications so it seems important. I'm integrating AS3 + mysql + php and need to clarify the design of database of several results of students in various activities.

    Development of a learning course online with a 'dashboard' control panel with all the kids teacher translates every activity.

    I read the rules of design of database by Codd etc...

    I understand the need for the parent tables and children so information are relational and not duplicated etc...

    BUT I'm not sure I know how to design the results section. Several students various lessons with 10 activities which each give a mark out of ten.

    The table would be updated every few seconds that 10,000 users would be online at the same time

    1. I created a table of results with the results of pupils in the same table, IE: Tom would be the first line

    brand name lesson activity

    Tom               1                1               6

    John              1                1               4

    Tom               1                2               8

    As you can see it Tom is very fast, because he has already completed the activity 2 and so it is added to the third rank. It seems I'm repeating the same info: lesson and Tom.

    I know that this should be a student_id instead of the name of Tom - it was just to clarify the example.

    Thank you

    Could someone send me to a link with an example of a table for the results of the students

    nothing is repeated in this table (results).  you have a number of lessons each with 10 activities.  It's no different than having 10 times more lessons.

  • Display of design issues

    Hello

    I downloaded the Dreamweaver 8 and I am taking a few online tutorials to improve my almost non-existent skills. I have changed something during my careless exploration on demand. The problems that I'll have all involved the design view.

    1. If I create a layer in the lower part of the page, it automatically goes to the top left corner, but when I view in a browser it is still exactly where I placed it in design mode.
    2. If I change the text using a css style it will show changes in the browser view, but not in design mode.
    3. can I change the position of a layer if I change the HTML code but I do not get a handle when I mouse over the upper left corner of the layer. When I change the position of the layer in the code it still doesn't move the top left corner in design mode, but it does not change in the browser view. (I have to change the position in the code because when I click on the layer only layer properties that are available and class layer)
    4. last but far from least only page properties that are available to me are appearance, title/encoding and Image Tracing

    It's the trial version of Dreamweaver 8 and the same downloaded test works fine on my laptop. Both machines are addition to the XP Home with SP2.

    I worked on the issue for about a week. (Please don't laugh) I deleted and reinstalled the app... twice.

    Anyhelp would be greatly appreciated

    Make sure that CSS Style rendering do not turn off:

    View > Style made > display Styles

    It is a part of menu toggle, she should have a check mark next to it
    When ON.

    HTH,
    Randy

    > 2. If I changed the text using a css style it will show changes in the browser
    > view but not in Design view.

  • relational database design

    I apologize in advance for the banality of this question, I have been the design of Foundation for my business for years and I am comfortable with html and recently designed a site complex havig susssed .css and coldfusion code written however dw.
    I CANNOT MAKE THE LEAP TO GET MY HEAD around RELATIONAL DATABASES and want to integrate some forms of dynamic application (which I can code in CF).
    Can someone point me to a resource that will walk me but how to build a simple relational data base (then a complex) that send me to sleep or make sure my eyes glaze.
    Its a brain block which now cause me stress, but I just don't understand...
    Save me

    Ta

    No worries. I can sympathize with trying to grasp new concepts. problem is that double signage makes just more difficult for people to follow the wire (s).

  • Single column supporting different FK of various tables [Design issue]

    What would be a good design for a table with a column that can be worth a few different tables FK.
    The Fk constraint doesn't have to be applied.

    My thought is to simply make an int with another column in the table that defines the origin of the value.

    Is there a better way to do it?

    Thank you

    If the FK column in this table must exist in the table of a parent or another? Hmmm. As FK relationships must be able to be provided by the database to be useful, maybe...

    Create two columns, one for the FK to one parent and one for the FK to parent b. You can then declare the FK relationship in the database so that it can enforce and make profit in the optimization of queries. Then add a check constraint to the table to assert that none of the columns is null, and only one of then has a value (while the other is null). Outer join to both tables parent with a DECODING on the query returns the appropriate parent (research) value of the result set.


    SELECT c.col_a,
    DECODE( p1.col_b, NULL, p2.col_c, p1.col_b )
    FROM child c,
    parent_a p1,
    parent_b p2
    WHERE c.id = p1.c_id (+)
    AND c.id = p2.cid (+);

  • Simple database design - of the Suggestions?

    I built a sample non-real life data base for an auto Agency. The Agency has, model cars, some sellers and buyers. I have to keep track of each of them.

    Here's the process I took during the design:
    Standards 1, 2 and 3NF, and relationship to an and the other to many...

    Column of italics is primary key...

    The database is not realistic, I did it for the practice of the purpose. If you please, look at the diagram and tell me do you think its OK so far? or the design is wrong?

    This is my schema:

    Vendor table stores the information from the Publisher:

    * Seller Table {+ SellerID + (number), first name (text), family name name (text), address (text), city (text), CountryID (foreign key), hired to date (date)} *.

    Table Customer stores customer information, the client can deal with a seller at a time, while a seller can deal with more than one customer at a time:

    * Customer Table {+ CustomerID (number), first name (text), name of family (text), address (text), city (text), (foreign key) CountryID, SellerID (foreign key)} *.

    Car table stores information about the cars available:

    * Car Table {+ CarID (number), manufacturer (text), model (text), car year (text)} *.

    Bought car table hold information about customers who bought a car and a car of type were purchased and the date of purchase (date of purchase is based on CarID and CustomerID field):

    * Bought car Table {CarID + (foreign key) + CustomerID (foreign key), purchase date (date)} *.

    OR

    * Bought car Table {+ PurchasedCarID + (number), CarID (foreign key), CustomerID (foreign key), date (date of purchase)} *.

    -----

    * Country table {CountryID + (number), name of the country (text)} *.

    A customer and a seller can store several phone number:

    * Phone of Table {PhoneID + (number), CustomerID (foreign key), phone number (text)} *.

    If I want a salesman to store more than one number, should I do a new table that stores the sellers phone numbers? Or there is a better way to do?

    Note: I created country table and table of phone number because they are considered as multivalued fields. To achieve 1NF, I must leave each field in the table (e.g. seller and customer) be atomic.

    It would be better if you post real DDL for the proposed tables.

Maybe you are looking for