Design of database help

Hello

I currently have the following database design and try to make it standard.

Name of table columns
Program program-ID, program name, program-Info, person-ID(FK to Person)
Person person-ID, FName, LName, Addr1, Addr2, City, State, Zip, telephone1, telephone2, Email

As to the above standardized relationship, I also want to keep the history of changes. Please see if my model below seems ok and please advise about what corrections I need.

Name of table columns
Program program-ID, program name, program-Info, Effective_Date
Person person-ID (1 to many names of people) (1 to many-to-Contact person) (1 to several - to the address of the person)
Name of the person person-ID, ID name
Name FName LName, Effective_Date (1 to many names of people)
Person - ID, ID of the Contact person COntact
Contact Contact ID, telephone1, telephone2, Email, Effective_Date (many-to-Contact person 1)
The person person - ID, address, ID
Address ID, Addr1, Addr2, City, State, Zip, Effective_Date (1 to several - to the address of the person)
Program-Contact-ID program, person-ID, ID of COntact, address ID (1 to several - to the address of the person) (1 to many-to-Contact person)


If I have a many-to-Contact person is sufficient to get the name too?

Thanks for your time and your help.

>
As to the above standardized relationship, I also want to keep the history of changes. Please see if my model below seems ok and please advise about what corrections I need.
>
I suggest to you create some sample data, some examples of tables and put the data in the tables and then see if what you have is achievable.

For example, you have a table 'Person' with a person-id which is 1 for a lot of people.

If the same person-id can have different names?

But then say you that the 'name' table is also 1 to many names of people.

It seems that you try to keep a separate history table for each attribute of an entity.

One is that a person is a person whether they are a 'contact' or not so why are you treating contacts separately from the 'person' instead of as an attribute of the person? Your friends are "people" too aren't, even if they are also contacts?

Tags: Database

Similar Questions

  • Design of database for a helper.

    Hello does anyone know
    Design of database for a helper.
    ERD
    Features and business rules
    ?

    The best way to approach a design of database is to write a specification for the application. The document, which deals with the assistance of technicians will do. In the process of determining what pieces of information, they work with. When you have written complete specification, you can start then group the items of information they work with. For example, a ticket can have a number, status, priority, and a person who is associated with. The person to which is entrusted the ticket will have a name, phone number, email address and a list of technical skills.

    So in this simplified example excessively, we might have a table that contains the information of the ticket, a table that contains information about the technicians and an array of skills. Then ask free questions as "a ticket can be handled by more than one technician?" "A technician can manage more than one ticket? Can a technician cause several skills? "In this way, you can begin to see relationships on a one-to-one, one-to-many and many-to-many that exist.

  • Design of database schemas

    Hi all

    I have a design of database with different areas. The database contains information of program/project with tables as a person, organization, program contracts, financing, cost program, program Budget, program Milestone, won contract value etc..,.

    It is a model of corporate data, we want to keep common tables as a person, org etc in a pattern called so when other schemas want access to information they get of the commune, which is the right approach?

    Also I would put how arrays of othe in patterns, will that go into a common schema or multiple schemas?

    Any suggestions on the conventions of name for tables, as well as the patterns will also be very useful.

    Thanks for your time and your help.

    use schema tables & unique to the third normal form design

  • Stages of design of database

    Hi all

    I am new to learn oracle database design. Please can someone give me the steps or the procedure that we can easily to design the new database oracle. ?

    Kind regards
    Samurai

    Are you referring to the design of physical database (implemented disk layout, the locations of files etc.) or logical database design (schema, table structures, index, etc.)?

    Based on your requirement, the answer will change.

    But in simple terms, it would be better if you could take a course in local universities or colleges that have database THE program design. It is not possible to summarize the design of database in a few lines.

  • Need help with the design of database

    Hello!

    I would really appreciate help in the design of my database. I have a client that has one or more provisions of a certain type. These arrangements will have accounts associated with them. A customer has access to a number of accounts (accounts have a guy too) and when the customer has an arrangement, the arrangement will tell what types of accounts are related.

    Some kind of pattern here
    http://S8.PostImage.org/qcoiozcf9/Namnl_s.PNG

    There are business rules to calculate that represents a client has access to (access above). It is basically three queries involving several different tables (you can give accounts, being a parent etc client that allows you to Auditors that you have not really own). One or two of these queries would a NOT IN / NOT EXIST (if you give your account, you won't have access to yourself until you revoke this action). AccountsOnArrangements is a subset of access (indicated by ArrangementType/AccountType-relationship). So A arrangement has all accounts of type 1, 2 and 3 customer B has access.

    My question is, basically, how I should apply access and AccountsOnArrangements.
    I can access in a view, which runs three queries with Union all. I can also use a table that I maintain with the application code. I have experimented a view but the performance doesn't look too good. I might have a materialized for each of the 3 queries that access, or view materialized for the 3 union all, but I wonder how the performance of this one will be. AccountsOnArrangements could also be a view or a table that I will maintain.

    Is it normal to use views or use the code to insert and remove rows from these tables 'close' when a base line is modified?

    Does still make sense? I have a few problems even explain :)

    Published by: KarlTrumstedt on 22-Aug-2012 13:02

    Published by: KarlTrumstedt on 22-Aug-2012 13:02

    Published by: KarlTrumstedt on 22-Aug-2012 13:02

    Published by: KarlTrumstedt on 2012-Aug-22-15:11

    According to the needs described I did according to model

    [Customers]
    CustomerId PK
    ParentId FK to Customer.CustomerId
    
    [Accounts]
    AccointId PK
    CustomerId FK to Customer.CustomerId /*Owner*/
    AccountType
    (CustomerId,AccountType) UK
    
    [AccountsAccess]
    AccointId FK to Accoints.AccointId
    CustomerId FK to Customer.CustomerId
    
    [Arrangements]
    ArrangementId
    CustomerId
    AccountType
    (CustomerId,AccountType) FK to Account.(CustomerId,AccountType)
    

    In AccountsAccess will be stored CustomerId, AccountId pairs that tell the CustomerId has access to AccountId. For the entirely given accounts, there is no line for the CustomerId of the owner.

    Frequently asked questions are representing a client has access to?

    I create a SQL-based hierarchical display (because of the children of the customer, grandchildren...)
    and AccountsAccess

    Exactly what accounts is an arrangement linked with?

    a view based on the join of the Arrangements and accounts on (CustomerId, AccountType)

    Who has access to an account

    a SQL-based hierarchical display (because of parents of the customer, grandparents...)
    and AccountsAccess

    and who owns it?

    a view based on the join of customers and accounts

  • standard design cs4 activation help

    Buongiorno sono Giovanni Greco has come Adobe [email protected] ho da creative suite design standard cs4 che avevo place compratodi installare due sulle postazioni casa ed ufficio!

    Help me please
    [email protected]
    Tel. 3388885607

    Grazie

    Hello, I'm Greek Giovanni account as [email protected] I installed the Adobe creative suite design standard cs4 I bought regularly serial number

    I froze a p.c. I reinstall after format, but I have not had time to disable the product installed how can I do? If you can reset? I want to keep the ability to install on two computers for home and office!

    Help me please
    [email protected]
    Tel. 3,388,885,607

    Thank you

    Contact Adobe support via chat when they are available and ask them to reset your activations (closed weekends)

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • Design of database for Orchestrator

    I use Orchestrator in a small environment where I will have less than 20 workflows.   I use the virtual appliance, and it is built in the database, not an external database.  By default the size of the hard drive is 7 GB.  What determines what size the size of my hard drive should be when I deploy it?  What is the number of workflow, the number of stored plugins?  Is there a chart to help me look at all the things that could require more than 7 GB, add them up and come up with a proper size for the disk hard virtual appliance?

    Thank you!

    Hello

    You can set in the configuration of vCO (the Web-based tool) under general / Advanced how many events and past workflow executions will be stored in the database.

    But the database is usually fairly small (a few MB hundert, even in larger environments).

    More important is to keep an eye on the size of the log file, here depends on how much recording happens in your workflow. The logs are in/var/log.

    Logrotate is available, so adjust its configuration to ensure rotation of log as you would on any other Linux system.

    See you soon,.

    Joerg

  • When you preview in a browser, my pages look or align it even when in design mode. Help?

    Is there any help or advice people can give me? I am VERY new to Muse and web design. However, I am not new to the design and use of Adobe products. No tutorials seem to this address, and I've been fiddling around for quite awhile. Someone please help. Also, I tried to change the size of the web site and that doesn't seem to help either. :/Muse1.JPGMuse2.JPG

    Very well. Now go right out of the site I believe that your installation is. a picture from the top, then a box (shipping container), then you have the menu inside the box (menu = navigation).

    So you have the navigation inside:

    inside a container of navigation may be:

    What you want to do is to select the navigation and the navigation container (or just the image above)

    then you can align these so your navigation still remains in the middle (if you wish)

    Now, whenever you do this, the container of navigation box automatically adapts to the width of 100% (which means that it will fill the page)

    So, after this step you want to select only the area of navigation container

    and uncheck the box appear here in red

    Then in preview in the browser, that you should now see all line up properly and the navigation container should grow is more the width of the browser page.

    Now, if that doesn't help - let me know and we can set up an Adobe Connect session where I can help guide you through the live stage.

    See you soon,.

    Craig

  • Trouble installing CS5 Design Premium - please help a novice!

    It is almost impossible for me, someone who is new to MAC in general, to understand what is happening with my system. But I learned a little through online searches and the suppory community. Ultimately no part of the entire program was already installed on my computer. Is there someone you could ask to help me. I have problems of the research on the specific error code, which I believe is where I find my answer. Most of the information I could dig up is outdated, dating back many years and does not apply (unless I'm missing something).

    I'll also post this information to the community and you send another link (updated). If you could pass it on to someone who could help me to analyze the logs... Errors, I would be grateful. My work pile up!

    Support I was called last night and offered little assistance and asked me nothing about my system or errors that occurred, telling me that the problem I feel is caused by the server updated adobe plug-ins for only support CS6 essentially making obsolete the CS5. I find this hard to believe since my fiance just to install the other licence (I bought 2 licenses) successfully, the first test, only 2 weeks ago. I tried to install on my system since then, nothing helps.


    First that I want to point out that I had the trial version CS3 and CS4 trial version on my system before and I can't have uninstalled a couple of them correctly.


    NOTE: These programs are already present in my utilities: Adobe Air App, Acrobat X.


    NOTE: In the window to install CS5 Design Premium, InDesign is not supported so I unchecked that install the rest of the programs and also tried to install only the CS5 Adobe Photoshop only. Had the same error in the installation window.

    It's the mistake of PDAPP.log (01/12/2014 21:12:26.111 [WARN] DWA. SystemRequirement 2047 MB memory or higher is required. Require verification of memory failed for Adobe InDesign CS5 files of the Application base payload)


    I have registered newspapers that were written only during installation time, and will post or send it (on request) to anyone who could, would offer a support. (I was punished for posting the logs to a Community Forum applies, so I want someone piss off and reduce my chances of assistance.)

    There seems to be conflicting information on the system requirements, so I can't solve the problem of the installation.

    My system:

    MacBook, 32-bit

    Intel Dual processor

    1 GB of Ram (a source tells me I need 2 GB of RAM, a minimum of 500MG, says this file, the box of the product reads 1 GB)

    35 GB of free space

    Logging HFS +, case preserving file system

    32-bit (which tells me CS5 auto adjusts the 64 bit suggested)

    I ran a cleaner utility, tried installation at startup. And get the same results, nothing installs and the same error message... ERROR: failed to update driver data. The driver entry has not been added. ARP estimated size 3726KB


    Issues related to the:


    I have the latest version of flash, the State of need of the system Flash 10. Do I need to downgrade my Flash?


    Could there be leftovers of CS4, CS3 since previous trial versions I've had in the past that prevent any installation?


    -Could someone explain what means this error code for the installation window? ERROR: failed to update driver data. The driver entry has not been added. ARP estimated size 3726KB

    What this means when it appears among my PDAPP.log: [INFO] DWA. SystemRequirement conditionsrequises not mentioned for payload - Adobe Photoshop CS5? (this happens to all parts of the program)

    Mon 1 dec 21:12:26 2014 [INFO] LWANative - pwa_openSession the Session key: 67406317-6C66-4D1B-AA06-DBC5443AE0EB

    Mon 1 dec 21:12:26 2014 [ERROR] LWANative - OOBElib returned error: 47

    01/12/2014 21:12:26.744 [WARN] DWA. Serial numbers of Fetchserialnumber Fetch returned nothing

    01/12/2014 DWA 21:12:26.759 [INFO]. Utils PWA closesession returned < result > < session > 67406317-6C66-4D1B-AA06-DBC5443AE0EB < / session > < / result >

    {Mon 1 dec 21:12:26 2014 [WARN] DWANative - Install dir is NULL or pdbGetPayloadData error 8 for key-INSTALLDIR and id-{CDC977A9-B3BA-4320-BD28-96F2CC91B9E9 payload}

    ...

    Killed Dec 2 01:00:47 2014 [WARN] PDApp.AppletManager - could not get the information switching applet... The answer is: 8

    Mar 2 01:00:46 Dec 2014 [WARN] installation - size for ACF of PIM 52585

    Tue Dec 2 01:00:40 2014 [ALERT] PIM - files /Users/macbook/Applications/Adobe/OOBE/PDApp/install.sig RemoveQuarantineInfo

    He has a good part of the information, and many question. So I apologize in advance for the length of the post.

    Thank you for your attention!

    Gratefulbear the ~ indicates that you look at the files in the user //Library/Logs folder.

    To access your library of root, file, complete the following steps:

    1. Go to the Finder
    2. Use the Go menu and select folder.
    3. Type of/Library/Logs/Adobe/Installers

    This should then, open the folder library/logs/Adobe.  Please see Troubleshooting with the Setup logs. CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for more information on how to interpret your Setup log file.  You are invited to post specific errors that you will discover in this discussion.

  • Design of database

    Hi all

    We are a business transformation of 4 mainframe applications with JEE with Oracle DB. We have 4 essential apps and data base design that we thought is that we will have a single instance in oracle with 7 patterns catering to nearly 400 paintings. It is an OLTP database, but we must also respond to operational reports about 70 number and as the name suggests they would be near data in real time with a delay of 15 minutes. 70. reports should data about 50-60% of the tables. In addition, the application must also send additional data on a daily basis of 350 tables in a data warehouse via files.

    We have debates/internal discussions on how to implement a solution that meets our requirement, and here is the thought processes we have.

    -Separate DB should have two pieces of furniture to OLTP, the second a DB statement that will be created on logical Standby and extra index/MV can be created to respond to the reports. Since the reporting database, we need to generate 350 files for DWH requirement for which we will use UTL_FILE. This would contribute to the separation of concerns, but will also introduce the responsible for the maintenance of 2 separate databases.

    -Have a unique database for will appreciate the OLTP and reporting operational requirements and also have UTL_FILE running on the single database. This will reduce the load of the replication of data and now 2 separate databases.

    I would like to know your opinion on the 2 approaches and if there is a better way to implementation of the solution.

    On a side note, the maximum size that we can have a transactional table is around 10 GB and the total size of the OLTP database occupies approximately 130 GB.

    Thanks in advance,
    Jayadeep

    My mistake. I thought using a similar to ORACLE_DATAPUMP method that can be used to unload a table to a dumpfile, and then load from the dumpfile to destination - if the destination is also, Oracle.

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16536/et_dp_driver.htm#i1007502

    You have to write the SQL Select script or scripts of unloader to unload in a flat file.

    With regard to "incremental loads... How might you get a line that has been updated but not inserted? Thus, the TIMESTAMP captured updates and inserts. And deletions? How to spread a DELETION?

    As a general rule, the ETL tools can be
    a. reload the data
    OR
    b. merging changes

    Hemant K Collette

  • database help

    Ive done a calendar which is connected to my database ive succeeded to this change successfully through a form, just what im a little confused on is how I go the links on their names to go to a file which will be like another page that will look like my site with relevant information on etc.

    http://www.sophisticats.co.UK/calendar.php

    the link I provide warning can be insulting or inappropriate at work or in front of the children.

    Any help much appreciated

    Hi RichyG192,

    It is best to look at the following help pages about the master/detail pages.

    http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-78b8a .html

    This allows you to create the relationship to display some information about several records in your database, and when you click on a link on one of these documents, it takes you to a page with detailed information about that particular record.

    Hope that helps.

    Josh Margulis

    Engineer Senior Adobe Solutions

  • Design of database and Itemhistory element

    I have entity 'Article' and it has the attribute 'Price' and the change of price-s and must be counted as the price history. What the database design would be appropriate?

    TABLE Item (ID, Price);
    TABLE ItemPriceHistory (ItemID, Price, Date)
    
    or
    
    other way?
    If the element is first inserted into the system, then ItemPriceHistory remains empty after the first change of this element on the column "Item.Price" we would insert record with old price in the ItemPriceHistory table.

    Thank you.

    CharlesRoos wrote:
    >
    Distribute the data in two tables goes against good design.
    >
    I do not SHARE, I duplicate.

    Even worse!

    I save current/actual price in the history table and in the main table, and I do it for performance reasons.

    What about using partitioned tables? Performance should not be a problem.

    Duplications and aggregations are part of the modern design of the database. See table of header lines / mentioned above, modern database systems have "Header.TotalSum = SUM (Line.Price)", so it does not accelerate get the sum total of header lines. This aggregation is not just a "good design"? Well good or not, it is widely used in modern solutions.

    No, storage of aggregations is part of the data warehouse design, design of non-relational databases. Duplication is hardly necessary in any design of the database.

    Published by: BluShadow on Sep 15, 2010 09:28
    correct terminology

  • Refrshing TEST for PROD database help

    Hi all

    I need to update one of my test server with the Production of the cold backup instance.

    Please post a detailed procedure that I have to perform for this.

    The two databases are in different servers and are both windows servers.

    Appreciate to help me learn.

    Concerning
    Arun

    Hi arun,

    You must change datafile name. Only change the path.

    Hope this helps,

    Daniele

  • Lotus Notes database help

    Hello list,

    I have a Lotus Notes database. In the database are documents, and documents are attachemnts.

    I already understood how to get the DocumentID by the name of the document (see attachment of the code)

    What I'm trying to understand what 'method' to use to get a list of the file names of attachments in the document (by pointing with the DocumentID?), so I can detach and save those I want.

    Thanks in advance,

    Mike

    Thanks to Labview 8.2

    Oops! You use a LabVIEW 8.2. I have attached a version compatible with this.

  • SQL database, helping to start

    looking to install my first sql database to an application and I was wondering a few things. I know that many of these applications examples show this process in detail and I will use them but I was wondering besides the creation of the database? The sample applications contain a .db file, which I know is in the database, but it is created within the app? Or separately and I just can he name .db as with the qml or is there a more advanced production process? All documentation or personal experience with this would be welcome and appreciated.

    I would seriously recommend Qt classes for Sql management.  This works.

Maybe you are looking for