Re: normalization

2010-06-15 Thread Peter Brawley
can u please tell me , 5NF with example, There's one in http://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch01.html PB - On 6/14/2010 10:51 PM, bharani kumar wrote: Frankly speaking , Am looking very simple example for 5NF , Even i looked the lot of site , in most of the site t

normalization

2010-06-14 Thread bharani kumar
Frankly speaking , Am looking very simple example for 5NF , Even i looked the lot of site , in most of the site they given clear information upto 3NF , But can u please tell me , 5NF with example, Regards Bharanikumar

Re: Normalization vs. Performance

2008-08-29 Thread Arthur Fuller
Yours is the classic case of the distinction between OLTP and OLAP, and in my opinion you are doing it exactly right. For analysis purposes, de-normalization is a good thing because you eliminate the joins and increase performance, but even more important, you don't slow down the data-

RE: Normalization vs. Performance

2008-08-29 Thread Jerry Schwartz
>-Original Message- >From: Kevin Hunter [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 28, 2008 10:59 PM >To: John Smith >Cc: MySQL General List >Subject: Re: Normalization vs. Performance > >At 2:11pm -0400 on Tue, 26 Aug 2008, John Smith wrote: >> So

Re: Normalization vs. Performance

2008-08-29 Thread Martijn Tonies
> > So how bad is this? The mentioned query will be the query which is used > > the most in my application (yes, it is going to be a forum). > > Should I break normalization and save the date of the root in each node row? > > My recommendation is no. Normalization is a G

Re: Normalization vs. Performance

2008-08-28 Thread Kevin Hunter
At 2:11pm -0400 on Tue, 26 Aug 2008, John Smith wrote: > So how bad is this? The mentioned query will be the query which is used > the most in my application (yes, it is going to be a forum). > Should I break normalization and save the date of the root in each node row? My recommendat

Normalization vs. Performance

2008-08-26 Thread John Smith
e than one table, indexes no longer work and filesort is used. So how bad is this? The mentioned query will be the query which is used the most in my application (yes, it is going to be a forum). Should I break normalization and save the date of the root in each node row? Greets, John -- MyS

Normalization / Foreign Key Question

2008-07-14 Thread Ben A. Hilleli
Hello, A bit embarrassed, I have been away from the databasing side of system development for quite a while so am a little rusty. This seems like a simple issue. I have a USER table: userID fName lName address address2 city province country referrerID userID is the unique pr

RE: Joins versus Grouping/Indexing: Normalization Excessive?

2007-04-03 Thread Jerry Schwartz
: Tuesday, April 03, 2007 12:15 AM > To: mysql@lists.mysql.com > Subject: Joins versus Grouping/Indexing: Normalization Excessive? > > So I'm currently designing a database for a web site and > intra net for my > campuses student radio. Since I'm not getting paid for this >

Re: Joins versus Grouping/Indexing: Normalization Excessive?

2007-04-02 Thread Micah Stevens
I think you're approaching this from the wrong angle. You'll want to put the data at the highest level at which it changes. i.e. If every song on an album is always the same year, put it at the album level, however, if it changes from song to song on a particular album, then you want it at the

Joins versus Grouping/Indexing: Normalization Excessive?

2007-04-02 Thread Daniel Cousineau
So I'm currently designing a database for a web site and intra net for my campuses student radio. Since I'm not getting paid for this and I'm doing this in my free time I kinda want to take my time and have the system setup as "perfectly" as any one college student can. I'm currently debating on

Re: Normalization question

2005-12-10 Thread Rod Heyd
Thanks for you responses! This list has proven to be for useful to pick pick the brains of other DBA's. I think we are probably going to go the route of splitting the different pieces of data into seperate columns, while keeping the original product_id, since we have a lot of third party applicat

Re: Normalization question

2005-12-09 Thread Michael Stassen
Rod Heyd wrote: Hi Everyone, I've got a little debate that maybe you can all help me settle. I have three tables that I need to join, but there are performance problems with the joins due to some misunderstandings of my predecessor about what's needed to join the tables efficiently. Here's the

Re: Normalization question

2005-12-09 Thread SGreen
that we are going to use to identify the data > segments and distribute them to our consumers. From a database stand point, > the only requirement is that the data_id be unique. It could be anything as > far as the database is concerned, as long as the data_id remains unique, it > doe

Normalization question

2005-12-09 Thread Rod Heyd
Hi Everyone, I've got a little debate that maybe you can all help me settle. I have three tables that I need to join, but there are performance problems with the joins due to some misunderstandings of my predecessor about what's needed to join the tables efficiently. Here's the setup. t1 has a

Re: Easy normalization how-to?

2004-07-06 Thread John Hicks
I was hoping someone could improve on my suggestion. But, not seeing any further replies, I guess my solution must be optimal (troll, troll :) --John On Saturday 03 July 2004 03:34 am, John Hicks wrote: > On Friday 02 July 2004 11:40 pm, Your Name wrote: > > ... I now realize the importance of

Re: Easy normalization how-to?

2004-07-03 Thread John Hicks
On Friday 02 July 2004 11:40 pm, Your Name wrote: > ... I now realize the importance of normalizing my > data, >... what [is] the easy way... of getting > it done now that I already have a database set up. > > Suppose I have a table "books", consisting of "id", > "title", and "publisher"; the "pu

Easy normalization how-to?

2004-07-02 Thread Your Name
I'm learning more about SQL all the time--I'm new to things now but I'm trying to read. I now realize the importance of normalizing my data, but what I can't figure out is what the easy way is of getting it done now that I already have a database set up. Suppose I have a table "books", consisting

Re: Normalization sql

2002-10-21 Thread Michael T. Babcock
John Chang wrote: What is the Title.ID and Actor.ID? Will this work if someone is doing a text search on a webpage? The results will go to another page. Does the below go to the first page or the results page? You need a good SQL book and a good CGI/web programming book. The .ID's are usua

Re: normalization question

2002-10-21 Thread Richard Clarke
CTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 21, 2002 9:17 PM Subject: RE: normalization question Hi! I don't understand problem. Car can belong to only one Dealer, and one Dealer can have many Cars, therefore DealerID should be in Car table. Also Car can

normalization question

2002-10-21 Thread speters
I'm working on a design for a database that is leaving me with some normalization issues that I havent had to deal with before. For example, if im trying to store information about car dealerships I end up with the following situation: I want to store the cars in stock at each physical deale

RE: normalization question

2002-10-21 Thread Artem Koltsov
PROTECTED] Subject: normalization question I'm working on a design for a database that is leaving me with some normalization issues that I havent had to deal with before. For example, if im trying to store information about car dealerships I end up with the following situation: I want to st

Re: Normalization sql

2002-10-20 Thread John Chang
What is the Title.ID and Actor.ID? Will this work if someone is doing a text search on a webpage? The results will go to another page. Does the below go to the first page or the results page? Thank you. At 12:20 PM 10/16/2002 -0400, you wrote: John Chang wrote: Studios (StudioName, Studi

Re: Normalization

2002-10-16 Thread Michael T. Babcock
Arthur Fuller wrote: >>Ooops! You just threw a new wrench into the works! "A video may have >>multiple titles." In this case you must distinguish the original from its >>presumably foreign-translations (or whatever). In other words, you might >>store the master as "La Cage aux Folles" and the En

Re: Normalization sql

2002-10-16 Thread Arthur Fuller
Message - From: "John Chang" <[EMAIL PROTECTED]> To: "Arthur Fuller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 7:26 PM Subject: Re: Normalization sql > > >Studios (StudioName, StudioID) > >Genres (GenreName, GenreID)

Re: Normalization sql

2002-10-16 Thread Michael T. Babcock
John Chang wrote: > >> Studios (StudioName, StudioID) >> Genres (GenreName, GenreID) >> Titles (VideoTitle, Details, StudioID, GenreID, BitRateID, TitleID) >> Actors (F_Name, L_Name, ActorID) >> Stars (TitleID, ActorID) > > TitleGenres (TitleID, GenreID) > > So, if I just use theses tables I will

Re: Normalization sql

2002-10-14 Thread John Chang
e >star), all the titles in a genre and even compound queries such as all the >MGM thrillers featuring actor XYZ. > >hth, >Arthur > >----- Original Message - >From: "John Chang" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, Octob

