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


Groups > comp.lang.python > #62322

Re: Is it more CPU-efficient to read/write config file or read/write sqlite database?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'sufficient': 0.05; 'cache': 0.07; 'granted,': 0.07; 'subject:file': 0.07; "system's": 0.09; '-tkc': 0.16; 'cached': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'play.': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'written': 0.21; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'purely': 0.31; 'allows': 0.31; 'option': 0.32; "can't": 0.35; 'disk': 0.36; 'much.': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'most': 0.60; 'hardware': 0.61; 'complete': 0.62; 'subject:more': 0.64; 'power': 0.76; 'cuts': 0.84; 'received:50.22': 0.84; 'subject:read': 0.84
Date Wed, 18 Dec 2013 12:00:50 -0600
From Tim Chase <python.list@tim.thechases.com>
To python-list@python.org
Subject Re: Is it more CPU-efficient to read/write config file or read/write sqlite database?
In-Reply-To <iln3b99rqvioro188l8d7tivtluhse44mt@4ax.com>
References <CAPTjJmosFOViwKquzDFiPzAd3HaBY3OX3ht4sP5GHhfJJhtmPQ@mail.gmail.com> <20131218103148.GA2728@cskk.homeip.net> <mailman.4344.1387363803.18130.python-list@python.org> <iln3b99rqvioro188l8d7tivtluhse44mt@4ax.com>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: authenticated_id: tim@thechases.com
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.4368.1387389583.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387389583 news.xs4all.nl 2857 [2001:888:2000:d::a6]:36037
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62322

Show key headers only | View raw


On 2013-12-18 09:49, dick wrote:
> Don't forget that most hard disks have an option to cache the write
> data. This is a 'feature' that allows the manufacturers to claim
> better write performance. You can't be sure when the data is written
> to the disk if that option is in play.

However, my understanding is that they have a small on-drive
battery/capacitor that stores sufficient energy for the cached
write(s) to complete in the event the system's power abruptly cuts
off.

Granted, this is purely hearsay, as it's been a long time since I
mucked around with hardware much.

-tkc


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


Thread

Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? Chris Angelico <rosuav@gmail.com> - 2013-12-18 21:50 +1100
  Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? dick <encore1@cox.net> - 2013-12-18 09:49 -0800
    Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? Tim Chase <python.list@tim.thechases.com> - 2013-12-18 12:00 -0600
      Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? dick <encore1@cox.net> - 2013-12-18 15:14 -0800
        Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-18 19:31 -0500
        Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? Chris Angelico <rosuav@gmail.com> - 2013-12-19 11:56 +1100
        Re: Is it more CPU-efficient to read/write config file or read/write sqlite database? Tim Chase <python.list@tim.thechases.com> - 2013-12-18 20:06 -0600

csiph-web