Zitat von "rafael.burischipfer" <RAFAEL.BURISCHIPFERUSA@xxxxxxxxx>:
Hello everybody, I'm Oracle, DB2 and SQL Server DBA, and now I started work with PostgreSQL and I have some doubts. 1) Can I archive different databases in different directory path? Example: I want archive the database production 1 in '/mnt/production_1/archive' and production 2 in '/mnt/production_2/archive'
A "database" in PostgreSQL is light-weight compared to Oracle and share the WAL (redolog) with other databases in the same cluster. Therefore archive is per cluster (installation) and not per database.
2) I want change the WAL location, I don't want the WAL files stay in default location, I want for example in '/PGDATA/WAL', and Can I create different WALs to different databases?
You can link your WAL location to wherever you like, but as said the same WAL is for the whole cluster.
3) Can I improve the WAL size? the default is 16,384 KB, I want for example 51,200 KB it is possible?
In PostgreSQL you raise the number of the WAL files with checkpoint_segments.
4) In my instance I have three databases (Production 1, Production 2 and Production 3), and I have a role named UserProd with password 'test123', I want the Production 1 database the password be 'passwd123' in Production 2 database be '123-passwd' and in Production 3 database be 'test123', it is possible?
No, roles are also global per cluster. That said you can easily run many PostgreSQL cluster on a single machine, the storage needed is much smaller than for a Oracle installation.
Regards Andreas
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature