forked from mtusi2026/mtusi2026lab2
9953 lines
385 KiB
JSON
9953 lines
385 KiB
JSON
{
|
|
"hypothesis": "Composite index bounds keyset read work at the cost of extra write I/O",
|
|
"server": "18.0",
|
|
"repeat_count": 5,
|
|
"baseline_primary_key_only": {
|
|
"read": {
|
|
"1": {
|
|
"rows": 72000,
|
|
"offset": 57600,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15693.44,
|
|
"Total Cost": 15693.56,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 156.296,
|
|
"Actual Total Time": 156.301,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15549.44,
|
|
"Total Cost": 15729.94,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 148.497,
|
|
"Actual Total Time": 155.118,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 11728,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.105,
|
|
"Actual Total Time": 123.785,
|
|
"Actual Rows": 72000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 1)",
|
|
"Rows Removed by Filter": 48000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.151,
|
|
"Triggers": [],
|
|
"Execution Time": 171.731
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15693.44,
|
|
"Total Cost": 15693.56,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 143.934,
|
|
"Actual Total Time": 143.94,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15549.44,
|
|
"Total Cost": 15729.94,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 135.102,
|
|
"Actual Total Time": 142.64,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 11728,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.091,
|
|
"Actual Total Time": 109.367,
|
|
"Actual Rows": 72000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 1)",
|
|
"Rows Removed by Filter": 48000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.624,
|
|
"Triggers": [],
|
|
"Execution Time": 163.855
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15693.44,
|
|
"Total Cost": 15693.56,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 135.159,
|
|
"Actual Total Time": 135.165,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15549.44,
|
|
"Total Cost": 15729.94,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 128.53,
|
|
"Actual Total Time": 133.906,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 11728,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.132,
|
|
"Actual Total Time": 105.74,
|
|
"Actual Rows": 72000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 1)",
|
|
"Rows Removed by Filter": 48000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.185,
|
|
"Triggers": [],
|
|
"Execution Time": 151.021
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15693.44,
|
|
"Total Cost": 15693.56,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 141.508,
|
|
"Actual Total Time": 141.514,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15549.44,
|
|
"Total Cost": 15729.94,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.89,
|
|
"Actual Total Time": 140.379,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 11728,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.15,
|
|
"Actual Total Time": 108.319,
|
|
"Actual Rows": 72000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 1)",
|
|
"Rows Removed by Filter": 48000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.394,
|
|
"Triggers": [],
|
|
"Execution Time": 158.717
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15693.44,
|
|
"Total Cost": 15693.56,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 144.552,
|
|
"Actual Total Time": 144.559,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 15549.44,
|
|
"Total Cost": 15729.94,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.691,
|
|
"Actual Total Time": 142.873,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 11728,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 1261,
|
|
"Temp Written Blocks": 1471,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 72200,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.394,
|
|
"Actual Total Time": 107.284,
|
|
"Actual Rows": 72000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 1)",
|
|
"Rows Removed by Filter": 48000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 9.684,
|
|
"Triggers": [],
|
|
"Execution Time": 162.259
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 5762.63,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 83.911,
|
|
"Actual Total Time": 90.93,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 10018.29,
|
|
"Plan Rows": 37390,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 83.905,
|
|
"Actual Total Time": 90.919,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4756.92,
|
|
"Total Cost": 4811.9,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 54.155,
|
|
"Actual Total Time": 54.166,
|
|
"Actual Rows": 40.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4026.29,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 30.823,
|
|
"Actual Total Time": 53.748,
|
|
"Actual Rows": 7200.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Filter": 52800,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 90,
|
|
"Shared Read Blocks": 33,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.591,
|
|
"Triggers": [],
|
|
"Execution Time": 90.998
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 5762.63,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 80.501,
|
|
"Actual Total Time": 84.434,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 10018.29,
|
|
"Plan Rows": 37390,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 80.499,
|
|
"Actual Total Time": 84.429,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4756.92,
|
|
"Total Cost": 4811.9,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 50.425,
|
|
"Actual Total Time": 50.426,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4026.29,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 29.753,
|
|
"Actual Total Time": 49.929,
|
|
"Actual Rows": 7200.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Filter": 52800,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 87,
|
|
"Shared Read Blocks": 36,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.051,
|
|
"Triggers": [],
|
|
"Execution Time": 84.497
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 5762.63,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 163.548,
|
|
"Actual Total Time": 167.965,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 10018.29,
|
|
"Plan Rows": 37390,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 163.545,
|
|
"Actual Total Time": 167.959,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4756.92,
|
|
"Total Cost": 4811.9,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 57.007,
|
|
"Actual Total Time": 57.009,
|
|
"Actual Rows": 25.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 25,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4026.29,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 30.215,
|
|
"Actual Total Time": 56.572,
|
|
"Actual Rows": 7200.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Filter": 52800,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 89,
|
|
"Shared Read Blocks": 34,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 8.928,
|
|
"Triggers": [],
|
|
"Execution Time": 168.117
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 5762.63,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 78.836,
|
|
"Actual Total Time": 85.561,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 10018.29,
|
|
"Plan Rows": 37390,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 78.834,
|
|
"Actual Total Time": 85.556,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4756.92,
|
|
"Total Cost": 4811.9,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 54.367,
|
|
"Actual Total Time": 54.369,
|
|
"Actual Rows": 40.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4026.29,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 28.75,
|
|
"Actual Total Time": 53.82,
|
|
"Actual Rows": 7200.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Filter": 52800,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 90,
|
|
"Shared Read Blocks": 33,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.599,
|
|
"Triggers": [],
|
|
"Execution Time": 85.626
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 5762.63,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 79.005,
|
|
"Actual Total Time": 87.889,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5756.93,
|
|
"Total Cost": 10018.29,
|
|
"Plan Rows": 37390,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 79.002,
|
|
"Actual Total Time": 87.882,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4756.92,
|
|
"Total Cost": 4811.9,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 50.93,
|
|
"Actual Total Time": 50.936,
|
|
"Actual Rows": 35.5,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 12,
|
|
"Shared Read Blocks": 2795,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4026.29,
|
|
"Plan Rows": 21994,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 29.249,
|
|
"Actual Total Time": 50.481,
|
|
"Actual Rows": 7200.0,
|
|
"Actual Loops": 2,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Filter": 52800,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.745,
|
|
"Triggers": [],
|
|
"Execution Time": 87.957
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"2": {
|
|
"rows": 18000,
|
|
"offset": 14400,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5575.55,
|
|
"Total Cost": 5575.68,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 146.111,
|
|
"Actual Total Time": 146.124,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5539.55,
|
|
"Total Cost": 5583.79,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 143.063,
|
|
"Actual Total Time": 145.835,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 76.487,
|
|
"Actual Total Time": 133.108,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 2)",
|
|
"Rows Removed by Filter": 102000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.789,
|
|
"Triggers": [],
|
|
"Execution Time": 162.1
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5575.55,
|
|
"Total Cost": 5575.68,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 132.962,
|
|
"Actual Total Time": 132.967,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5539.55,
|
|
"Total Cost": 5583.79,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 131.828,
|
|
"Actual Total Time": 132.68,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 77.008,
|
|
"Actual Total Time": 125.124,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 2)",
|
|
"Rows Removed by Filter": 102000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 11.898,
|
|
"Triggers": [],
|
|
"Execution Time": 153.537
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5575.55,
|
|
"Total Cost": 5575.68,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 126.305,
|
|
"Actual Total Time": 126.31,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5539.55,
|
|
"Total Cost": 5583.79,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.163,
|
|
"Actual Total Time": 126.01,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 70.366,
|
|
"Actual Total Time": 116.8,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 2)",
|
|
"Rows Removed by Filter": 102000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.1,
|
|
"Triggers": [],
|
|
"Execution Time": 135.078
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5575.55,
|
|
"Total Cost": 5575.68,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.374,
|
|
"Actual Total Time": 125.379,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5539.55,
|
|
"Total Cost": 5583.79,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.285,
|
|
"Actual Total Time": 125.097,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 74.028,
|
|
"Actual Total Time": 117.118,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 2)",
|
|
"Rows Removed by Filter": 102000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 85,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.288,
|
|
"Triggers": [],
|
|
"Execution Time": 138.244
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5575.55,
|
|
"Total Cost": 5575.68,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.38,
|
|
"Actual Total Time": 125.385,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5539.55,
|
|
"Total Cost": 5583.79,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.255,
|
|
"Actual Total Time": 125.099,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 17696,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 75.701,
|
|
"Actual Total Time": 118.182,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 2)",
|
|
"Rows Removed by Filter": 102000,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 87,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.032,
|
|
"Triggers": [],
|
|
"Execution Time": 140.896
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5056.26,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 122.452,
|
|
"Actual Total Time": 122.458,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5068.56,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 122.45,
|
|
"Actual Total Time": 122.454,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 88.135,
|
|
"Actual Total Time": 122.245,
|
|
"Actual Rows": 3600.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Filter": 116400,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.019,
|
|
"Triggers": [],
|
|
"Execution Time": 122.509
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5056.26,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 113.632,
|
|
"Actual Total Time": 113.637,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5068.56,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 113.63,
|
|
"Actual Total Time": 113.632,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 80.691,
|
|
"Actual Total Time": 113.399,
|
|
"Actual Rows": 3600.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Filter": 116400,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.582,
|
|
"Triggers": [],
|
|
"Execution Time": 113.687
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5056.26,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.022,
|
|
"Actual Total Time": 125.029,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5068.56,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.02,
|
|
"Actual Total Time": 125.025,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 87.171,
|
|
"Actual Total Time": 124.762,
|
|
"Actual Rows": 3600.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Filter": 116400,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.257,
|
|
"Triggers": [],
|
|
"Execution Time": 125.097
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5056.26,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 119.774,
|
|
"Actual Total Time": 119.779,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5068.56,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 119.772,
|
|
"Actual Total Time": 119.775,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 84.84,
|
|
"Actual Total Time": 119.556,
|
|
"Actual Rows": 3600.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Filter": 116400,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.725,
|
|
"Triggers": [],
|
|
"Execution Time": 119.824
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5056.26,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 107.818,
|
|
"Actual Total Time": 107.823,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5056.13,
|
|
"Total Cost": 5068.56,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 107.816,
|
|
"Actual Total Time": 107.818,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 37,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 4971,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 77.758,
|
|
"Actual Total Time": 107.587,
|
|
"Actual Rows": 3600.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Filter": 116400,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.96,
|
|
"Triggers": [],
|
|
"Execution Time": 107.874
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"10": {
|
|
"rows": 306,
|
|
"offset": 244,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.34,
|
|
"Total Cost": 4304.47,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 104.269,
|
|
"Actual Total Time": 104.273,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4303.73,
|
|
"Total Cost": 4304.5,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 104.249,
|
|
"Actual Total Time": 104.263,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 77.797,
|
|
"Actual Total Time": 104.058,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 10)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.364,
|
|
"Triggers": [],
|
|
"Execution Time": 104.326
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.34,
|
|
"Total Cost": 4304.47,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 114.777,
|
|
"Actual Total Time": 114.78,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4303.73,
|
|
"Total Cost": 4304.5,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 114.764,
|
|
"Actual Total Time": 114.772,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 85.044,
|
|
"Actual Total Time": 114.552,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 10)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.194,
|
|
"Triggers": [],
|
|
"Execution Time": 114.82
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.34,
|
|
"Total Cost": 4304.47,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 126.213,
|
|
"Actual Total Time": 126.218,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4303.73,
|
|
"Total Cost": 4304.5,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 126.193,
|
|
"Actual Total Time": 126.208,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 90.802,
|
|
"Actual Total Time": 125.969,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 10)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.798,
|
|
"Triggers": [],
|
|
"Execution Time": 126.263
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.34,
|
|
"Total Cost": 4304.47,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 119.49,
|
|
"Actual Total Time": 119.495,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4303.73,
|
|
"Total Cost": 4304.5,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 119.473,
|
|
"Actual Total Time": 119.486,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 90.362,
|
|
"Actual Total Time": 119.28,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 10)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 85,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.161,
|
|
"Triggers": [],
|
|
"Execution Time": 119.536
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.34,
|
|
"Total Cost": 4304.47,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 104.631,
|
|
"Actual Total Time": 104.634,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4303.73,
|
|
"Total Cost": 4304.5,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 104.616,
|
|
"Actual Total Time": 104.624,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 308,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 80.167,
|
|
"Actual Total Time": 104.393,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 10)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 87,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.037,
|
|
"Triggers": [],
|
|
"Execution Time": 104.717
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.481,
|
|
"Actual Total Time": 134.487,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.478,
|
|
"Actual Total Time": 134.482,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 123.308,
|
|
"Actual Total Time": 134.405,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 89,
|
|
"Shared Read Blocks": 34,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.124,
|
|
"Triggers": [],
|
|
"Execution Time": 134.544
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.355,
|
|
"Actual Total Time": 124.36,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.353,
|
|
"Actual Total Time": 124.355,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 118.992,
|
|
"Actual Total Time": 124.288,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.641,
|
|
"Triggers": [],
|
|
"Execution Time": 124.411
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 149.216,
|
|
"Actual Total Time": 149.22,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 149.214,
|
|
"Actual Total Time": 149.215,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 143.262,
|
|
"Actual Total Time": 149.151,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 4.527,
|
|
"Triggers": [],
|
|
"Execution Time": 149.269
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 164.471,
|
|
"Actual Total Time": 164.476,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 164.469,
|
|
"Actual Total Time": 164.471,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 157.699,
|
|
"Actual Total Time": 164.409,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.035,
|
|
"Triggers": [],
|
|
"Execution Time": 164.544
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.461,
|
|
"Actual Total Time": 134.466,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.459,
|
|
"Actual Total Time": 134.462,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 128.211,
|
|
"Actual Total Time": 134.4,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.284,
|
|
"Triggers": [],
|
|
"Execution Time": 134.514
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"100": {
|
|
"rows": 306,
|
|
"offset": 244,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.73,
|
|
"Total Cost": 4304.85,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 133.209,
|
|
"Actual Total Time": 133.213,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.12,
|
|
"Total Cost": 4304.91,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 133.194,
|
|
"Actual Total Time": 133.203,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 93.169,
|
|
"Actual Total Time": 132.956,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 100)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 8.122,
|
|
"Triggers": [],
|
|
"Execution Time": 133.253
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.73,
|
|
"Total Cost": 4304.85,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 179.521,
|
|
"Actual Total Time": 179.524,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.12,
|
|
"Total Cost": 4304.91,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 179.506,
|
|
"Actual Total Time": 179.515,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 130.804,
|
|
"Actual Total Time": 179.12,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 100)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 8.774,
|
|
"Triggers": [],
|
|
"Execution Time": 179.569
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.73,
|
|
"Total Cost": 4304.85,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.632,
|
|
"Actual Total Time": 125.635,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.12,
|
|
"Total Cost": 4304.91,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 125.618,
|
|
"Actual Total Time": 125.627,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 91.07,
|
|
"Actual Total Time": 125.392,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 100)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 86,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.155,
|
|
"Triggers": [],
|
|
"Execution Time": 125.676
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.73,
|
|
"Total Cost": 4304.85,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.7,
|
|
"Actual Total Time": 124.704,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.12,
|
|
"Total Cost": 4304.91,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 124.683,
|
|
"Actual Total Time": 124.695,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 94.537,
|
|
"Actual Total Time": 124.479,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 100)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 85,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.313,
|
|
"Triggers": [],
|
|
"Execution Time": 124.743
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.73,
|
|
"Total Cost": 4304.85,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 120.341,
|
|
"Actual Total Time": 120.352,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4304.12,
|
|
"Total Cost": 4304.91,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 120.283,
|
|
"Actual Total Time": 120.33,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 103,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4291.0,
|
|
"Plan Rows": 316,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 87.053,
|
|
"Actual Total Time": 119.961,
|
|
"Actual Rows": 306.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "(chat_id = 100)",
|
|
"Rows Removed by Filter": 119694,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 87,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.379,
|
|
"Triggers": [],
|
|
"Execution Time": 120.488
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 129.026,
|
|
"Actual Total Time": 129.032,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 129.02,
|
|
"Actual Total Time": 129.022,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 122.196,
|
|
"Actual Total Time": 128.899,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.429,
|
|
"Triggers": [],
|
|
"Execution Time": 129.158
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.291,
|
|
"Actual Total Time": 134.294,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 134.288,
|
|
"Actual Total Time": 134.29,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 129.805,
|
|
"Actual Total Time": 134.227,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.199,
|
|
"Triggers": [],
|
|
"Execution Time": 134.347
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 112.116,
|
|
"Actual Total Time": 112.121,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 112.113,
|
|
"Actual Total Time": 112.116,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 106.824,
|
|
"Actual Total Time": 112.045,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.152,
|
|
"Triggers": [],
|
|
"Execution Time": 112.172
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 136.31,
|
|
"Actual Total Time": 136.314,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 136.306,
|
|
"Actual Total Time": 136.308,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 131.91,
|
|
"Actual Total Time": 136.211,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.27,
|
|
"Triggers": [],
|
|
"Execution Time": 136.458
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 118.578,
|
|
"Actual Total Time": 118.59,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4891.32,
|
|
"Total Cost": 4891.36,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 118.576,
|
|
"Actual Total Time": 118.583,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 40,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 4891.0,
|
|
"Plan Rows": 16,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 111.341,
|
|
"Actual Total Time": 118.467,
|
|
"Actual Rows": 62.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Filter": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Filter": 119938,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 2791,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 88,
|
|
"Shared Read Blocks": 35,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.557,
|
|
"Triggers": [],
|
|
"Execution Time": 118.673
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"write": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 18.127,
|
|
"Actual Total Time": 18.128,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6115,
|
|
"Shared Read Blocks": 17,
|
|
"Shared Dirtied Blocks": 57,
|
|
"Shared Written Blocks": 61,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 4006,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 554560,
|
|
"WAL Buffers Full": 56,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.224,
|
|
"Actual Total Time": 2.785,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.222,
|
|
"Actual Total Time": 2.596,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.14,
|
|
"Triggers": [],
|
|
"Execution Time": 18.217
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 15.935,
|
|
"Actual Total Time": 15.935,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 7973,
|
|
"Shared Read Blocks": 74,
|
|
"Shared Dirtied Blocks": 103,
|
|
"Shared Written Blocks": 106,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 4039,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 555665,
|
|
"WAL Buffers Full": 49,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.201,
|
|
"Actual Total Time": 2.456,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.2,
|
|
"Actual Total Time": 2.309,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 1,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.153,
|
|
"Triggers": [],
|
|
"Execution Time": 16.018
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 16.374,
|
|
"Actual Total Time": 16.374,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 8049,
|
|
"Shared Read Blocks": 78,
|
|
"Shared Dirtied Blocks": 103,
|
|
"Shared Written Blocks": 107,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 4043,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 556073,
|
|
"WAL Buffers Full": 49,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.204,
|
|
"Actual Total Time": 2.343,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.202,
|
|
"Actual Total Time": 2.199,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 1,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.135,
|
|
"Triggers": [],
|
|
"Execution Time": 16.468
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 17.205,
|
|
"Actual Total Time": 17.206,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 8022,
|
|
"Shared Read Blocks": 87,
|
|
"Shared Dirtied Blocks": 103,
|
|
"Shared Written Blocks": 113,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 4045,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 556895,
|
|
"WAL Buffers Full": 50,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.209,
|
|
"Actual Total Time": 2.159,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.207,
|
|
"Actual Total Time": 2.028,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 1,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.206,
|
|
"Triggers": [],
|
|
"Execution Time": 17.299
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 15.287,
|
|
"Actual Total Time": 15.288,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 8049,
|
|
"Shared Read Blocks": 78,
|
|
"Shared Dirtied Blocks": 103,
|
|
"Shared Written Blocks": 106,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 4043,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 556073,
|
|
"WAL Buffers Full": 49,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.206,
|
|
"Actual Total Time": 2.128,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.204,
|
|
"Actual Total Time": 1.999,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.141,
|
|
"Triggers": [],
|
|
"Execution Time": 15.376
|
|
}
|
|
]
|
|
},
|
|
"composite_index": {
|
|
"read": {
|
|
"1": {
|
|
"rows": 72000,
|
|
"offset": 57600,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 7341.39,
|
|
"Total Cost": 7347.76,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 12.867,
|
|
"Actual Total Time": 12.876,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 9189.37,
|
|
"Plan Rows": 72100,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.044,
|
|
"Actual Total Time": 11.724,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 1)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.675,
|
|
"Triggers": [],
|
|
"Execution Time": 12.911
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 7341.39,
|
|
"Total Cost": 7347.76,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 13.515,
|
|
"Actual Total Time": 13.524,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 9189.37,
|
|
"Plan Rows": 72100,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.04,
|
|
"Actual Total Time": 12.354,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 1)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.92,
|
|
"Triggers": [],
|
|
"Execution Time": 13.555
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 7341.39,
|
|
"Total Cost": 7347.76,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 14.132,
|
|
"Actual Total Time": 14.141,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 9189.37,
|
|
"Plan Rows": 72100,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.04,
|
|
"Actual Total Time": 12.921,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 1)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.943,
|
|
"Triggers": [],
|
|
"Execution Time": 14.172
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 7341.39,
|
|
"Total Cost": 7347.76,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 12.942,
|
|
"Actual Total Time": 12.951,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 9189.37,
|
|
"Plan Rows": 72100,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.043,
|
|
"Actual Total Time": 11.819,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 1)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.46,
|
|
"Triggers": [],
|
|
"Execution Time": 12.985
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 7341.39,
|
|
"Total Cost": 7347.76,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 13.363,
|
|
"Actual Total Time": 13.372,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 9189.37,
|
|
"Plan Rows": 72100,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.042,
|
|
"Actual Total Time": 12.229,
|
|
"Actual Rows": 57650.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 1)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 1627,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.562,
|
|
"Triggers": [],
|
|
"Execution Time": 13.403
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.45,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.035,
|
|
"Actual Total Time": 0.044,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7512.17,
|
|
"Plan Rows": 37435,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.033,
|
|
"Actual Total Time": 0.041,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.88,
|
|
"Triggers": [],
|
|
"Execution Time": 0.093
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.45,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.048,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7512.17,
|
|
"Plan Rows": 37435,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.036,
|
|
"Actual Total Time": 0.044,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.584,
|
|
"Triggers": [],
|
|
"Execution Time": 0.087
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.45,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.036,
|
|
"Actual Total Time": 0.045,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7512.17,
|
|
"Plan Rows": 37435,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.034,
|
|
"Actual Total Time": 0.042,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.488,
|
|
"Triggers": [],
|
|
"Execution Time": 0.083
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.45,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.041,
|
|
"Actual Total Time": 0.052,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7512.17,
|
|
"Plan Rows": 37435,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 0.048,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.199,
|
|
"Triggers": [],
|
|
"Execution Time": 0.092
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.45,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.052,
|
|
"Actual Total Time": 0.067,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7512.17,
|
|
"Plan Rows": 37435,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.049,
|
|
"Actual Total Time": 0.062,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 1) AND (ROW(created_at, id) > ROW('2025-01-01 03:00:57.6+03'::timestamp with time zone, 57600)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.938,
|
|
"Triggers": [],
|
|
"Execution Time": 0.12
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"2": {
|
|
"rows": 18000,
|
|
"offset": 14400,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5065.38,
|
|
"Total Cost": 5065.5,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 21.767,
|
|
"Actual Total Time": 21.772,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5029.38,
|
|
"Total Cost": 5074.59,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 20.718,
|
|
"Actual Total Time": 21.484,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Heap Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 500.57,
|
|
"Total Cost": 3750.62,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.873,
|
|
"Actual Total Time": 14.339,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Recheck Cond": "(chat_id = 2)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Exact Heap Blocks": 420,
|
|
"Lossy Heap Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Index Name": "history_page",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 496.05,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.757,
|
|
"Actual Total Time": 0.757,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 2)",
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 92,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.239,
|
|
"Triggers": [],
|
|
"Execution Time": 27.807
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5065.38,
|
|
"Total Cost": 5065.5,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 22.849,
|
|
"Actual Total Time": 22.854,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 513,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5029.38,
|
|
"Total Cost": 5074.59,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 21.807,
|
|
"Actual Total Time": 22.562,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 513,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Heap Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 500.57,
|
|
"Total Cost": 3750.62,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.985,
|
|
"Actual Total Time": 15.927,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Recheck Cond": "(chat_id = 2)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Exact Heap Blocks": 420,
|
|
"Lossy Heap Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Index Name": "history_page",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 496.05,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.842,
|
|
"Actual Total Time": 0.842,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 2)",
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 92,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.448,
|
|
"Triggers": [],
|
|
"Execution Time": 29.379
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5065.38,
|
|
"Total Cost": 5065.5,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 21.307,
|
|
"Actual Total Time": 21.312,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5029.38,
|
|
"Total Cost": 5074.59,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 20.182,
|
|
"Actual Total Time": 21.012,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Heap Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 500.57,
|
|
"Total Cost": 3750.62,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.843,
|
|
"Actual Total Time": 13.786,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Recheck Cond": "(chat_id = 2)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Exact Heap Blocks": 420,
|
|
"Lossy Heap Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Index Name": "history_page",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 496.05,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.712,
|
|
"Actual Total Time": 0.712,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 2)",
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 92,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.185,
|
|
"Triggers": [],
|
|
"Execution Time": 34.784
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5065.38,
|
|
"Total Cost": 5065.5,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 20.957,
|
|
"Actual Total Time": 20.962,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 513,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5029.38,
|
|
"Total Cost": 5074.59,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 19.778,
|
|
"Actual Total Time": 20.675,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 513,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Heap Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 500.57,
|
|
"Total Cost": 3750.62,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.856,
|
|
"Actual Total Time": 13.712,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Recheck Cond": "(chat_id = 2)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Exact Heap Blocks": 420,
|
|
"Lossy Heap Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Index Name": "history_page",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 496.05,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.679,
|
|
"Actual Total Time": 0.679,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 2)",
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 92,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.025,
|
|
"Triggers": [],
|
|
"Execution Time": 31.21
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5065.38,
|
|
"Total Cost": 5065.5,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 21.401,
|
|
"Actual Total Time": 21.407,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 5029.38,
|
|
"Total Cost": 5074.59,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 20.353,
|
|
"Actual Total Time": 21.122,
|
|
"Actual Rows": 14450.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "external merge",
|
|
"Sort Space Used": 2928,
|
|
"Sort Space Type": "Disk",
|
|
"Shared Hit Blocks": 6,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 366,
|
|
"Temp Written Blocks": 367,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Heap Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 500.57,
|
|
"Total Cost": 3750.62,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.894,
|
|
"Actual Total Time": 14.22,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Recheck Cond": "(chat_id = 2)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Exact Heap Blocks": 420,
|
|
"Lossy Heap Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 512,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Bitmap Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Index Name": "history_page",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 496.05,
|
|
"Plan Rows": 18084,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 0.763,
|
|
"Actual Total Time": 0.763,
|
|
"Actual Rows": 18000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 2)",
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 92,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 115,
|
|
"Shared Read Blocks": 39,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.44,
|
|
"Triggers": [],
|
|
"Execution Time": 29.46
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 52.83,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.041,
|
|
"Actual Total Time": 0.05,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5259.25,
|
|
"Plan Rows": 5017,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 0.046,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.319,
|
|
"Triggers": [],
|
|
"Execution Time": 0.09
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 52.83,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 0.057,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5259.25,
|
|
"Plan Rows": 5017,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.054,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.86,
|
|
"Triggers": [],
|
|
"Execution Time": 0.101
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 52.83,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.048,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5259.25,
|
|
"Plan Rows": 5017,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.044,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.939,
|
|
"Triggers": [],
|
|
"Execution Time": 0.088
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 52.83,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.04,
|
|
"Actual Total Time": 0.05,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5259.25,
|
|
"Plan Rows": 5017,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.046,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.874,
|
|
"Triggers": [],
|
|
"Execution Time": 0.096
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 52.83,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.041,
|
|
"Actual Total Time": 0.05,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5259.25,
|
|
"Plan Rows": 5017,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 0.046,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 2) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:26.4+03'::timestamp with time zone, 86400)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 5,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.664,
|
|
"Triggers": [],
|
|
"Execution Time": 0.096
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"10": {
|
|
"rows": 306,
|
|
"offset": 244,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 442.48,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 28,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.304,
|
|
"Actual Total Time": 1.554,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 272,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 1.543,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 10)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.826,
|
|
"Triggers": [],
|
|
"Execution Time": 1.586
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 442.48,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 28,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.255,
|
|
"Actual Total Time": 1.49,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 272,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 1.48,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 10)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.919,
|
|
"Triggers": [],
|
|
"Execution Time": 1.522
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 442.48,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 28,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.279,
|
|
"Actual Total Time": 1.512,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 272,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.041,
|
|
"Actual Total Time": 1.498,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 10)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.94,
|
|
"Triggers": [],
|
|
"Execution Time": 1.546
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 442.48,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 28,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.484,
|
|
"Actual Total Time": 1.723,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 272,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.044,
|
|
"Actual Total Time": 1.711,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 10)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.902,
|
|
"Triggers": [],
|
|
"Execution Time": 1.759
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 442.48,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 28,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.653,
|
|
"Actual Total Time": 2.157,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 493.21,
|
|
"Plan Rows": 272,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 2.143,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 10)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.648,
|
|
"Triggers": [],
|
|
"Execution Time": 2.203
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.245,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.035,
|
|
"Actual Total Time": 0.241,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.294,
|
|
"Triggers": [],
|
|
"Execution Time": 0.283
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 0.257,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.253,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.162,
|
|
"Triggers": [],
|
|
"Execution Time": 0.298
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.04,
|
|
"Actual Total Time": 0.255,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.25,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 8.005,
|
|
"Triggers": [],
|
|
"Execution Time": 0.297
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.251,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.036,
|
|
"Actual Total Time": 0.246,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.669,
|
|
"Triggers": [],
|
|
"Execution Time": 0.292
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.094,
|
|
"Actual Total Time": 0.346,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 32.34,
|
|
"Plan Rows": 14,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.087,
|
|
"Actual Total Time": 0.337,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 10) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.883+03'::timestamp with time zone, 113883)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 53,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.848,
|
|
"Triggers": [],
|
|
"Execution Time": 0.462
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"100": {
|
|
"rows": 306,
|
|
"offset": 244,
|
|
"execution": {
|
|
"offset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 436.32,
|
|
"Total Cost": 525.65,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.28,
|
|
"Actual Total Time": 1.554,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 593.54,
|
|
"Plan Rows": 332,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 1.543,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 100)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.188,
|
|
"Triggers": [],
|
|
"Execution Time": 1.601
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 436.32,
|
|
"Total Cost": 525.65,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.291,
|
|
"Actual Total Time": 1.53,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 593.54,
|
|
"Plan Rows": 332,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 1.518,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 100)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.427,
|
|
"Triggers": [],
|
|
"Execution Time": 1.561
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 436.32,
|
|
"Total Cost": 525.65,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.812,
|
|
"Actual Total Time": 2.086,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 593.54,
|
|
"Plan Rows": 332,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.036,
|
|
"Actual Total Time": 2.07,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 100)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 5.557,
|
|
"Triggers": [],
|
|
"Execution Time": 2.121
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 436.32,
|
|
"Total Cost": 525.65,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.29,
|
|
"Actual Total Time": 1.529,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 593.54,
|
|
"Plan Rows": 332,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 1.519,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 100)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.715,
|
|
"Triggers": [],
|
|
"Execution Time": 1.564
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 436.32,
|
|
"Total Cost": 525.65,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 1.284,
|
|
"Actual Total Time": 1.523,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 593.54,
|
|
"Plan Rows": 332,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.039,
|
|
"Actual Total Time": 1.513,
|
|
"Actual Rows": 294.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 100)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 299,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 38,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.246,
|
|
"Triggers": [],
|
|
"Execution Time": 1.555
|
|
}
|
|
],
|
|
"keyset": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.257,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.036,
|
|
"Actual Total Time": 0.253,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.637,
|
|
"Triggers": [],
|
|
"Execution Time": 0.297
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.078,
|
|
"Actual Total Time": 0.561,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.075,
|
|
"Actual Total Time": 0.555,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 6.85,
|
|
"Triggers": [],
|
|
"Execution Time": 0.63
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.042,
|
|
"Actual Total Time": 0.265,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.041,
|
|
"Actual Total Time": 0.26,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 11.578,
|
|
"Triggers": [],
|
|
"Execution Time": 0.323
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.102,
|
|
"Actual Total Time": 0.35,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.098,
|
|
"Actual Total Time": 0.344,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 7.78,
|
|
"Triggers": [],
|
|
"Execution Time": 0.456
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.038,
|
|
"Actual Total Time": 0.285,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "history_page",
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 37.85,
|
|
"Plan Rows": 17,
|
|
"Plan Width": 152,
|
|
"Actual Startup Time": 0.037,
|
|
"Actual Total Time": 0.281,
|
|
"Actual Rows": 50.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 100) AND (ROW(created_at, id) > ROW('2025-01-01 03:01:53.875+03'::timestamp with time zone, 113875)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 54,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 116,
|
|
"Shared Read Blocks": 37,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 9.516,
|
|
"Triggers": [],
|
|
"Execution Time": 0.325
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"write": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 30.086,
|
|
"Actual Total Time": 30.087,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 14111,
|
|
"Shared Read Blocks": 90,
|
|
"Shared Dirtied Blocks": 76,
|
|
"Shared Written Blocks": 114,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 6063,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 784089,
|
|
"WAL Buffers Full": 76,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.224,
|
|
"Actual Total Time": 2.694,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.222,
|
|
"Actual Total Time": 2.528,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.144,
|
|
"Triggers": [],
|
|
"Execution Time": 30.182
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 30.149,
|
|
"Actual Total Time": 30.15,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 14109,
|
|
"Shared Read Blocks": 84,
|
|
"Shared Dirtied Blocks": 124,
|
|
"Shared Written Blocks": 142,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 6061,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 783321,
|
|
"WAL Buffers Full": 76,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.198,
|
|
"Actual Total Time": 3.292,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.197,
|
|
"Actual Total Time": 3.068,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.138,
|
|
"Triggers": [],
|
|
"Execution Time": 30.244
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 29.637,
|
|
"Actual Total Time": 29.638,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 14103,
|
|
"Shared Read Blocks": 85,
|
|
"Shared Dirtied Blocks": 123,
|
|
"Shared Written Blocks": 129,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 6061,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 779726,
|
|
"WAL Buffers Full": 75,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.202,
|
|
"Actual Total Time": 2.563,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.2,
|
|
"Actual Total Time": 2.396,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.127,
|
|
"Triggers": [],
|
|
"Execution Time": 29.723
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 24.04,
|
|
"Actual Total Time": 24.041,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 14099,
|
|
"Shared Read Blocks": 93,
|
|
"Shared Dirtied Blocks": 124,
|
|
"Shared Written Blocks": 149,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 6063,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 784113,
|
|
"WAL Buffers Full": 72,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.195,
|
|
"Actual Total Time": 2.514,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.193,
|
|
"Actual Total Time": 2.372,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.129,
|
|
"Triggers": [],
|
|
"Execution Time": 24.125
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "history",
|
|
"Alias": "history",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 25.341,
|
|
"Actual Total Time": 25.343,
|
|
"Actual Rows": 0.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 14107,
|
|
"Shared Read Blocks": 85,
|
|
"Shared Dirtied Blocks": 127,
|
|
"Shared Written Blocks": 137,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 6063,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 787078,
|
|
"WAL Buffers Full": 72,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 55.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 52,
|
|
"Actual Startup Time": 0.202,
|
|
"Actual Total Time": 2.81,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "n",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 50.0,
|
|
"Plan Rows": 2000,
|
|
"Plan Width": 48,
|
|
"Actual Startup Time": 0.2,
|
|
"Actual Total Time": 2.611,
|
|
"Actual Rows": 2000.0,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"WAL Buffers Full": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 5,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 1,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.14,
|
|
"Triggers": [],
|
|
"Execution Time": 25.442
|
|
}
|
|
]
|
|
},
|
|
"backup": {
|
|
"backup_ms": 654.77,
|
|
"restore_ms": 925.997,
|
|
"bytes": 3477911,
|
|
"same_counts_and_samples": true,
|
|
"snapshot": {
|
|
"per_chat": [
|
|
"1|72000",
|
|
"2|18000",
|
|
"3|306",
|
|
"4|306",
|
|
"5|306",
|
|
"6|306",
|
|
"7|306",
|
|
"8|306",
|
|
"9|306",
|
|
"10|306",
|
|
"11|306",
|
|
"12|306",
|
|
"13|306",
|
|
"14|306",
|
|
"15|306",
|
|
"16|306",
|
|
"17|306",
|
|
"18|306",
|
|
"19|306",
|
|
"20|306",
|
|
"21|306",
|
|
"22|306",
|
|
"23|306",
|
|
"24|306",
|
|
"25|306",
|
|
"26|306",
|
|
"27|306",
|
|
"28|306",
|
|
"29|306",
|
|
"30|306",
|
|
"31|306",
|
|
"32|306",
|
|
"33|306",
|
|
"34|306",
|
|
"35|306",
|
|
"36|306",
|
|
"37|306",
|
|
"38|306",
|
|
"39|306",
|
|
"40|307",
|
|
"41|307",
|
|
"42|307",
|
|
"43|307",
|
|
"44|307",
|
|
"45|307",
|
|
"46|307",
|
|
"47|307",
|
|
"48|307",
|
|
"49|307",
|
|
"50|307",
|
|
"51|307",
|
|
"52|306",
|
|
"53|306",
|
|
"54|306",
|
|
"55|306",
|
|
"56|306",
|
|
"57|306",
|
|
"58|306",
|
|
"59|306",
|
|
"60|306",
|
|
"61|306",
|
|
"62|306",
|
|
"63|306",
|
|
"64|306",
|
|
"65|306",
|
|
"66|306",
|
|
"67|306",
|
|
"68|306",
|
|
"69|306",
|
|
"70|306",
|
|
"71|306",
|
|
"72|306",
|
|
"73|306",
|
|
"74|306",
|
|
"75|306",
|
|
"76|306",
|
|
"77|306",
|
|
"78|306",
|
|
"79|306",
|
|
"80|306",
|
|
"81|306",
|
|
"82|306",
|
|
"83|306",
|
|
"84|306",
|
|
"85|306",
|
|
"86|306",
|
|
"87|306",
|
|
"88|306",
|
|
"89|306",
|
|
"90|306",
|
|
"91|306",
|
|
"92|306",
|
|
"93|306",
|
|
"94|306",
|
|
"95|306",
|
|
"96|306",
|
|
"97|306",
|
|
"98|306",
|
|
"99|306",
|
|
"100|306"
|
|
],
|
|
"sample_rows": [
|
|
"1|1|f50b1b079f973515641e32f5b8a8e297",
|
|
"50001|1|487e851d4218144584cdee174d182ec8",
|
|
"119999|50|f1090858c41e395b5511272aad473463",
|
|
"120000|51|9fa49012104931863896da71a1c278ee"
|
|
],
|
|
"count": 120000
|
|
},
|
|
"post_backup_marker_restored": false,
|
|
"source_rows_after_marker": 120001
|
|
},
|
|
"environment": "Native Windows isolated PostgreSQL 18.0, no Docker"
|
|
}
|