190 lines
6.6 KiB
JSON
190 lines
6.6 KiB
JSON
{
|
|
"scope": "observed automated scenarios, not an automatic grade or manual report/CI review",
|
|
"results": [
|
|
{
|
|
"suite": "sql-plan",
|
|
"status": "PASS",
|
|
"observation": {
|
|
"actual_rows": 10000,
|
|
"chat_distribution_percent": [
|
|
70,
|
|
20,
|
|
6,
|
|
3,
|
|
1
|
|
],
|
|
"chat_message_counts": [
|
|
7000,
|
|
2000,
|
|
600,
|
|
300,
|
|
100
|
|
],
|
|
"deep_page": {
|
|
"explain": {
|
|
"Execution Time": 0.033,
|
|
"Plan": {
|
|
"Actual Loops": 1,
|
|
"Actual Rows": 51,
|
|
"Actual Startup Time": 0.009,
|
|
"Actual Total Time": 0.021,
|
|
"Async Capable": false,
|
|
"Disabled": false,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 72,
|
|
"Plans": [
|
|
{
|
|
"Actual Loops": 1,
|
|
"Actual Rows": 51,
|
|
"Actual Startup Time": 0.009,
|
|
"Actual Total Time": 0.015,
|
|
"Alias": "messages",
|
|
"Async Capable": false,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 'de389991-85b0-489c-abd0-b03c8f4a2844'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:08.001+00'::timestamp with time zone, 'a44b6c42-f6cb-400b-9c1f-c2fb94124a88'::uuid)))",
|
|
"Index Name": "idx_messages_chat_created_id",
|
|
"Index Searches": 1,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Node Type": "Index Scan",
|
|
"Parallel Aware": false,
|
|
"Parent Relationship": "Outer",
|
|
"Plan Rows": 1399,
|
|
"Plan Width": 72,
|
|
"Relation Name": "messages",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Scan Direction": "Forward",
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Startup Cost": 0.29,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Total Cost": 532.15
|
|
}
|
|
],
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Startup Cost": 0.29,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Total Cost": 19.67
|
|
},
|
|
"Planning": {
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.042,
|
|
"Triggers": []
|
|
},
|
|
"max_visited_rows": 51
|
|
},
|
|
"first_page": {
|
|
"explain": {
|
|
"Execution Time": 0.029,
|
|
"Plan": {
|
|
"Actual Loops": 1,
|
|
"Actual Rows": 51,
|
|
"Actual Startup Time": 0.006,
|
|
"Actual Total Time": 0.018,
|
|
"Async Capable": false,
|
|
"Disabled": false,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 72,
|
|
"Plans": [
|
|
{
|
|
"Actual Loops": 1,
|
|
"Actual Rows": 51,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.013,
|
|
"Alias": "messages",
|
|
"Async Capable": false,
|
|
"Disabled": false,
|
|
"Index Cond": "(chat_id = 'de389991-85b0-489c-abd0-b03c8f4a2844'::uuid)",
|
|
"Index Name": "idx_messages_chat_created_id",
|
|
"Index Searches": 1,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Node Type": "Index Scan",
|
|
"Parallel Aware": false,
|
|
"Parent Relationship": "Outer",
|
|
"Plan Rows": 7000,
|
|
"Plan Width": 72,
|
|
"Relation Name": "messages",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Scan Direction": "Forward",
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Startup Cost": 0.29,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Total Cost": 838.45
|
|
}
|
|
],
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Startup Cost": 0.29,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Total Cost": 6.39
|
|
},
|
|
"Planning": {
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.047,
|
|
"Triggers": []
|
|
},
|
|
"max_visited_rows": 51
|
|
},
|
|
"go_version": "go1.27.1",
|
|
"mode": "plan",
|
|
"postgres_version": "18.6 (Debian 18.6-1.pgdg13+2)",
|
|
"rows": 10000,
|
|
"scan_budget_rows": 1000,
|
|
"schema": "lab2_test_8baa4931a28b47619d54a056535e7deb"
|
|
},
|
|
"duration_seconds": 4.3681
|
|
}
|
|
]
|
|
}
|