Em 11 de fevereiro de 2016 16:22, Neto pr <[email protected]> escreveu:
> Mas sendo um ambiente Hibrido (hdd e ssd) se eu mudar o parametro
> random_page_cost para 1 (leituras aleatorias = sequencial), então para
> os HDD o postgreSQL irá achar que o "custo" da leitura sequencial e
> aleatória sao iguais, o que para os HDD estara incorreto, irá
> acontecer isso, correto??.  Esse parametro é para o banco inteiro ou
> da para setar por tablespace ou segmento ???
>

Conforme documentação [1]:

---
random_page_cost (floating point)

Sets the planner's estimate of the cost of a non-sequentially-fetched
disk page. The default is 4.0. This value can be overridden for tables
and indexes in a particular tablespace by setting the tablespace
parameter of the same name (see ALTER TABLESPACE).
[... corte ...]
.---


[1] http://www.postgresql.org/docs/current/static/runtime-config-query.html
-- 
Dickson S. Guedes
mail/xmpp: [email protected] - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a