Transactions that are taking more than 60 seconds on Atlas

I’ve transaction which performs several deletes, inserts, updates and have for loops in it.

It’s an M10 cluster. The transaction is taking greater than 60 seconds as data is growing.

Is there any possible way to achieve this scenario on Atlas other then moving it to self managed / hosted setup?

Hi @viraj_thakrar,

I would suggest contacting support and request increasing the transaction life time server parameter for your clusters:
https://docs.mongodb.com/manual/reference/parameters/#param.transactionLifetimeLimitSeconds
However this limitation is there for a reason as long transactions are not recommended and might impose risks and overhead on clusters operations and performance.

Thanks
Pavel

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.