Get in Touch

Course Outline

Introduction

  • Overview of PostgreSQL features and architecture.
  • Fundamentals of Python programming.
  • Advantages of using Python with PostgreSQL.

Getting Started

  • Installing PostgreSQL.
  • Installing Python, Django, or Flask.
  • Installing psycopg2.
  • Connecting to PostgreSQL with Python.

Python and SQL Operations

  • SQL language basics.
  • Database schema and tables.
  • Writing Python queries.
  • Creating tables.
  • Inserting data.
  • Manipulating data.
  • Using the LIMIT clause.
  • Joining tables.
  • Full-text search.
  • Working with SQLite.
  • Examples of Python applications.

Advanced PostgreSQL with Python

  • Table inheritance.
  • Nested transactions.
  • User-defined types.
  • VIEWS, HAVING, DISTINCT.
  • Working with dates and times.
  • Multi-version concurrency control (MVCC).
  • Creating charts, graphs, and reports using matplotlib.

Administration and Security

  • PostgreSQL data safety.
  • Restricting access using a whitelist.
  • Implementing replication.
  • Database migration.
  • Backup and restore.
  • Monitoring queries.
  • Performance tuning.
  • Preventing SQL injection attacks.

Troubleshooting

Summary and Next Steps

Requirements

  • Experience with PostgreSQL.
  • Experience with Python programming.

Target Audience

  • Developers.
  • Administrators.
 21 Hours

Testimonials (2)

Related Categories