2010/3/26 mateusgra <[email protected]>: > > Tabelas grandes são armazenadas como múltiplos arquivos de 1 GB conforme: > http://www.postgresql.org/docs/faqs.FAQ_brazilian.html#item4.4 > > Aumentar o tamanho desse arquivo aumenta o desempenho ? > > Onde aumenta o tamnho padrão desse arquivo no postgresql 8.2 ?
A partir da versão 8.4 foi criada a opção --with-segsize: E.4.3.10. Build Options http://www.postgresql.org/docs/current/interactive/release-8-4.html Em http://www.postgresql.org/docs/current/interactive/storage-file-layout.html: "When a table or index exceeds 1 GB, it is divided into gigabyte-sized segments. The first segment's file name is the same as the filenode; subsequent segments are named filenode.1, filenode.2, etc. This arrangement avoids problems on platforms that have file size limitations. (Actually, 1 GB is just the default segment size. The segment size can be adjusted using the configuration option --with-segsize when building PostgreSQL.)" Portanto creio que para a versão 8.2 não deva ser tão simples mas não impossível se você der uma boa mexida no código fonte. Osvaldo _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
