Q1
True / FalsePostgrPostgreSQL is an object-relational database management system (ORDBMS).
PostgreSQL extends the traditional relational database management system (RDBMS) by incorporating object-oriented features.
Q2
True / FalseIn PostgreSQL, tables and columns are the only structures available for storing data.
PostgreSQL supports additional structures like arrays, JSON, and custom types beyond just tables and columns.
Q3
True / FalsePostgreSQL follows the SQL standard more closely than most other databases.
PostgreSQL is known for its strong adherence to the SQL standard, which ensures compatibility and feature richness.
Q4
True / FalsePostgreSQL supports advanced indexing techniques such as B-tree, hash, GiST, and GIN.
PostgreSQL offers multiple types of indexes to optimize query performance, including B-tree, hash, GiST, and GIN.
Q5
True / FalseIn PostgreSQL, views can be updated directly without any restrictions.
While some views in PostgreSQL can be updatable, there are restrictions, especially for complex views that involve joins, aggregates, or distinct operations.
Q6
True / FalsePostgreSQL does not support procedural languages for writing functions.
PostgreSQL supports several procedural languages for writing functions, including PL/pgSQL, PL/Tcl, PL/Perl, and PL/Python.
Q7
True / FalsePostgreSQL supports table partitioning to improve performance and manage large datasets.
PostgreSQL provides table partitioning features, allowing large tables to be divided into smaller, more manageable pieces.
Q8
True / FalsePostgreSQL's MVCC (Multi-Version Concurrency Control) ensures high concurrency and performance by using locks.
PostgreSQL's MVCC allows for high concurrency without using locks for reading data. It maintains data consistency by keeping multiple versions of data.
Q9
True / FalseIn PostgreSQL, Foreign Data Wrappers (FDWs) enable access to external data sources like other databases or files.
FDWs in PostgreSQL allow users to create foreign tables that act as interfaces to external data sources, enabling seamless integration.
Q10
True / FalsePostgreSQL's WAL (Write-Ahead Logging) mechanism ensures data integrity by logging changes before they are written to the database.
Write-Ahead Logging (WAL) in PostgreSQL is a key feature for ensuring data integrity and durability. It logs changes before they are applied to the database, allowing for recovery in case of a crash.