public sealed class CommitStats : IMessage<CommitResponse.Types.CommitStats>, IEquatable<CommitResponse.Types.CommitStats>, IDeepCloneable<CommitResponse.Types.CommitStats>, IBufferMessage, IMessage
The total number of mutations for the transaction. Knowing the
mutation_count value can help you maximize the number of mutations
in a transaction and minimize the number of API round trips. You can
also monitor this value to prevent transactions from exceeding the system
limit.
If the number of mutations exceeds the limit, the server returns
INVALID_ARGUMENT.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for \u003ccode\u003eCommitStats\u003c/code\u003e, a class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, which is used to provide statistics about a commit.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class has a \u003ccode\u003eMutationCount\u003c/code\u003e property, which reflects the total number of mutations for a transaction and is of \u003ccode\u003eInt64\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available, ranging from \u003ccode\u003e5.0.0-beta05\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e, with \u003ccode\u003e5.0.0-beta05\u003c/code\u003e being the most recent beta version and \u003ccode\u003e3.15.1\u003c/code\u003e being the version reflected in the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommitStats\u003c/code\u003e can help optimize transaction performance by helping users maximize mutations and avoid exceeding system limits as it is important to know the mutation count.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]