postgres intro and database Flashcards

1
Q

What is PostgreSQL and what are some alternative relational databases?

A

PostgreSQL is an open source object-relational database management system

Oracle DB, SQLite, DynamoDB, ACID, SQL

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

What are some advantages of learning a relational database?

A

Relational databases are widely used and are deployed in a high number of devices and applications.

Web developers work with a relational database at least a little bit during their career

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

What is the one way to see if PostgreSQL is running?

A

The command - sudo service postgresql status
You can send it a command and see if it fails

The command - top

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

What is a database schema?

A

A collection of tables.

It defines how the data in a relational database should be organized

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

What is a table?

A

A table is a list of rows each having the same set of attributes

Also known as relation

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

What is a row?

A

A row contains relational data with attributes, referred to as columns

A single structure data item in a table

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