Re: SELECT INTO large FKyed table is slow
От
Mario Splivalo
Тема
Re: SELECT INTO large FKyed table is slow
Дата
Msg-id
4CF75A98.3080709@megafon.hr
Ответ на
Re: SELECT INTO large FKyed table is slow (Pierre C)
Список
Дерево обсуждения
SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Joshua D. Drake" <jd@commandprompt.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow Mladen Gogala <mladen.gogala@vmsinfo.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow Mladen Gogala <mladen.gogala@vmsinfo.com>
Re: SELECT INTO large FKyed table is slow Kenneth Marshall <ktm@rice.edu>
Re: SELECT INTO large FKyed table is slow Mladen Gogala <mladen.gogala@vmsinfo.com>
Re: SELECT INTO large FKyed table is slow "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SELECT INTO large FKyed table is slow Mladen Gogala <mladen.gogala@vmsinfo.com>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: SELECT INTO large FKyed table is slow Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow Robert Haas <robertmhaas@gmail.com>
Re: SELECT INTO large FKyed table is slow Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: SELECT INTO large FKyed table is slow Mladen Gogala <mladen.gogala@vmsinfo.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
Re: SELECT INTO large FKyed table is slow "Pierre C" <lists@peufeu.com>
Re: SELECT INTO large FKyed table is slow Mario Splivalo <mario.splivalo@megafon.hr>
On 12/01/2010 09:43 AM, Pierre C wrote: > > Note that in both cases postgres reports that the FK checks take 92-120 > milliseconds... which is a normal time for about 4000 rows. > Inserting 4000 lines with just a few fields like you got should take > quite much less than 1 s... > > Where the rest of the time goes, I have no idea. Disk thrashing ? Locks > ? Gremlins ? > > - try it on a fresh copy of all your tables (CREATE TABLE, INSERT INTO > SELECT) > - try to put the WAL on a separate physical disk (or do a check with > fsync=off) > - try it on another computer > - try it on another harddisk > - run oprofile on a debug compile of postgres > - it could even be the process title updates (I don't think so but...) > - try a ramdisk tablespace I'm allready running it with fsync=off. The funny thing is, as I add new realm it runs fine until the history table grows around 5M rows. After that the slowdown is huge. I'm trying this on new hardware this weekend, I'll post here the results. Mario
В списке pgsql-performance по дате отправления