Stages of design of database
Hi allI 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.
Tags: Database
Similar Questions
-
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
-
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.
-
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?
-
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:11According 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 AccountsAccessExactly 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 AccountsAccessand who owns it?
a view based on the join of customers and accounts
-
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,
JayadeepMy 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 changesHemant K Collette
-
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?
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.TABLE Item (ID, Price); TABLE ItemPriceHistory (ItemID, Price, Date) or other way?
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 -
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
-
Design of database surrogate key
Application developers have decided to create a table called ITEM_DETAIL
Due to the nature of the data as a composite primary key
to uniquely identify each row. But I want to suggest to use a surrogate key instead.Item_ID Item_Type Item_flag_n
Question1.
If I create a surrogate instead of that key, can I create a Unique index or a Unique on the above column constraint.
Question2.
Another drawback, I found with a composite primary key is that: for a table of prospective 'child', I might want to only refer to a column in the parent (ITEM_DETAIL) table. Since then, ITEM_DETAIL has 3 columns as a primary key, the child table is forced to create a 2 extra columns that are not involved in the child table. Is it a valid argument?Negligible wrote:
Application developers have decided to create a table called ITEM_DETAIL
Due to the nature of the data as a composite primary keyItem_ID Item_Type Item_flag_n
to uniquely identify each row. But I want to suggest to use a surrogate key instead.
Question1.
If I create a surrogate instead of that key, can I create a Unique index or a Unique on the above column constraint.I believe that a unique constraint should be created instead of a unique index. From a logical point of view, you implement the unique combination business rule of (item_id, item_type, item_flag_n) by means of a constraint. Of course, Oracle creates a unique index to enforce this rule.
>
Question2.
Another drawback, I found with a composite primary key is that: for a table of prospective 'child', I might want to only refer to a column in the parent (ITEM_DETAIL) table. Since then, ITEM_DETAIL has 3 columns as a primary key, the child table is forced to create a 2 extra columns that are not involved in the child table. Is it a valid argument?I think that it is.
In my previous job, I had to carry the weight of a design that incorporated composite primary keys to the identification of relationships (where foreign key columns in the child table are part of the primary key of the child table as well) throughout the model. The biggest problem was that the SQL statements were wordy and a pain to write! A query that had a join of the tables just 3 or 4 involves a large number of predicates that joined all common columns.HTH,
isotope -
Oracle will always create a certification of design databases and plan?
Oracle will always create a design and/or certification plan.
For example, how to design a database using 3 NF etc.
For example, how to choose a Unix machine or o/s.
For example, how to evolve for sizing.
Etc.
Thank you Roger
There is nothing on the horizen at this stage.
Kind regards
Brandye BarringtonThe Forum Moderator
-
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:
- root = drive
- nodes = files
- sheets = files
Concerning
Etbin
-
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.
-
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 youA 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 -
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.
-
Hello
I have for the design of database in the oracle database.
I'm designing tables
Here, I have a problem I have to store the following data
can someone help me in this metter how to design or tables for these data. acually these data are very important for my database to view the emploee performance
EMPNO Communication Application_knowledge Programming_skills Team_work Analytical_ability Architecture
E001 quite satisfactory satisfactory very satisfactory needs to improve
E002 strong needs satisfactory improvement strong very satisfactory
Very strong satisfactory E003 needs satisfactory satisfactory improvement
E004 should improve very satisfying loud very satisfactory
Strong E005 should improve very satisfactory very satisfactory
E006 strong strong strong strong strong strong
E007 satisfactory satisfactory very satisfactory satisfactory satisfactory
Thank youHello
ID of the jurisdiction would be the primary key (it must be a look up table) for more details Emp.
-Pavan Kumar N
Maybe you are looking for
-
At my Mozilla not working correctly?
My mozilla browser would not allow me to delete the cookies or other data and he was recording information from encrypted sites, IE: credit card no I could also place a cursor anywhere on the page. I made sure that it has been updated. Then finally u
-
I found a file called applesauce, can someone tell me what it is
-
I bought a R7000 now a week ago. My other router continues wobbly on me, could not take any charge for an amount of time and was generally an unhappy experience. Now to my problem with the R7000: I keep having random disconnects. Meanwhile, the inter
-
HP Clubhouse 15 088se windows 7 64 bit can't install 3 USB driver
Laptop: PVailon 15 HP model 088se I installed Windows 7 64-bit professiona, but the 3 USB ports does not work. Download drivers USB 3 "pilot version Intel USB 3.0 host controller" "but the installation failed, I tried to install the versions 2.5.0.19
-
Cannot read the video error code is 8007000E computer ran out of memory.
OT: Media PlayerI recorded the video with lightwave usb webcam when I tried to read that I got the error message that my computer ran out of memory and so I should close other programs and try again. The error message given is C00D11C6 and gives as o