--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/WC8RFu57Vv0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/ddd12c67-f267-43df-9e5a-848aac2d1091%40googlegroups.com.
Hi Christian,
What is the reason for the write tickets being used up? Is that the level of concurrency? What does it depend on in terms of throughput?
WiredTiger uses tickets to limit the number of simultaneous operations processed by the storage engine. The default value is 128. If the number of available write tickets drops to 0, new write requests would have to queue up waiting for a free ticket.
You can see available read/write tickets as below:
> db.serverStatus().wiredTiger.concurrentTransactions
{
"write" : {
"out" : 0,
"available" : 128,
"totalTickets" : 128
},
"read" : {
"out" : 0,
"available" : 128,
"totalTickets" : 128
}
}
Can/Should I tune the number of write tickets for that instance?
The default should generally not need to be adjusted, and is set to prevent the storage engine from being overwhelmed. Performance for WT may degrade when the number of concurrent workers greatly exceeds the number of cores. It may however be appropriate to tune the number of tickets down in some cases.
You can adjust the number of tickets by settting the wiredTigerConcurrentWriteTransactions and wiredTigerConcurrentReadTransactions parameters.
Before changing the defaults, I would consider testing an upgrade to the latest MongoDB version (currently v3.0.11) as there have been a number of bug fixes & improvements since 3.0.7.
I would also encourage may to test the latest 3.2.x production release in a development/staging environment as there have been significant improvements which are likely to improve your performance.
If you have any follow-up questions, please start a new discussion with the details relevant to your environment.
Regards,
Ankur