spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lian Jiang <>
Subject writing into oracle database is very slow
Date Sat, 06 Apr 2019 14:59:36 GMT

My spark job writes into oracle db using:

df.coalesce(10).write.format("jdbc").option("url", url)
  .option("driver", driver).option("user", user)
  .option("batchsize", 2000)
  .option("password", password).option("dbtable",

It is much slow than writting into HDFS. The data to write is small.

Is this expected? Thanks for any clue.

View raw message