Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
GERENCIANDO
MÚLTIPLAS VERSÕES DO
POSTGRESQL COM PGVM
DICKSON S. GUEDES
@GUEDIZ
MOTIVAÇÃO
DEMONSTRAÇÃO
INSTALAR …
$ pgvm install 9.1
downloading 'http://ftp.postgresql.org/pub/source/v9.1.9/postgresql-9.1.
9.tar.gz', please b...
USAR …
$ pgvm cluster create teste123_pgbr
initializing cluster in '/disco/guedes/guedes/programas/PostgreSQL/pgvm/
cluste...
CONECTAR …
$ pgvm console
connecting to cluster 'teste123_pgbr' on port '5440' ...
Timing is on.
SET
Time: 0,100 ms
psql (...
QUESTÕES?
email/gtalk: guedes@guedesoft.net
twitter: @guediz
youtube: guediz
github: guedes
http://guedesoft.net
http://ww...
Upcoming SlideShare
Loading in …5
×

Gerenciando múltiplas versões do PostgreSQL com pgvm

392 views

Published on

Apresentação feita no PGBR 2013 em Porto Velho, RO.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Gerenciando múltiplas versões do PostgreSQL com pgvm

  1. 1. GERENCIANDO MÚLTIPLAS VERSÕES DO POSTGRESQL COM PGVM DICKSON S. GUEDES @GUEDIZ
  2. 2. MOTIVAÇÃO
  3. 3. DEMONSTRAÇÃO
  4. 4. INSTALAR … $ pgvm install 9.1 downloading 'http://ftp.postgresql.org/pub/source/v9.1.9/postgresql-9.1. 9.tar.gz', please be patient... done. checking 'postgresql-9.1.9.tar.gz' integrity... done. extracting postgresql-9.1.9.tar.gz ... done. configuring PostgreSQL Version: 9.1.9 ... done. compiling ... done. installing ... done.
  5. 5. USAR … $ pgvm cluster create teste123_pgbr initializing cluster in '/disco/guedes/guedes/programas/PostgreSQL/pgvm/ clusters/9.2.4/teste123_pgbr'... ok! $ pgvm cluster start teste123_pgbr starting cluster teste123_pgbr@9.2.4 LOG: database system was shut down at 2013-08-16 10:24:40 BRT LOG: database system is ready to accept connections LOG: autovacuum launcher started
  6. 6. CONECTAR … $ pgvm console connecting to cluster 'teste123_pgbr' on port '5440' ... Timing is on. SET Time: 0,100 ms psql (9.2.4) Type "help" for help. postgres=# l List of databases Name | Owner | Encoding | Collate | Ctype | Access privil eges -----------+--------+----------+------------+------------+-------------- ----- postgres | guedes | UTF8 | pt_BR.utf8 | pt_BR.utf8 | template0 | guedes | UTF8 | pt_BR.utf8 | pt_BR.utf8 | =c/guedes + | | | | | guedes=CTc/gu edes template1 | guedes | UTF8 | pt_BR.utf8 | pt_BR.utf8 | =c/guedes + | | | | | guedes=CTc/gu edes (3 rows)
  7. 7. QUESTÕES? email/gtalk: guedes@guedesoft.net twitter: @guediz youtube: guediz github: guedes http://guedesoft.net http://www.timbira.com.br

×