---
title: "Discussion on \"Pyspark — Parallel read from database\" | Hashnode"
description: "Discussion on \"Pyspark — Parallel read from database\". How to leverage spark to read in parallel from a database\nSpark Parallelization\nA usual way to read from a database, e.g. Postgres, using spark would be something like the following:\nuser = 'postgres'\npassword = 'secret'\ndb_driver = 'org.postgresql.D..."
url: "https://hashnode.com/posts/pyspark-parallel-read-from-database-726f4aa910b/6082ad56ff5fc65284a77f6f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pyspark — Parallel read from database](https://tryexceptfinally.hashnode.dev/pyspark-parallel-read-from-database-726f4aa910b?utm_source=hashnode&utm_medium=feed)

How to leverage spark to read in parallel from a database Spark Parallelization A usual way to read from a database, e.g. Postgres, using spark would be something like the following: user = 'postgres' password = 'secret' db\_driver = 'org.postgresql.D...

Mar 21, 2020 · 3 min read · tryexceptfinally.hashnode.dev  
Read the article

## Written by

[Maria Karanasou](https://hashnode.com/@--mkaran)

@\--mkaran

  
[View profile](https://hashnode.com/@--mkaran)

Machine Learning Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
