PostgreSQL Flashcards

1
Q

What is PostgreSQL and what are some alternative relational databases?

A

A relational database management system (RDBMS).

MySQL, SQL Server by Microsoft, Oracle by Oracle Corporation.

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

-they are the most widely used database

-they support good guarantees about data integrity.

-they can store and modify data in a way that makes data corruption as unlikely as possible

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

What is one way to see if PostgreSQL is running?

A
  • top command line
  • sudo service postgresql status
  • psql
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. 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.

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

What is a row?

A

Rows are actual data values for a single group of related data within a table

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