ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] libqscintilla2-qt3 и python-module-qt
Date: Wed, 17 Dec 2008 09:46:20 +0200
Message-ID: <20081217074619.GA21535@dad.imath.kiev.ua> (raw)
In-Reply-To: <20081217051232.GH21286@altlinux.org>

On Wed, Dec 17, 2008 at 08:12:32AM +0300, Alexey Tourbin wrote:
> On Tue, Dec 16, 2008 at 11:01:21PM +0200, Igor Vlasenko wrote:
> > А такой случай, кстати, в тестах rpm-filesystem-conflict-*
> > я не предусмотрел (symlink vs file hierarchy).
> 
> > Написал запрос, но боюсь, в виде теста он оформлен не
> > будет - слишком долго выполняется...
> 
> На сложных джойнах (с гигабайтными таблицами) sqlite3 не тянет,
> даже при индексах и tmpfs.  Я с этим экспериментировал.

да, не дождался :)
$ time sqlite3 .repocop/db/rpm.db < symlink-vs-file-hierarchy.sql
SQL error near line 3: interrupted
sqlite3 .repocop/db/rpm.db < symlink-vs-file-hierarchy.sql  31854,39s user 3362,64s system 99% cpu 9:47:07,10 total

> Вы быстро поймете, что реализовать такой тест в общем виде очень сложно.
> Но стоит попробовать!  Во всяком случае, нужно наборосать модель данных.
> 
> (Наверное, нужно учитывать "промежуточные каталоги", которые создает
> пакет сам по себе.)

Нет таких запросов, которые не оптимизировали бы большевики!

Я так и сделаю, только вот кoгда найду время.
Сосчитаю отдельно таблицу промежуточных каталогов,
для экономии места вычту оттуда filesystem и каталоги из
/usr/lib/rpm/*-files.req.list

По такой таблице уже будет index join.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



  reply	other threads:[~2008-12-17  7:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 19:14 [devel] A: python-module-qt/python-module-PyQt4 Dmitry V. Levin
2008-12-16 19:23 ` Evgeny Sinelnikov
2008-12-16 19:26   ` Dmitry V. Levin
2008-12-16 19:33     ` [devel] python-module-dbus %setup_python_module Dmitry V. Levin
2008-12-16 19:52 ` [devel] libqscintilla2-qt3 и python-module-qt Ivan A. Melnikov
2008-12-16 20:12   ` [devel] libqscintilla2-qt3-devel Dmitry V. Levin
2008-12-16 20:36     ` Boris Savelev
2008-12-16 20:46       ` Dmitry V. Levin
2008-12-16 21:01   ` [devel] libqscintilla2-qt3 и python-module-qt Igor Vlasenko
2008-12-17  5:12     ` Alexey Tourbin
2008-12-17  7:46       ` Igor Vlasenko [this message]
2008-12-17  8:02         ` Alexey Tourbin
2008-12-17  8:23           ` Igor Vlasenko
2008-12-16 19:54 ` [devel] A: python-module-qt/python-module-PyQt4 Mikhail A. Pokidko
2008-12-16 20:31   ` [devel] A: python-module-dbus/rpm-build-python Dmitry V. Levin
2008-12-20 12:15   ` [devel] A: python-module-qt Dmitry V. Levin
2008-12-20 16:21     ` Ivan A. Melnikov
2008-12-22  0:37       ` Dmitry V. Levin

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=20081217074619.GA21535@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git