PostgreSQL for Oracle DBAs
As an Oracle DBA in my past life, I have thought about giving some understanding and relatable definitions of PostgreSQL compared to Oracle Databases. I hope this helps to understand how these two relational databases are comparable for Oracle DBAs to quickly adapt to the new DB server technology. I will not be giving detailed explanations in this article. For more details on each topic, please refer to the postgreSQL documentation.
Database architecture compared:
Oracle : SGA: Fixed physical memory size
allocated to each server out of available RAM
Postgres: Total memory is allocated to postgres server running multiple databases within.
Oracle : Buffer Pool
Postgres: Share Buffers
Oracle: Redo log buffers / Redo log files
Postgres: WAL buffers / Wal files
Oracle: Archivelog Files
Postgres: Archivelog Files
Oracle: UNDO files are used to hold original copy of the dirty pages for transaction isolation
Postgres: WAL handles this.
Oracle : SMON process is responsible for instance recovery and startup
Postgres: POSTMASTER process is responsible for the same.
Background process
Oracle : SMON, PMON, DB Writer , REDO, Archiver , checkpointer
Postgres: POSTMASTER, Writer , WAL Writer, Archiver , checkpointer , logger , stats collector
Oracle: PGA_AGGREGATE_TARGET is used for sorting and indexing
Postgres: WORK_MEM_SPACE is used for sorting, indexes, joins and bitmap operations
Comments
Post a Comment