PostgreSQL Flashcards

(25 cards)

1
Q

What is PostgreSQL?

A

An open-source object-relational database management system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where did PostgreSQL originate?

A

The POSTGRES project at the University of California

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What year was Postgres95 released?

A

1994

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What was Postgres95 renamed to?

A

PostgreSQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is PostgreSQL commonly pronounced?

A

Postgres

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What industries used early PostgreSQL systems?

A

Finance, aviation, medicine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the LAPP stack?

A

Linux, Apache, PostgreSQL, PHP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does open-source mean for PostgreSQL?

A

Code can be used, modified, and distributed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is PostgreSQL called object-relational?

A

It supports inheritance and overloading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What operating systems support PostgreSQL?

A

Most modern operating systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Does PostgreSQL support ANSI SQL?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name three relational features of PostgreSQL

A

Keys, transactions, views

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What NoSQL-style features does PostgreSQL support?

A

JSON and HSTORE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is PostGIS?

A

A PostgreSQL extension for spatial data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is synchronous replication in PostgreSQL?

A

Changes written to two nodes at the same time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is asynchronous replication in PostgreSQL?

A

Changes sent to read-only replicas later

17
Q

What is the benefit of replication?

A

High availability and scalability

18
Q

What happens if the primary node fails?

A

A replica can be promoted

19
Q

What is multi-master replication?

A

Multiple read/write nodes replicating each other

20
Q

Give an example of PostgreSQL multi-master software

A

EDB PostgreSQL Replication Server

21
Q

What is partitioning?

A

Splitting a table into smaller sections

22
Q

Why use partitioning?

A

Improves query performance

23
Q

What is sharding?

A

Storing table partitions across multiple servers

24
Q

What types of data does PostgreSQL support?

A

Relational, structured, and non-structured

25
Why is PostgreSQL popular?
Open-source, powerful features, scalability