postgress-intro Flashcards

1
Q

What is PostgreSQL and what are some alternative relational databases?

A

PostgreSQL is a Relational Database Management System. Alternatives include MS SQL server and mySQL

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 arguably the most used type of database, therefore knowing the SQL language is a transferable skill
  • good if you are storing related data (data about teachers, classrooms, and courses for example)
  • they support good guarantees about data integrity. they can store and modify data in a way that makes data corruption as unlikely as possible. this means devs can set up their db’s to reject bad data and not worry about data being half written.
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

sudo service postgresql status

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

what is the pgweb command

A

a web server that gives you a page to connect with and interact with your database

pgweb is a middleman between your browser and data management system (postgresSQL)

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