Re: Normalization sql

2002-10-14 Thread John Chang
s >done in what studio etc. ? > >Normalization is a representation technique to >avoid storing *redundant* information. But first >this information has to be there. So first make the >design complete (in an unnormalized way, which fits >the problem), then in a *second* step norma

Re: Normalization sql

2002-10-14 Thread Michael Zimmermann
Hi John, your design is normalized, but incomplete and unconnected. Where do you put the information which actor was playing in what title, which title was done in what studio etc. ? Normalization is a representation technique to avoid storing *redundant* information. But first this

Re: Normalization sql

2002-10-14 Thread Arthur Fuller
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 8:49 AM Subject: Normalization sql > > I've read a bunch about normalization in MySQL and still can't do it very > well. What I want to normalize is videos (Title, Studios, Actors, Genre, >

Normalization sql

2002-10-14 Thread John Chang
I've read a bunch about normalization in MySQL and still can't do it very well. What I want to normalize is videos (Title, Studios, Actors, Genre, &bitrate). These are the tables and fields I think it needs. Is this normalized? Thank you. Table (Fields) Title (VideoTitle, detai

Re: NEWBIE: normalization question/help/lost :)

2002-09-09 Thread Brent Baisley
Any experienced database person will probably tell you that reaching fifth normal form usually makes your database cumbersome to work with. Though in theory is the best setup. It looks like you are trying to create a cascading structure, which I think is one of the harder database designs to gr

Re: NEWBIE: normalization question/help/lost :)

2002-09-08 Thread Amer Neely
> After a year of doing database programming, try to actually normalize. Read > a couple online tutorials (phpbuilder, devshed) and the book mysql 2nd > edition and it just can't seem to stick. Understanding the concept/theory > but freeze up every time I try to implement. Trying to go from 0NF

NEWBIE: normalization question/help/lost :)

2002-09-07 Thread Thoenen, Peter Mr. EPS
Hello, After a year of doing database programming, try to actually normalize. Read a couple online tutorials (phpbuilder, devshed) and the book mysql 2nd edition and it just can't seem to stick. Understanding the concept/theory but freeze up every time I try to implement. Trying to go from 0NF

data normalization question

2002-09-05 Thread speters
Does anyone have or know of any good books that discuss or teach normal forms in great detail. I'd like to say that im pretty good with 2NF, i'm looking for info on more advanced normalizations. A specific normalization question: if i have three tables, call them A, B, C is it ever

Re: More normalization

2002-06-06 Thread Rob
es including the type field in the join. This approach is by far the simplest and often provides the best speed in relational databases, particularly when you only care about joins to the superclass, however you could potentially waste a lot of storage and it is certainly far from being 'nor

More normalization

2002-06-05 Thread Craig Berry
Here's a design question similar to the current threads on normalization issues. Suppose I have three types of contact information I want to keep track of: Postal address, phone, and email. The design is that any given entity that has contacts info associated may have zero or more of eac

RE: Normalization question

2002-06-04 Thread Cal Evans
June 04, 2002 6:38 PM To: [EMAIL PROTECTED] Subject: RE: Normalization question I have a question about the setup of the tables in my database. In my members table, I store a lot of info about demographics, such as marital status, income, etc. The way I'm doing this is the enum type. Is it bett

RE: Normalization question

2002-06-04 Thread Daren Cotter
t;correct" way to do this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 6:24 PM To: Daren Cotter Subject: Re: Normalization question Your message cannot be posted because it appears to be either spam or simply off topic to

Normalization and Retrieval

2002-04-16 Thread Xavier Prélat
I want to know what kind of normalization to use to solve and retrieve data for this SQL based application: Following descritpion is the way I can do it. I want to store data about contacts : -> table Contacts(ID,Name,EMail) and data about list of users : -> table Lists(

Re: Normalization advice needed

2001-12-27 Thread Bob Hall
on, and if the column data types were not carefully chosen, then the data will need a lot of cleaning before you start normalizing. The best method for normalization is the only method. Apply the normal forms in order. First normal form is better than no normalization. Second normal form is bett

Normalization advice needed

2001-12-27 Thread Gawain
I've got a 3500 record database cataloging an art collection. The data was originally assembled (by others) in Access. I've imported it into MySQL to make it available on the artist's web site: . The data was formatted in Access as one big table. About 800 of the

Re: Auto-normalization, and mysql.host table

2001-11-27 Thread Benjamin Pflugmann
Hi. On Tue, Nov 20, 2001 at 04:59:38PM -0500, [EMAIL PROTECTED] wrote: [...] > I'd like to normalize these fields by having a separate 'filenames' > table with an integer key that's used in the 'transfers' table. But > since I don't know what all the files will be until I load the > table, I hav

Auto-normalization, and mysql.host table

2001-11-20 Thread bsashford
I've been using mysql on a single-box install for data analysis for 6 months or so to great success. I've recently had to expand this to a several-machine configuration as part of a big growth in the amount of data that's being processed, of which mysql is just a part. I've run into two problems

Re: Data Normalization Paradox

2001-10-31 Thread Jeremy Zawodny
On Sun, Oct 28, 2001 at 03:49:12PM -0800, [EMAIL PROTECTED] wrote: > > Frankly, I don't understand how doing this fixes the problem, > because now instead of the company name repeating (a string), the > company name id (an int)repeats. Could someone explain (maybe > convince is a better word) how

RE: Data Normalization Paradox

2001-10-28 Thread Sander Pilon
> -Original Message- > From: Ryan Fox [mailto:[EMAIL PROTECTED]] > Sent: 29 October 2001 00:55 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Data Normalization Paradox > > > > Among other criteria, it mentions that in first order normalization

Re: Data Normalization Paradox

2001-10-28 Thread Ryan Fox
> Among other criteria, it mentions that in first order normalization "No repeating groups of data are allowed". It then gives a table with 3 rows of data, and shows that one of the columns (company name) has the same entry in two of the rows. It says "this table is not

Data Normalization Paradox

2001-10-28 Thread kurt
Hi, This a question for the programmers out there with proper style/form. I'm about to start my first real PHP/MySQL project, and since I want to do it correctly, I got a book to help me. It gives some basic information on RDBM's and mentions an organizational process called nor

RE: normalization question

2001-08-20 Thread Rene Churchill
l [mailto:[EMAIL PROTECTED]] >Sent: Sunday, August 19, 2001 7:34 AM >To: Daren Cotter >Cc: [EMAIL PROTECTED] >Subject: Re: normalization question > > > >Hi Daren, > >How long do you need to store this information? The normalized table >that you describe is simple and e

RE: normalization question

2001-08-19 Thread Daren Cotter
aren Cotter CEO, InboxDollars.com http://www.inboxdollars.com (507) 382-0435 -Original Message- From: Rene Churchill [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 19, 2001 7:34 AM To: Daren Cotter Cc: [EMAIL PROTECTED] Subject: Re: normalization question Hi Daren, How long do you need to store t

Re: normalization question

2001-08-19 Thread Rene Churchill
gt; > They read 298, the read_array is: > > 288||298 > > Using this method (which is far from normalization, I know), I have been > able to accomplish the two major things I need to be able to accomplish: > > 1) Insure that no member can get credit for reading the same mailing tw

normalization question

2001-08-18 Thread Daren Cotter
email 288, their read array is: 288 They read 298, the read_array is: 288||298 Using this method (which is far from normalization, I know), I have been able to accomplish the two major things I need to be able to accomplish: 1) Insure that no member can get credit for reading the same mailing tw