Docs HomeMongoDB Manual

Release Notes for MongoDB 6.3

Important

MongoDB 6.3 is a rapid release and is only supported for MongoDB Atlas. MongoDB 6.3 is not supported for use on-premises. For more information, see MongoDB Versioning.

To install the latest MongoDB version supported for on-premises use, MongoDB 6.0, see the MongoDB 6.0 installation instructions.

Patch Releases

6.3.2 - June 29, 2023

Issues fixed:

6.3.1 - May 3, 2023

Issues fixed:

Aggregation

New Aggregation Operators

MongoDB 6.3 introduces the following aggregation operators:

OperatorDescription
$bitAndReturns the result of a bitwise and operation on an array of int or long values.
$bitNotReturns the result of a bitwise not operation on a single argument or an array that contains a single int or long value.
$bitOrReturns the result of a bitwise or operation on an array of int or long values.
$bitXorReturns the result of a bitwise xor (exclusive or) operation on an array of int and long values.

General Changes

serverStatus Metrics

Starting in MongoDB 6.3, the serverStatus command and the db.serverStatus() method have these output changes:

DocumentField(s)
New network.listenerProcessingTime document.network.listenerProcessingTime.durationMicros
Addition to connections document.connections.rejected
New metrics.network document.metrics.network.totalEgressConnectionEstablishmentTimeMillis metrics.network.totalIngressTLSConnections metrics.network.totalIngressTLSHandshakeTimeMillis metrics.network.totalTimeForEgressConnectionAcquiredToWireMicros metrics.network.totalTimeToFirstNonAuthCommandMillis
Additions to metrics.operation document.metrics.operation.numConnectionNetworkTimeouts metrics.operation.totalTimeWaitingBeforeConnectionTimeoutMillis
Addition to shardingStatistics document.shardingStatistics.chunkMigrationConcurrency
Additions to indexBulkBuilder document.indexBulkBuilder.numSorted indexBulkBuilder.bytesSorted indexBulkBuilder.memUsage

connPoolStats Metrics

Starting in MongoDB 6.3, the connPoolStats command has these output changes:

DocumentField(s)
New connPoolStats.acquisitionWaitTimes document.Time ranges with the number of connection requests in each range. Total number of connection requests for all time ranges.

Session Workflow Log Message

Starting in MongoDB 6.3, a message is added to the log if the time to send an operation response exceeds the slowms threshold option. For details, see Session Workflow Log Message.

explain Output Includes Fields for Spilled Data File Size

Starting in MongoDB 6.3, the explain output for the $group stage includes new metrics on spill data when using the classic execution engine:

  • spillFileSizeBytes, the size of the spill file written to disk in the $group stage
  • numBytesSpilledEstimate, estimate of the number of bytes written to disk in the $group stage before compression

For details, see $sort and $group Stages.

Connection Acquisition To Wire Log Message

Starting in MongoDB 6.3, a message is added to the log if the time that an operation waited between acquisition of a server connection and writing the bytes to send to the server over the network exceeds 1 millisecond. For details, see Connection Acquisition To Wire Log Message.

Server Parameters

Starting in MongoDB 6.3, these server parameters were added:

Time Series Collection Custom Bucketing Parameters

MongoDB 6.3 adds the following time series parameters:

  • bucketMaxSpanSeconds sets the maximum time span between measurements in a bucket.
  • bucketRoundingSeconds sets the time interval that determines the starting timestamp for a new bucket.

compact Support for Time Series Collections

Starting in MongoDB 6.3, the compact command works with time series collections.

Report an Issue

To report an issue, see https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports for instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects.