Spark Structured Streaming ForeachWriter and database performance Spark Structured Streaming ForeachWriter and database performance database database