Questions tagged [erd]

Entity Relationship Diagram (ERD) or Entity Relationship Model is a visual representation of the organization of data within databases or information systems

An Entity Relationship Diagram (ERD) or Entity Relationship Model is a graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of data within databases or information systems.

ERDs can be used to depict two different kinds of models that are closely related, but different in intent. One kind is an analysis model of the subject matter. This model breaks the subject matter down into entities and relationships among entities. Subject matter entities are just subject matter objects by a different name, except that in data analysis, we aren't trying to model the behavior of these objects or entities. Values to be stored in the database can be grouped into attributes, and attributes can be connected to entities and relationships that the attributes describe. This is the ER model as originally developed, and the intent is to describe the problem, not the solution.

Another kind of ERDs is a depiction of the table design of a relational model. This relational model will be eventually fleshed out with physical details, finally resulting in a construction plan for the database itself. While table design is very closely related to ER modeling, it isn't exactly the same thing. for example, normalization is relevant to table design, but not to requirements analysis.

While an ERD can be used for either one of these two purposes, it's useful to decide which of the two purposes one is pursuing before starting in on a diagram.

1159 questions
440
votes
9 answers

How to generate an entity-relationship (ER) diagram using Oracle SQL Developer

I want to use Oracle SQL Developer to generate an ER diagram for my DB tables but I am new to Oracle and this tool. What is the process for creating an ER diagram in SQL Developer?
Breezescut
  • 4,501
  • 3
  • 15
  • 4
248
votes
13 answers

How to visualize the relationships between tables of a database schema?

I would like to generate an entity-relationship diagram (ERD) from an existing PostgreSQL database. What is the recommended approach to do this? Are there any built-in tools to do it? Or third-party alternatives?
Badr
  • 10,384
  • 15
  • 70
  • 104
79
votes
2 answers

Django - Model graphic representation (ERD)

I'm searching a way to represent my Django project model graphically. Is there a "native" way to do this kind of ERD (diagram) ? Update following @Etienne instructions Here is an example of how I finally view the PDF representing some models of my…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
62
votes
4 answers

Generate ER Diagram from existing MySQL database, created for CakePHP

For CakePHP application, I created MySQL database. Which tool to be used to create ER Diagram of database? Fields and relations between tables are created in a way cakePHP likes. thank you in advance!
user198003
  • 11,029
  • 28
  • 94
  • 152
52
votes
6 answers

Is ERD considered a kind of UML diagram?

Are Entity Relationship Diagrams(ERD's) considered a type of UML diagram or are they a separate thing?
mts396
  • 818
  • 1
  • 11
  • 15
51
votes
6 answers

Equivalent of ERD for MongoDB?

What would be the equivalent of ERD for a NoSQL database such as MongoDB?
Catalin Braescu
  • 651
  • 1
  • 6
  • 5
44
votes
4 answers

What mysql database tables and relationships would support a Q&A survey with conditional questions?

I'm working on a fairly simple survey system right now. The database schema is going to be simple: a Survey table, in a one-to-many relation with Question table, which is in a one-to-many relation with the Answer table and with the PossibleAnswers…
kender
  • 85,663
  • 26
  • 103
  • 145
42
votes
4 answers

High-quality ERD generator for PostgresQL under Linux?

Background MySQL Workbench can produce appealing and high-quality ERDs such as: Research What PostgreSQL ERD tools are available that meet the requirements? The following are unsuitable: dbVisualizer - Yellow squares. AquaFold - Yellow…
Dave Jarvis
  • 30,436
  • 41
  • 178
  • 315
38
votes
4 answers

Pgadmin III Alternative - Windows

I am looking for an alternative to the free pgAdmin III that works on windows. I basically need it for managing my tables / views / SP / etc. If it did ER diagrams, that is a huge plus, and I like them to make sure all my tables are linking…
Anthony Greco
  • 2,885
  • 4
  • 27
  • 39
38
votes
2 answers

Anyone have an ERD symbols quick reference?

I'm looking for a one-page quick-reference or cheatsheet (preferably in PDF) to the meanings of the various ERD symbols in Crowsfoot/Martin notation. I've done a lot of googling, but have not found a good, concise quick-reference guide, though I'm…
wadesworld
  • 13,535
  • 14
  • 60
  • 93
36
votes
5 answers

How to identify a strong vs weak relationship on ERD?

A dashed line means that the relationship is strong, whereas a solid line means that the relationship is weak. On the following diagram how do we decide that the relationship between the Room and Class entities is strong. Is it because Room entity…
CHEBURASHKA
  • 1,623
  • 11
  • 53
  • 85
30
votes
5 answers

What GOOD tools are available for generating ERD from a SQL Server Database?

I am trying to generate an Entity Relationship Diagram from an existing MS SQLServer 2005 database. What tools are available? Specifically,I am not only interested in ERD's more directly I am looking for a tool to help quickly learning and analysing…
user6288
  • 1,247
  • 1
  • 9
  • 7
28
votes
3 answers

Difference between ER diagram and EER diagram

What is the difference between ERD (Entity relationship diagram) and EERD (enhanced entity relationship diagram)?
shaki mandira
  • 309
  • 2
  • 5
  • 9
28
votes
12 answers

What's a Good Database ERD Tool for Linux?

I've recently switched to Linux on my work machine and, new to the Linux desktop environment, I'd like to find a decent ERD tool for database design. Booting back into my Windows partition every time I need to create a diagram is going to get…
Rob Wilkerson
  • 40,476
  • 42
  • 137
  • 192
23
votes
5 answers

Database design for a recursive relationship

Consider this case where I'm trying to model a database for a company: Entities: Employees, Managers, Departments. An Employee works in only 1 Department while a Department may have many Employees working in it. A Manager may manage only 1…
Songo
  • 5,618
  • 8
  • 58
  • 96
1
2 3
77 78