Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37100

Re: Vote tallying...

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'clause': 0.07; 'column': 0.07; 'interpreted': 0.07; 'postgresql': 0.07; '"if': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'throw': 0.09; 'applies': 0.15; 'comma': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'scare': 0.16; 'spec,': 0.16; 'tables,': 0.16; 'wrote:': 0.17; 'comparing': 0.17; 'instance,': 0.17; 'jan': 0.18; 'tim': 0.18; 'mostly': 0.20; 'error.': 0.21; 'idea': 0.24; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'possible,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chase': 0.29; 'omitted': 0.29; 'received:209.85.220.174': 0.29; 'install': 0.29; 'point': 0.31; 'running': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'especially': 0.35; 'received:209.85.220': 0.35; 'software,': 0.35; 'table': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'does': 0.37; '(for': 0.37; 'ones': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'perform': 0.38; 'some': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'think': 0.40; 'most': 0.61; 'subject:...': 0.63; 'more': 0.63; '20,': 0.65; 'treat': 0.65; 'soon': 0.70; '2013': 0.84; 'serious.': 0.84; 'insane': 0.93; 'relating': 0.93; 'serious': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=3+USO+YUaQewjPhIScPeSM5YrNv4hex69+dDNMODLmM=; b=VvwQ25AnwovpfPwqmYnicuWLtKAQ7aOaEkrzlfv+HY+DY1Vs/citwmQAH2/GQzvubN FRjkbWX0+oel9rupXmYhh5glsMaSQjzMNy/h3YV0d9rl16zcAUQPHOBArve+Q7Hlorfg YLOvb0VS+mayHtq5COnibfYA+9m7VnWKiL8ts4UwxhLFM0dqXKL2CJSToCy3NGdCusM9 SCVvcx03e9cEIbdde0uFXZATxTfVxBITrIYHwn7JcM10yMa9ncjqY4Og9cRwkvRKF7jh bKLfyp060D3rLOQs5Ix/DIQYOLspPPmlrhDIITPsdi//LDNEiqSeWTwFUijXQ0Wnzdfo p8og==
MIME-Version 1.0
X-Received by 10.220.150.136 with SMTP id y8mr14362997vcv.34.1358632053200; Sat, 19 Jan 2013 13:47:33 -0800 (PST)
In-Reply-To <50FADBF9.9000901@tim.thechases.com>
References <50F8906D.9040203@r3dsolutions.com> <846C3A8E860C4344B567D813B63AA51D64BC9424@BL2PRD0610MB349.namprd06.prod.outlook.com> <CAMw+j7+CH2HDhOfxXCuAa339oDVG2rWpVHYERdbMBgtKbnM+Sg@mail.gmail.com> <50F9B73C.8020801@tim.thechases.com> <CANaSqUehyKtW6Ut3w_n2ppYmcvBdLDqoOM21bYSsU+X+nT3gDw@mail.gmail.com> <t1bkf8pqbq1ehdf0199s8r7e4h3no9rtdr@invalid.netcom.com> <50FADBF9.9000901@tim.thechases.com>
Date Sun, 20 Jan 2013 08:47:33 +1100
Subject Re: Vote tallying...
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.701.1358632062.2939.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358632062 news.xs4all.nl 6842 [2001:888:2000:d::a6]:43216
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37100

Show key headers only | View raw


On Sun, Jan 20, 2013 at 4:46 AM, Tim Chase
<python.list@tim.thechases.com> wrote:
> Reading the MySQL gotchas and comparing it to the PostgreSQL gotchas, the
> MySQL ones scare the pants off my inner DBA, while the PostgreSQL ones are
> mostly "if you're running at 6+yr old version of the software, there are
> some peculiar behaviors".
>

Some of them are still current, though they're the least serious. The
requirement for "AS" in column aliasing is, imho, not a serious
problem - according to the SQL spec, an omitted comma is interpreted
as an alias, but PG will throw an error. The point that "SELECT
COUNT(*) FROM table" is slow is simply that MySQL happens to know the
current size of the table and can return it instantly... as soon as
you put a WHERE clause on it, both databases will perform more
comparably. Also, I think that advantage applies only to MyISAM
tables, the default but also the most problematic.

PostgreSQL does have a number of gotchas, mostly relating to
performance (for instance, the default configuration on install is
designed to work on as many systems as possible, which means it'll
perform suboptimally everywhere, and especially will not take
advantage of heaps of RAM). But MySQL has a *lot* more (whose insane
idea was it to treat "database" and "schema" as synonymous??).

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Vote tallying... Chris Angelico <rosuav@gmail.com> - 2013-01-20 08:47 +1100

csiph-web