2016-08-18 12:23 GMT-03:00 Leandro Guimarães Faria Corcete DUTRA < l...@dutras.org>:
> Le 18 août 2016 09:57:09 GMT-03:00, MIGUEL JOSE DE LIMA < > mig...@inlocsistemas.com.br> a écrit : > >Pessoal, > > > >Pretendo instalar o Postgresql 9.5.4 em um server SUN SPARC T5 e SUN > >SPARC > >T7 ambos com SOLARIS 10 e mais de 500GB de ran > > > >Não sou da área de S.O., mas como vou trabalhar em ambiente de 64bits, > >creio o Postgresql deveria ser de 64 bits. Certo? > > Depende. > > > >Na literatura do Postgresql (Cap. 15, 15.7.6.5) diz: > >"If you do not have a reason to use 64-bit binaries on SPARC, prefer > >the > >32-bit version. The 64-bit operations are slower and 64-bit binaries > >are > >slower than the 32-bit variants. And on other hand, 32-bit code on the > >AMD64 CPU family is not native, and that is why 32-bit code is > >significant > >slower on this CPU family." > > > >Portanto a dúvida: devo usar 64 ou 32bits. > > Se você for usar mais do que a memória endereçável em 32 bits, use 64. Se > não, vide o texto que citaste? > > > > -- > skype:leandro.gfc.dutra?chat Yahoo!: ymsgr:sendIM?lgcdutra > +55 (61) 3546 7191 (Net) gTalk: xmpp:leand...@jabber.org > +55 (61) 9302 2691 (Vivo) ICQ/AIM: aim:GoIM?screenname=61287803 > BRAZIL GMT−3 MSN: msnim:chat?contact=lean...@dutra.fastmail.fm > _______________________________________________ > pgbr-geral mailing list > pgbr-geral@listas.postgresql.org.br > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral Miguel, No site do Postgresql, há uma explicação razoável sobre isto: "shared_buffer acima de 2GB são suportados apenas por sistema de 64-bits. " (FONTE: https://www.postgresql.org/message-id/attachment/23634/postgresql.conf.simple ) Matematicamente, em uma compilação de 32 bits, cada processo está limitado a 4 GB de espaço de endereço, de que (pelo menos no Linux) 1 GB é reservado para o kernel. Então, se você está executando um um Postgresql de 32 bits (UNIX-like operating system) você está limitado a usar no máximo 2GB or 2.5GB (shared_buffer). Precisa de mais do que 4 GB para shared_buffer? Então, considere fortemente a fazer um upgrade para o PostgreSQL 64-bit. (FONTE2: http://rhaas.blogspot.com.br/2011/05/sharedbuffers-on-32-bit-systems.html) É o que a literatura diz. Att. -- Rosana de Oliveira Santos
_______________________________________________ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral