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


Groups > comp.lang.python > #21990

Re: Fast file data retrieval?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'mrab': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:file': 0.13; 'crowd,': 0.16; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'sqlite3': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'appears': 0.19; 'header:In-Reply-To:1': 0.22; 'stefan': 0.24; 'subject:data': 0.25; "i'm": 0.28; 'module.': 0.29; 'subject:?': 0.31; 'sufficient': 0.32; 'header:User-Agent:1': 0.33; 'agree': 0.33; 'header:X-Complaints-To:1': 0.34; 'received:84': 0.34; 'latter': 0.34; 'probably': 0.35; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'some': 0.38; 'put': 0.40; 'to:addr:python.org': 0.40; 'here': 0.64; 'unnecessary': 0.73; 'database.': 0.74; 'everything,': 0.84; 'subject:Fast': 0.84; 'complexity': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: Fast file data retrieval?
Date Wed, 21 Mar 2012 17:32:33 +0100
References <4F5E50F6.9070309@it.uu.se> <mailman.592.1331584145.3037.python-list@python.org> <slrnjlvcdk.1ls.grahn+nntp@frailea.sa.invalid>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host dslb-084-056-030-022.pools.arcor-ip.net
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
In-Reply-To <slrnjlvcdk.1ls.grahn+nntp@frailea.sa.invalid>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.863.1332347577.3037.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332347577 news.xs4all.nl 6870 [2001:888:2000:d::a6]:34053
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21990

Show key headers only | View raw


Jorgen Grahn, 13.03.2012 21:44:
> On Mon, 2012-03-12, MRAB wrote:
>> Probably the best solution is to put it into a database. Have a look at
>> the sqlite3 module.
> 
> Some people like to use databases for everything, others never use
> them. I'm in the latter crowd, so to me this sounds as overkill

Well, there's databases and databases. I agree that the complexity of a SQL
database is likely unnecessary here since a key-value database (any of the
dbm modules) appears to be sufficient from what the OP wrote.

Stefan

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


Thread

Re: Fast file data retrieval? MRAB <python@mrabarnett.plus.com> - 2012-03-12 20:31 +0000
  Re: Fast file data retrieval? Jon Clements <joncle@googlemail.com> - 2012-03-12 20:38 -0700
  Re: Fast file data retrieval? Jon Clements <joncle@googlemail.com> - 2012-03-12 20:38 -0700
  Re: Fast file data retrieval? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-13 20:44 +0000
    Re: Fast file data retrieval? Stefan Behnel <stefan_ml@behnel.de> - 2012-03-21 17:32 +0100

csiph-web