Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58661
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'column': 0.07; "subject:' ": 0.07; 'table.': 0.07; 'logic': 0.09; 'record.': 0.09; '1:09': 0.16; 'consciously': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Adding': 0.16; 'subject:download': 0.16; 'wrote:': 0.18; 'library': 0.18; 'memory': 0.22; 'possibly': 0.26; 'tables': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'piece': 0.31; 'fri,': 0.33; 'table': 0.34; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'too': 0.37; 'being': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'new': 0.61; 'times': 0.62; "you'll": 0.62; 'information': 0.63; 'skip:n 10': 0.64; 'pick': 0.64; 'foreign': 0.74; 'idiot': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=l3nnmKQLnlbdQGAIpNmwXgFG1sA+U4w6goSGTn2ceuk=; b=t52yigzmTPvpivTpDloVqkAPGRO1S95EtJMclIjXbVKxIB8fskEVItnRS0P1ZzLe7w OHbfbmnkL5FDyCub0aQCf5j06zL7fus57i4vsknzScZ4fOto2jywCSxHV2ccm9xbferY mqQsffFja8ovZaaBu3Id7uhFsVi4xoWrvPyUiR8JPS+w9TcV95q8yOjCyre5nEV/4eaI hzcqxdKF5DbKG9NQOy/KD+nribwElL3/LIxmV8Cy4yD6k2bBux8cjQ0Tdpi+JfZ8tsBG TarudBcNUH0ATC7eMWX74fKqcDuvutH+TRFf1OexAtmhKLKVvLf+TVXxwdbpgTzWNXtH tX9Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.164.136 with SMTP id yq8mr9898342pab.67.1383835034765; Thu, 07 Nov 2013 06:37:14 -0800 (PST) |
| In-Reply-To | <l5g6uq$llt$1@dont-email.me> |
| References | <l5cr5p$ihv$1@dont-email.me> <l5e01f$ala$2@dont-email.me> <l5g52n$aq5$1@dont-email.me> <mailman.2127.1383832372.18130.python-list@python.org> <l5g6uq$llt$1@dont-email.me> |
| Date | Fri, 8 Nov 2013 01:37:14 +1100 |
| Subject | Re: Adding 'download' column to existing 'visitors' table (as requested) |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-7 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2130.1383835037.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1383835037 news.xs4all.nl 15922 [2001:888:2000:d::a6]:53495 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:58661 |
Show key headers only | View raw
On Fri, Nov 8, 2013 at 1:09 AM, Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> wrote: > Why create a whole new 'downloads' table and associate it with the with a > foreign key with the 'visitors' table you idiot when you can just have an > extra column at the end of the current 'visitor's table? > > Both 'downloader' and 'downlaod' is associated by being in the same record. > > By your logic every time we want to store an extra piece of information we > have to create an extra database table. > > Too much hussle for no good reason.... Go to your local library and pick up a book on database design - or possibly you'll find it on Wikipedia. There ARE good reasons for the "hassle" of normalization. There are times when you consciously denormalize (I often read tables into memory for a (read-only) cache, and denormalize aggressively), but the rule of thumb is: It's normal to normalize. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Adding 'download' column to existing 'visitors' table (as requested) Nick the Gr33k <nikos.gr33k@gmail.com> - 2013-11-06 09:30 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Nick the Gr33k <nikos.gr33k@gmail.com> - 2013-11-06 09:38 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Nick the Gr33k <nikos.gr33k@gmail.com> - 2013-11-06 10:28 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-06 17:59 +0000
Re: Adding 'download' column to existing 'visitors' table (as requested) rusi <rustompmody@gmail.com> - 2013-11-06 10:09 -0800
Re: Adding 'download' column to existing 'visitors' table (as requested) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-06 18:18 +0000
Re: Adding 'download' column to existing 'visitors' table (as requested) Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-07 15:37 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-07 08:52 -0500
Re: Adding 'download' column to existing 'visitors' table (as requested) Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-07 16:09 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Chris Angelico <rosuav@gmail.com> - 2013-11-08 01:37 +1100
Re: Adding 'download' column to existing 'visitors' table (as requested) Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-07 10:11 -0500
Re: Adding 'download' column to existing 'visitors' table (as requested) Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-07 19:52 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Neil Cerutti <neilc@norwich.edu> - 2013-11-07 18:08 +0000
Re: Adding 'download' column to existing 'visitors' table (as requested) Νίκος Αλεξόπουλος <nikos.gr33k@gmail.com> - 2013-11-07 20:21 +0200
Re: Adding 'download' column to existing 'visitors' table (as requested) Grant Edwards <invalid@invalid.invalid> - 2013-11-07 15:06 +0000
Re: Adding 'download' column to existing 'visitors' table (as requested) Piet van Oostrum <piet@vanoostrum.org> - 2013-11-07 09:14 -0400
Re: Adding 'download' column to existing 'visitors' table (as requested) Sibylle Koczian <nulla.epistola@web.de> - 2013-11-07 17:03 +0100
Re: Adding 'download' column to existing 'visitors' table (as requested) Piet van Oostrum <piet@vanoostrum.org> - 2013-11-09 00:27 -0400
Re: Adding 'download' column to existing 'visitors' table (as requested) Robert Kern <robert.kern@gmail.com> - 2013-11-09 08:45 +0000
Re: Adding 'download' column to existing 'visitors' table (as requested) Tim Chase <python.list@tim.thechases.com> - 2013-11-07 10:54 -0600
csiph-web