Skip to main content

Questions tagged [normalization]

Normalization refers to transformations which aim to reduce variation of various types of data and thereby allow more consistent processing, searching, sorting, comparison, etc.

-1 votes
3 answers
542 views

NOTE: Please don't respond by telling me that I probably don't understand what I am looking at. You can't possibly know that and it's wrong. Just don't answer if that's all you have to say. I'm ...
JimmyJames's user avatar
  • 31.1k
1 vote
1 answer
150 views

I'm designing a mongo database and I have a dilemma if I should go for normalization. Let's say that there is a database with images and descriptions. Many alternative descriptions can belong to one ...
Karol Borkowski's user avatar
4 votes
2 answers
1k views

In the simplified database schema depicted below, I'm considering denormalizing by adding a short-circuit key (EventId, relation shown in red) on Appointment. One advantage is not needing a join to ...
scotru's user avatar
  • 238
52 votes
6 answers
12k views

I have a database with a 1:m relationship. I have to display a list of parents to the user rapidly on a home screen at startup. The parent shows a single piece of information that is a sum of a ...
tommytucker7182's user avatar
-2 votes
1 answer
104 views

I know that this question has been asked before and is the same or at least almost the same but I just want to know: Is it the only method or is there any other way to do it? I have these tables: ...
My Name Is In Your Heart's user avatar
0 votes
1 answer
677 views

So... Le's say I have 3 tables named: Member Bus AutorizeMember ID Member is referenced to Bus and ID Bus is referenced to AutorizeMember which is also referenced to Member 3 times. Thats is because ...
My Name Is In Your Heart's user avatar
4 votes
5 answers
3k views

What is the normal form of a typical JSON object? We often need to convert JSON objects to some set of tables. Once they are tables, the tables have measurable normal forms based on all the usual ...
James Madison's user avatar
2 votes
3 answers
314 views

Suppose I have this: ID A_Type B_Type C_Type 1 Y N N 2 N Y Y And I "flip" those columns into this: ID Type Value 1 A Y 1 B N 1 C N 2 A N 2 B Y 2 C Y I know this is fine to do. I know it ...
James Madison's user avatar
2 votes
5 answers
973 views

In 1970, Edgar Codd published his landmark paper ‘A Relational Model of Data for Large Shared Data Banks’ where he defined relational databases as well as their normalization to first normal form (1NF)...
Géry Ogam's user avatar
-1 votes
1 answer
75 views

A relation R(A,B,C,D) is given. C and D are equivalent (C is the course ID and D is the course name, one implies the other). C and D are prime attributes. Does that violate the requirement of 1NF ...
jkf's user avatar
  • 137
1 vote
1 answer
144 views

I'm in charge of designing the entire backend for the REST API of an application that works more or less like an online browser game (think OGAME, Travian, and the likes). In this game, players are ...
neirenoir's user avatar
-2 votes
1 answer
75 views

I am working on an app and creating models now. I think this is a basic 1N normalization question but am not sure. Should I break location/address out as a separate table? Let's say I have Parents ...
Pangolin's user avatar
1 vote
1 answer
197 views

We are designing a system, in which we need to store amount of SalesTax applied as well as Tax percentage value. We decided that we will keep tax value in separate table (simplified example): Taxes ...
Maciej Pszczolinski's user avatar
-3 votes
2 answers
191 views

I have these concepts for a database application: Session, Subsession and File A session can have multiple files A session can have multiple subsessions A subsession can have multiple files A session ...
Canol Gökel's user avatar
1 vote
1 answer
1k views

Let's say you're loading a denormalized flat file of purchase transactions that looks like this: | location_name | location_zip | product | product_price | |---------------|--------------|---------|--...
seriestoo2's user avatar

15 30 50 per page
1
2 3 4 5