Re: [SQL] index file's growing big
От | Ross J. Reedstrom |
---|---|
Тема | Re: [SQL] index file's growing big |
Дата | |
Msg-id | 20000306120222.A28212@rice.edu обсуждение исходный текст |
Ответ на | Re: [SQL] index file's growing big (Karl Denninger <karl@Denninger.Net>) |
Список | pgsql-sql |
On Mon, Mar 06, 2000 at 10:46:19AM -0600, Karl Denninger wrote: > Uh, why not just "vacuum" the table? > > You want to do this periodically anyway, as Postgres does not re-use TABLE > entries either, and the table file itself will grow without bound if you > don't do this once in a while. > > Further, if the tables are large you want to use "vacuum analyze" to reorder > the indices in a fashion that makes queries more efficient. > Well, with a recent version, that will help keep the index from growing as fast, but it will still grow. That's the point of my garbled description. However, if Zoltan is _not_ vacuuming regularly, that's a problem as well. If he wasn't, though, I'd have expected him to complain about the size of the table file, not the index file. Ross -- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
В списке pgsql-sql по дате отправления: