fix and report update

This commit is contained in:
2026-10-23 15:41:18 +03:00
parent 84fc48d315
commit 396d149849
6 changed files with 230 additions and 86 deletions
Binary file not shown.
+10 -10
View File
@@ -5,24 +5,24 @@
"keyset_limit_50": {
"node_type": "Index Only Scan",
"index_name": "messages_chat_history_idx",
"execution_ms": 0.349,
"plan_rows": 11
"execution_ms": 0.061,
"plan_rows": 50
},
"offset_50000_limit_50": {
"node_type": "Index Only Scan",
"index_name": "messages_chat_history_idx",
"execution_ms": 7.043,
"plan_rows": 1
"execution_ms": 6.117,
"plan_rows": 50
},
"keyset_with_extra_chat_id_index": {
"node_type": "Index Scan",
"index_name": "messages_chat_id_only_idx",
"execution_ms": 9.797,
"plan_rows": 11
"node_type": "Index Only Scan",
"index_name": "messages_chat_history_idx",
"execution_ms": 0.052,
"plan_rows": 50
}
},
"write_messages_per_second": {
"with_extra_chat_id_index": 18199.5,
"production_indexes_only": 20166.9
"with_extra_chat_id_index": 23192.1,
"production_indexes_only": 38756.3
}
}
+16 -16
View File
@@ -1,61 +1,61 @@
{
"source": {
"messages": 111012,
"users": 43,
"messages": 116022,
"users": 88,
"sample": [
{
"id": "d4bff878-42c2-4ed2-8261-e2fc42583f65",
"id": "ffb54a59-afe2-41b7-9d55-e53a68117a84",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "c561eb24-1381-491f-b78c-b9fe460015b5",
"id": "ff90fc55-75ed-4633-85da-219d49656ebe",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "e0789e8a-6c7b-40e9-8141-64d8547de768",
"id": "ff77cfb7-e1a3-45e3-ad54-c9b88a79cc1b",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "d0e5a399-932d-4006-91b1-f1cc26501af5",
"id": "ff102c2f-a3f2-4e39-a9c5-9a997a49f157",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "de8288c2-a7fb-496b-8be7-cbfe82d138c5",
"id": "fe8a483b-94c8-40fc-a5d4-b0e2fd2602fc",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
}
]
},
"restored": {
"messages": 111012,
"users": 43,
"messages": 116022,
"users": 88,
"sample": [
{
"id": "d4bff878-42c2-4ed2-8261-e2fc42583f65",
"id": "ffb54a59-afe2-41b7-9d55-e53a68117a84",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "c561eb24-1381-491f-b78c-b9fe460015b5",
"id": "ff90fc55-75ed-4633-85da-219d49656ebe",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "e0789e8a-6c7b-40e9-8141-64d8547de768",
"id": "ff77cfb7-e1a3-45e3-ad54-c9b88a79cc1b",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "d0e5a399-932d-4006-91b1-f1cc26501af5",
"id": "ff102c2f-a3f2-4e39-a9c5-9a997a49f157",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
},
{
"id": "de8288c2-a7fb-496b-8be7-cbfe82d138c5",
"id": "fe8a483b-94c8-40fc-a5d4-b0e2fd2602fc",
"chat_id": "01aeb3d4-8235-4964-8981-ace0cec560df",
"text": "w"
}
@@ -63,7 +63,7 @@
},
"counts_match": true,
"sample_match": true,
"restore_seconds": 7.09,
"dump_bytes": 2899617,
"restore_seconds": 3.75,
"dump_bytes": 3024158,
"data_loss_boundary": "Logical pg_dump is consistent at dump start; concurrent writes during dump are not included. WAL/PITR not used — RPO equals changes after dump began."
}