Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

Conversation

noisecapella
Copy link
Contributor

Fixes #756

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be a lot of stuff in a single transaction... what's the impact on the memory for the DB?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe there would be any extra memory usage, I think transactions do their business in a separate blocks in the database and then switch over once the transaction is complete. I talked to @bdero and he was thinking that since we're using Postgres the bad experiences with transactions with edx may not apply.

@noisecapella
Copy link
Contributor Author

I've confirmed that the course is created within import_course so I'll merge this

noisecapella pushed a commit that referenced this pull request Oct 19, 2015
Wrapped course imports in transaction
@noisecapella noisecapella merged commit 7af5b0f into master Oct 19, 2015
@noisecapella noisecapella deleted the fix/gs/transaction branch October 19, 2015 18:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants