From: Vladimir Lettiev <thecrux@gmail.com>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Выбор СУБД
Date: Sat, 08 Apr 2006 19:24:38 +0400
Message-ID: <4437D5B6.1060109@gmail.com> (raw)
In-Reply-To: <20060408221109.3a97d447.taf@altlinux.ru>
Alexei Takaseev пишет:
> On Sat, 08 Apr 2006 17:23:04 +0400 Vladimir Lettiev wrote:
>
>> Ivan Fedorov пишет:
>>> Vladimir Lettiev пишет:
>>>> Может ли кто-нибудь посоветовать что-нибудь ещё для рассмотрения
>>> или как > улучшить показатели, рассмотренных выше СУБД.
>>>
>>> Ну например можно делать вставки блоками:
>> ...
>>> Это даст неплохой прирост производительности. Также в постгрессе
>>> много настроек, которые надо подбирать исходя из задач и
>>> конфигруации машины.
>> Спасибо, попробую проверить эффективность блочной ставки.
>
> По скорости записи все же PG будет всегда менее шустрым. В виду того,
> что в PG приложены все усилия на надежное хранение данных, когда
> делается множество операций, гарантирующих помещение данных на носители
> из памяти.
Да, вы правы.
Только что поставил эксперимент на домашнем компе с блочной записью.
Исходные соотношения (1 запись в 1 запрос):
MySQL: 2020 зап/сек
PgSQL: 930 зап/сек
Блочная запись (32768 записей в 1 запрос):
MySQL: 37427 (!) зап/сек
PgSQL: 3610 зап/сек
Выводы очевидны...
--
WBR, Vladimir Lettiev aka crux [theCrux at gmail dot com]
next prev parent reply other threads:[~2006-04-08 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-08 11:56 Vladimir Lettiev
2006-04-08 11:12 ` Ivan Fedorov
2006-04-08 13:23 ` Vladimir Lettiev
2006-04-08 13:11 ` Alexei Takaseev
2006-04-08 15:24 ` Vladimir Lettiev [this message]
2006-04-08 14:47 ` Alexei Takaseev
2006-04-10 8:08 ` Alex Gorbachenko
2006-04-09 14:39 ` Pyatnitskich Evgeniy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4437D5B6.1060109@gmail.com \
--to=thecrux@gmail.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git