Depending on the number of existing databases, it turns out that the creation time increases. It turns out listDatabases is called during the creation.
Question : is this call (listDatabase) originated from Percona or is it from MongoDB ?
{
“t”: {
“$date”: “2022-01-24T13:46:28.014+00:00”
},
“s”: “I”,
“c”: “COMMAND”,
“id”: 51803,
“ctx”: “conn277”,
“msg”: “Slow query”,
“attr”: {
“type”: “command”,
“ns”: “admin.$cmd”,
“command”: {
“listDatabases”: 1,
“maxTimeMS”: 600000,
“lsid”: {
“id”: {
“$uuid”: “e4858e8d-b4f3-4813-9db0-2b52643e6218”
},
“uid”: {
“$binary”: {
“base64”: “YGti/c5Tn4R/bgcsJkGhJh0d/qtIaBxXR/b+7uzn4M0=”,
“subType”: “0”
}
}
},
“$readPreference”: {
“mode”: “primaryPreferred”
},
“$clusterTime”: {
“clusterTime”: {
“$timestamp”: {
“t”: 1643031982,
“i”: 1
}
},
“signature”: {
“hash”: {
“$binary”: {
“base64”: “0zndY6QZhQTibmGSshvJT06DYos=”,
“subType”: “0”
}
},
“keyId”: 7056733904161472534
}
},
“$audit”: {
“$impersonatedUsers”: [
{
“user”: “db_9307”,
“db”: “db_9307”
}
],
“$impersonatedRoles”: [
{
“role”: “dbOwner”,
“db”: “db_9307”
}
]
},
“$client”: {
“driver”: {
“name”: “mongo-java-driver|legacy”,
“version”: “3.12.8”
},
“os”: {
“type”: “Windows”,
“name”: “Windows 10”,
“architecture”: “amd64”,
“version”: “10.0”
},
“platform”: “Java/Oracle Corporation/1.8.0_191-b12”,
“mongos”: {
“host”: “xxx-mongodb01-cluster-mongos-547975446f-4st85:27017”,
“client”: “127.0.0.1:41310”,
“version”: “4.4.10-11”
}
},
“$configServerState”: {
“opTime”: {
“ts”: {
“$timestamp”: {
“t”: 1643031982,
“i”: 1
}
},
“t”: 6
}
},
“$db”: “admin”
},
“numYields”: 0,
“reslen”: 595375,
“locks”: {
“ParallelBatchWriterMode”: {
“acquireCount”: {
“r”: 10300
}
},
“ReplicationStateTransition”: {
“acquireCount”: {
“w”: 10300
}
},
“Global”: {
“acquireCount”: {
“r”: 10300
}
},
“Database”: {
“acquireCount”: {
“r”: 10299
}
},
“Collection”: {
“acquireCount”: {
“r”: 51504
}
},
“Mutex”: {
“acquireCount”: {
“r”: 10299
}
},
“oplog”: {
“acquireCount”: {
“r”: 1
}
}
},
“storage”: {},
“protocol”: “op_msg”,
“durationMillis”: 5849
}
}