I am going to start a database and need to know the difference between
Data Modeling, Schema and Database design?
I always thought of Data Modeling and schema as defining relationships
and primary and secondary key?
What is mean when someone designs an E-R diagram and a Data Flow
Diagram?? 2 1851
Data Modeling is the process of creating a description of the
relationships between data elements of interest. When data modeling
for relational databases, your description usually identifies tables,
columns, and foreign key relationships. The "descriptio n" usually
involves pictorial representation, e.g., boxes and arrows.
A logical data model is sometimes developed before the physical model.
The logical model is perhaps not as normalized as the physical, and
usually does not describe indexes or other performance-related
considerations. This model is most useful for communicating with
non-dba's who are interested in the data content of a system but don't
care about the physical storage considerations.
A physical data model more closely resembles the way that the data will
be actually stored in the db. It may specify indexes.
A Entity-Relationship diagram is the most common pictorial
representation of a data model, logical or physical. It's just a way
of showing the model with boxes and arrows and some special symbols
(e.g., 0..1 or 0..n) . A picture is worth a thousand words.
The schema is the actually definition of the data model in the dbms.
When you take your data model and start creating tables, columns,
indexes, and fkeys, you are creating the schema.
Of course, the data model is a representation of the schema that you
intend to create, so the terms are sometimes used interchangably. As
you show the data model to someone, you might say "here's the schema
design" or you might just shorten that to say "here's the schema". Not
quite correct, but good enough.
So, in summary, Data Modeling is an activity that results in a Data
Model. An ERD is one way of representing a data model. The data model
is used to create the databases's schema.
A data flow diagram is something entirely different. It is a pictorial
representation of how data is transformed as it moves through
processing steps of an application. For example, a data flow diagram
may show a authorization for a credit purchase as input. In an early
processing step, it will be matched against a database of account
holders. Then the purchase amount will be compared to the balance.
etc.
Hope this helps.
THANKS!! li*@twcny.rr.co m wrote: Data Modeling is the process of creating a description of the relationships between data elements of interest. When data modeling for relational databases, your description usually identifies tables, columns, and foreign key relationships. The "descriptio n" usually involves pictorial representation, e.g., boxes and arrows.
A logical data model is sometimes developed before the physical
model. The logical model is perhaps not as normalized as the physical, and usually does not describe indexes or other performance-related considerations. This model is most useful for communicating with non-dba's who are interested in the data content of a system but
don't care about the physical storage considerations.
A physical data model more closely resembles the way that the data
will be actually stored in the db. It may specify indexes.
A Entity-Relationship diagram is the most common pictorial representation of a data model, logical or physical. It's just a way of showing the model with boxes and arrows and some special symbols (e.g., 0..1 or 0..n) . A picture is worth a thousand words.
The schema is the actually definition of the data model in the dbms. When you take your data model and start creating tables, columns, indexes, and fkeys, you are creating the schema.
Of course, the data model is a representation of the schema that you intend to create, so the terms are sometimes used interchangably. As you show the data model to someone, you might say "here's the schema design" or you might just shorten that to say "here's the schema".
Not quite correct, but good enough.
So, in summary, Data Modeling is an activity that results in a Data Model. An ERD is one way of representing a data model. The data
model is used to create the databases's schema.
A data flow diagram is something entirely different. It is a
pictorial representation of how data is transformed as it moves through processing steps of an application. For example, a data flow diagram may show a authorization for a credit purchase as input. In an early processing step, it will be matched against a database of account holders. Then the purchase amount will be compared to the balance. etc.
Hope this helps. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael T. Babcock |
last post by:
I'm working with databases (MySQL primarily) more and more with Python,
and having used PERL in the past for similar work, I'm wondering if
there are good tools for doing 'intelligent' selects/inserts to/from
dictionaries, etc. For example:
data = {'FirstName': 'Michael', 'LastName': 'Babcock', 'Age': 99}
lastid = db.insert('Users', data)
.... which would execute "INSERT INTO Users (FirstName, LastName, Age)
VALUES ('Michael',...
|
by: mountain man |
last post by:
Greetings to all database professionals and laymen,
Let us make a bold assumption that we have developed a software
tool for the SQL Server environment which simply acts as an interface
between an end-user in an organization and the database, through
the exclusive use of stored procedures which are authored by the
organization or by software developers.
All development work at the application software level may thereby
be conducted...
|
by: Moti |
last post by:
I have SQL server 2000 which recently crashed. I try to recover it and
found out that the Master database is corrupt. I never backup my
server using inline sql backup nor any third party backup program that
aware to SQL server. But I have full system backup of volume c on tape
(using NTBackup), which includes old version of Master database. My
questions are:
1. How can I recover this file into SQL server?
2. If so, it is not risky to...
|
by: Graham Taylor |
last post by:
I've tried posting this in the 'microsoft.public.access' but I will post it
here also, as I think it might be the webserver which is causing my problem.
---------
I have an Access 2003 database which is in the "fpdb" folder of my
webserver. Its located there so that I can use asp to build a web-based
front-end for users to read the database -
http://www.nist.ac.th/maths/test1.asp
The MBD file is edited using Access (2003) and opening...
|
by: Charles L |
last post by:
Can someone explain to me what the following means?
"C permits multiple definitions of a variable in any given namespace,
provided the definitions are the same and it generates only a single
variable for the multiple definitions. C++, however, does not permit
redefinition of a variable or any other entity for a very definite reason
that we will discuss later." Chapter 1. C++ Tutorial. Coronado Enterprises
Charles L
| |
by: Bas Cost Budde |
last post by:
I play in a band (contrabass) and store the chords for our songs in an
application. Its two main purposes are
* to easily transpose a song
* to display a set list (enlarged chord symbols) that moves forward on
space key (hardest to miss during performance)
Are there musicians among you who would like to try it, and discuss your
findings with me?
|
by: brucedodds |
last post by:
This post is for senior developers.
I'm an Access contractor. This morning I see a listing for a position
that seems to require development of a self-modifying database. The
application may need to provide an interface for the user to add
fields and possibly tables on the fly, with automated form and report
modification and generation.
I have never done this. While I have worked on projects where this
might have been useful, it has...
|
by: Jeff S |
last post by:
I'm relatively new to non trivial OOP programming and recently stumbled
across the idea of Factory classes that can create objects at runtime. I
know we can hard-code class definitions for use by our Factory classes...
just wondering if it's a common practice to drive class definitions from a
database. Somehow the possibility of doing this seems both very cool (that
it may be possible) and very dangerous ("just because you can doesn't mean...
|
by: zouyongbin |
last post by:
Stanley B Lippman in his "C++ Primer" that a definition like this
should not appear in a header file:
int ix;
The inclusion of any of these definitions in two or more files of the
same program will result in a linker error complaining about multiple
definitions. So this kind of definition should be avoided as much as
possible. But as we know, the definition of a class is always in a
header file. And we can use "#ifndef" to eliminate...
|
by: mark_aok |
last post by:
Hi all,
I have a situation where I have a split database. At the back end, I
need to
- create a new table (I will call it newTable) with the exact fields,
and relationships as another table (let's call it oldTable, and I need
to copy everything EXCEPT the data).
- Then I need to delete oldTable, and rename newTable 'oldTable'
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |