7

I'm working with an ETL tool, Business Objects Data Services, which has the capability of specifying parallel execution of functions. The documentation says that before you can do this, you have to make sure that your database, which in our case is Postgres, allows "a stored procedure to run in parallel". Can anyone tell me if Postgres does that?

3 Answers 3

6

Sure. Just run your queries in different connections, and they will run in parallel transactions. Beware of locking though.

Sign up to request clarification or add additional context in comments.

1 Comment

you mean they're gonna be serialized in the same connection?
0

You can also call different stored procedures from the same connection (and effectively still run them in parallel) by using DBLink.

See this SO answer to see an example.

Comments

0

Use pgcron to schedule the procedure as many times you want. Use arguments to make the procedure act on different sets of data.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.