Re: SELECT INTO large FKyed table is slow
От
Joshua D. Drake
Тема
Re: SELECT INTO large FKyed table is slow
Дата
Msg-id
1291168052.20631.1963.camel@jd-desktop
Ответ на
SELECT INTO large FKyed table is slow (Mario Splivalo)
Список
Дерево обсуждения
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 Sun, 2010-11-28 at 12:46 +0100, Mario Splivalo wrote: > The database for monitoring certain drone statuses is quite simple: > > This is the slow part: > INSERT INTO drones_history (sample_id, drone_id, drone_log_notice, > drone_temperature, drone_pressure) > SELECT * FROM tmpUpdate; > > For 100 rows this takes around 2 seconds. For 1000 rows this takes > around 40 seconds. For 5000 rows this takes around 5 minutes. > For 50k rows this takes around 30 minutes! Now this is where I start lag > because I get new CSV every 10 minutes or so. Have you considered making the foreign key check deferrable? JD -- PostgreSQL.org Major Contributor Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579 Consulting, Training, Support, Custom Development, Engineering http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt
В списке pgsql-performance по дате отправления