Re: swap storm created by 8.2.3
От | Ron Johnson |
---|---|
Тема | Re: swap storm created by 8.2.3 |
Дата | |
Msg-id | 46532B22.9090008@cox.net обсуждение исходный текст |
Ответ на | swap storm created by 8.2.3 (Joseph Shraibman <jks@selectacast.net>) |
Список | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/22/07 12:17, Joseph Shraibman wrote: > I'm running: > > PostgreSQL 8.2.3 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) > 3.4.6 20060404 (Red Hat 3.4.6-3) > > My memory settings are: > > work_mem = 64MB > shared_buffers = 128MB > temp_buffers = 32MB > > I ran a query that was "SELECT field, count(*) INTO TEMP temptable" and > it grew to be 10gig (as reported by top) and brought the whole machine > to its knees. How do I keep this from happening again? It looks to me as if TEMP tables are in-memory structures, not file-backed objects like "regular" tables. - -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGUysiS9HxQb37XmcRAo06AJ4k2i7Q1GN1digKbcYoZYuZv/E0SwCg4zN5 ENSWo9fvXwTJWKatOGb/xpY= =WAvF -----END PGP SIGNATURE-----
В списке pgsql-general по дате отправления: