// Slow query log and index usage statistics (slow-query-log-and-index-usage-statistics) v1 — Prisma seed
// Synthetic sample data, CC0-1.0. Generated deterministically; re-running the
// generator with the same spec and seed reproduces this file exactly.
//
// Delegates are named after the tables (prisma.db_tables), which assumes models
// mapped to those table names. Rename the delegates if your models differ.
import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

async function main() {
    await prisma.db_tables.createMany({
        data: [
            { id: 1, name: "products" },
            { id: 2, name: "order_lines" },
            { id: 3, name: "orders" },
            { id: 4, name: "audit_log" },
            { id: 5, name: "sessions" },
            { id: 6, name: "customers" },
            { id: 7, name: "payments" },
            { id: 8, name: "shipments" },
        ],
    });
    await prisma.db_indexes.createMany({
        data: [
            { id: 1, table_id: 3, index_name: "ix_7d649049", index_type: "btree", is_unique: false, size_mb: "14.2", observed_days: 89, idx_scan: 38123, rows_per_scan: "38.6", idx_tup_read: "1471548", fetch_ratio: "0.93", idx_tup_fetch: "1368540" },
            { id: 2, table_id: 8, index_name: "ix_2e82a559", index_type: "gin", is_unique: false, size_mb: "44.2", observed_days: 35, idx_scan: 3002, rows_per_scan: "32.3", idx_tup_read: "96965", fetch_ratio: "1.00", idx_tup_fetch: "96965" },
            { id: 3, table_id: 1, index_name: "ix_fbff6cfd", index_type: "btree", is_unique: false, size_mb: "29.4", observed_days: 78, idx_scan: 3883, rows_per_scan: "50.1", idx_tup_read: "194538", fetch_ratio: "0.98", idx_tup_fetch: "190647" },
            { id: 4, table_id: 2, index_name: "ix_e34cfe27", index_type: "hash", is_unique: true, size_mb: "5.5", observed_days: 179, idx_scan: 93, rows_per_scan: "57.2", idx_tup_read: "5320", fetch_ratio: "0.96", idx_tup_fetch: "5107" },
            { id: 5, table_id: 4, index_name: "ix_a7580e7e", index_type: "btree", is_unique: false, size_mb: "2.0", observed_days: 47, idx_scan: 0, rows_per_scan: "7.9", idx_tup_read: "0", fetch_ratio: "0.98", idx_tup_fetch: "0" },
            { id: 6, table_id: 5, index_name: "ix_ee95806b", index_type: "btree", is_unique: false, size_mb: "275.0", observed_days: 72, idx_scan: 569, rows_per_scan: "44.0", idx_tup_read: "25036", fetch_ratio: "0.96", idx_tup_fetch: "24035" },
            { id: 7, table_id: 3, index_name: "ix_d38ce613", index_type: "btree", is_unique: false, size_mb: "27.9", observed_days: 109, idx_scan: 5, rows_per_scan: "34.8", idx_tup_read: "174", fetch_ratio: "0.97", idx_tup_fetch: "169" },
            { id: 8, table_id: 2, index_name: "ix_bb2129bd", index_type: "btree", is_unique: false, size_mb: "9.3", observed_days: 45, idx_scan: 155, rows_per_scan: "43.9", idx_tup_read: "6805", fetch_ratio: "0.97", idx_tup_fetch: "6601" },
            { id: 9, table_id: 3, index_name: "ix_a977cd74", index_type: "hash", is_unique: false, size_mb: "86.4", observed_days: 137, idx_scan: 716, rows_per_scan: "2.0", idx_tup_read: "1432", fetch_ratio: "1.00", idx_tup_fetch: "1432" },
            { id: 10, table_id: 8, index_name: "ix_14f8ef7a", index_type: "btree", is_unique: false, size_mb: "22.6", observed_days: 107, idx_scan: 1346, rows_per_scan: "9.2", idx_tup_read: "12383", fetch_ratio: "0.99", idx_tup_fetch: "12259" },
            { id: 11, table_id: 4, index_name: "ix_6935ffdb", index_type: "btree", is_unique: false, size_mb: "34.5", observed_days: 73, idx_scan: 1765, rows_per_scan: "25.2", idx_tup_read: "44478", fetch_ratio: "0.82", idx_tup_fetch: "36472" },
            { id: 12, table_id: 2, index_name: "ix_f855a724", index_type: "btree", is_unique: false, size_mb: "1.3", observed_days: 113, idx_scan: 2339, rows_per_scan: "4.4", idx_tup_read: "10292", fetch_ratio: "0.98", idx_tup_fetch: "10086" },
            { id: 13, table_id: 6, index_name: "ix_cb1e0f5f", index_type: "btree", is_unique: true, size_mb: "77.3", observed_days: 162, idx_scan: 27339, rows_per_scan: "4.3", idx_tup_read: "117558", fetch_ratio: "0.89", idx_tup_fetch: "104627" },
            { id: 14, table_id: 7, index_name: "ix_c8dd39c6", index_type: "hash", is_unique: false, size_mb: "18.5", observed_days: 44, idx_scan: 59, rows_per_scan: "40.2", idx_tup_read: "2372", fetch_ratio: "0.88", idx_tup_fetch: "2087" },
            { id: 15, table_id: 6, index_name: "ix_de1040c0", index_type: "btree", is_unique: false, size_mb: "12.9", observed_days: 100, idx_scan: 1669, rows_per_scan: "1.1", idx_tup_read: "1836", fetch_ratio: "0.83", idx_tup_fetch: "1524" },
            { id: 16, table_id: 7, index_name: "ix_2199c12f", index_type: "btree", is_unique: true, size_mb: "100.6", observed_days: 154, idx_scan: 4323, rows_per_scan: "57.0", idx_tup_read: "246411", fetch_ratio: "0.80", idx_tup_fetch: "197129" },
            { id: 17, table_id: 3, index_name: "ix_02f5685c", index_type: "btree", is_unique: false, size_mb: "4.6", observed_days: 172, idx_scan: 168, rows_per_scan: "28.6", idx_tup_read: "4805", fetch_ratio: "0.65", idx_tup_fetch: "3123" },
            { id: 18, table_id: 8, index_name: "ix_2f460d5e", index_type: "hash", is_unique: false, size_mb: "23.5", observed_days: 42, idx_scan: 2, rows_per_scan: "4.7", idx_tup_read: "9", fetch_ratio: "0.96", idx_tup_fetch: "9" },
            { id: 19, table_id: 7, index_name: "ix_2cf88314", index_type: "gin", is_unique: false, size_mb: "18.7", observed_days: 113, idx_scan: 0, rows_per_scan: "3.7", idx_tup_read: "0", fetch_ratio: "0.82", idx_tup_fetch: "0" },
            { id: 20, table_id: 2, index_name: "ix_8e32cbc6", index_type: "btree", is_unique: true, size_mb: "4.8", observed_days: 54, idx_scan: 2148, rows_per_scan: "9.7", idx_tup_read: "20836", fetch_ratio: "0.97", idx_tup_fetch: "20211" },
            { id: 21, table_id: 1, index_name: "ix_7420b987", index_type: "brin", is_unique: false, size_mb: "126.0", observed_days: 100, idx_scan: 13, rows_per_scan: "27.4", idx_tup_read: "356", fetch_ratio: "0.64", idx_tup_fetch: "228" },
            { id: 22, table_id: 5, index_name: "ix_d102f182", index_type: "btree", is_unique: false, size_mb: "461.1", observed_days: 80, idx_scan: 20, rows_per_scan: "1.0", idx_tup_read: "20", fetch_ratio: "0.88", idx_tup_fetch: "18" },
            { id: 23, table_id: 4, index_name: "ix_363eeb32", index_type: "btree", is_unique: false, size_mb: "1.6", observed_days: 79, idx_scan: 79, rows_per_scan: "14.2", idx_tup_read: "1122", fetch_ratio: "0.91", idx_tup_fetch: "1021" },
            { id: 24, table_id: 4, index_name: "ix_a3af1ce3", index_type: "gin", is_unique: true, size_mb: "72.3", observed_days: 165, idx_scan: 0, rows_per_scan: "4.0", idx_tup_read: "0", fetch_ratio: "0.97", idx_tup_fetch: "0" },
            { id: 25, table_id: 4, index_name: "ix_4d7f5ce2", index_type: "btree", is_unique: false, size_mb: "7.5", observed_days: 71, idx_scan: 20652, rows_per_scan: "55.2", idx_tup_read: "1139990", fetch_ratio: "0.89", idx_tup_fetch: "1014591" },
        ],
    });
    await prisma.slow_queries.createMany({
        data: [
            { id: 1, table_id: 2, logged_at: new Date("2025-10-20T13:22:23Z"), statement_kind: "select", client_app: "worker", duration_ms: 301, lock_wait_ms: 1, used_index: true, rows_returned: 2169, scan_factor: "115.0", rows_examined: "249435" },
            { id: 2, table_id: 7, logged_at: new Date("2025-10-17T08:55:15Z"), statement_kind: "update", client_app: "worker", duration_ms: 285, lock_wait_ms: 2, used_index: true, rows_returned: 1077, scan_factor: "127.8", rows_examined: "137641" },
            { id: 3, table_id: 5, logged_at: new Date("2025-10-13T19:14:09Z"), statement_kind: "select", client_app: "worker", duration_ms: 3724, lock_wait_ms: 32, used_index: true, rows_returned: 144, scan_factor: "284.7", rows_examined: "40997" },
            { id: 4, table_id: 2, logged_at: new Date("2025-10-27T14:38:47Z"), statement_kind: "select", client_app: "reporting", duration_ms: 3575, lock_wait_ms: 31, used_index: false, rows_returned: 4550, scan_factor: "194.9", rows_examined: "886795" },
            { id: 5, table_id: 3, logged_at: new Date("2025-10-20T11:23:27Z"), statement_kind: "select", client_app: "reporting", duration_ms: 835, lock_wait_ms: 7, used_index: true, rows_returned: 119, scan_factor: "13.0", rows_examined: "1547" },
            { id: 6, table_id: 3, logged_at: new Date("2025-10-16T16:17:06Z"), statement_kind: "select", client_app: "worker", duration_ms: 1102, lock_wait_ms: 8, used_index: true, rows_returned: 9, scan_factor: "290.5", rows_examined: "2615" },
            { id: 7, table_id: 2, logged_at: new Date("2025-10-15T16:08:51Z"), statement_kind: "select", client_app: "worker", duration_ms: 737, lock_wait_ms: 15, used_index: true, rows_returned: 659, scan_factor: "14.7", rows_examined: "9687" },
            { id: 8, table_id: 3, logged_at: new Date("2025-10-20T14:16:00Z"), statement_kind: "select", client_app: "worker", duration_ms: 1433, lock_wait_ms: 10, used_index: true, rows_returned: 2, scan_factor: "11.6", rows_examined: "23" },
            { id: 9, table_id: 5, logged_at: new Date("2025-10-24T15:17:03Z"), statement_kind: "delete", client_app: "api", duration_ms: 1758, lock_wait_ms: 9, used_index: true, rows_returned: 2490, scan_factor: "86.2", rows_examined: "214638" },
            { id: 10, table_id: 7, logged_at: new Date("2025-10-14T12:11:20Z"), statement_kind: "select", client_app: "api", duration_ms: 311, lock_wait_ms: 5, used_index: true, rows_returned: 79, scan_factor: "1.3", rows_examined: "103" },
            { id: 11, table_id: 5, logged_at: new Date("2025-10-31T09:17:50Z"), statement_kind: "update", client_app: "api", duration_ms: 734, lock_wait_ms: 7, used_index: true, rows_returned: 1244, scan_factor: "346.6", rows_examined: "431170" },
            { id: 12, table_id: 8, logged_at: new Date("2025-10-02T15:57:07Z"), statement_kind: "select", client_app: "api", duration_ms: 554, lock_wait_ms: 1, used_index: false, rows_returned: 4150, scan_factor: "77.8", rows_examined: "322870" },
            { id: 13, table_id: 6, logged_at: new Date("2025-10-02T13:41:14Z"), statement_kind: "update", client_app: "reporting", duration_ms: 1178, lock_wait_ms: 1, used_index: false, rows_returned: 940, scan_factor: "16.6", rows_examined: "15604" },
            { id: 14, table_id: 2, logged_at: new Date("2025-10-06T13:47:48Z"), statement_kind: "select", client_app: "worker", duration_ms: 1655, lock_wait_ms: 5, used_index: true, rows_returned: 34, scan_factor: "205.3", rows_examined: "6980" },
            { id: 15, table_id: 6, logged_at: new Date("2025-10-27T16:56:35Z"), statement_kind: "select", client_app: "api", duration_ms: 1101, lock_wait_ms: 38, used_index: false, rows_returned: 276, scan_factor: "358.6", rows_examined: "98974" },
            { id: 16, table_id: 4, logged_at: new Date("2025-10-16T12:23:59Z"), statement_kind: "select", client_app: "reporting", duration_ms: 435, lock_wait_ms: 15, used_index: false, rows_returned: 996, scan_factor: "44.8", rows_examined: "44621" },
            { id: 17, table_id: 4, logged_at: new Date("2025-10-13T16:08:36Z"), statement_kind: "select", client_app: "worker", duration_ms: 403, lock_wait_ms: 1, used_index: true, rows_returned: 63, scan_factor: "48.5", rows_examined: "3056" },
            { id: 18, table_id: 2, logged_at: new Date("2025-10-01T17:28:31Z"), statement_kind: "insert", client_app: "api", duration_ms: 450, lock_wait_ms: 1, used_index: true, rows_returned: 8, scan_factor: "109.2", rows_examined: "874" },
            { id: 19, table_id: 8, logged_at: new Date("2025-10-09T17:52:13Z"), statement_kind: "select", client_app: "api", duration_ms: 865, lock_wait_ms: 9, used_index: true, rows_returned: 3313, scan_factor: "66.7", rows_examined: "220977" },
            { id: 20, table_id: 6, logged_at: new Date("2025-10-07T14:02:31Z"), statement_kind: "select", client_app: "reporting", duration_ms: 951, lock_wait_ms: 15, used_index: true, rows_returned: 522, scan_factor: "269.5", rows_examined: "140679" },
            { id: 21, table_id: 7, logged_at: new Date("2025-10-21T12:19:24Z"), statement_kind: "delete", client_app: "api", duration_ms: 541, lock_wait_ms: 2, used_index: true, rows_returned: 374, scan_factor: "23.4", rows_examined: "8752" },
            { id: 22, table_id: 5, logged_at: new Date("2025-10-18T10:29:24Z"), statement_kind: "select", client_app: "api", duration_ms: 428, lock_wait_ms: 2, used_index: false, rows_returned: 224, scan_factor: "103.8", rows_examined: "23251" },
            { id: 23, table_id: 2, logged_at: new Date("2025-10-31T15:48:53Z"), statement_kind: "select", client_app: "api", duration_ms: 830, lock_wait_ms: 14, used_index: false, rows_returned: 4128, scan_factor: "96.7", rows_examined: "399178" },
            { id: 24, table_id: 1, logged_at: new Date("2025-10-16T09:13:44Z"), statement_kind: "select", client_app: "migrations", duration_ms: 830, lock_wait_ms: 44, used_index: true, rows_returned: 430, scan_factor: "49.4", rows_examined: "21242" },
            { id: 25, table_id: 6, logged_at: new Date("2025-10-02T08:14:40Z"), statement_kind: "select", client_app: "migrations", duration_ms: 496, lock_wait_ms: 112, used_index: false, rows_returned: 111, scan_factor: "115.2", rows_examined: "12787" },
            { id: 26, table_id: 7, logged_at: new Date("2025-10-11T06:56:48Z"), statement_kind: "select", client_app: "worker", duration_ms: 3016, lock_wait_ms: 4, used_index: false, rows_returned: 1317, scan_factor: "229.1", rows_examined: "301725" },
            { id: 27, table_id: 8, logged_at: new Date("2025-10-01T08:51:08Z"), statement_kind: "select", client_app: "worker", duration_ms: 787, lock_wait_ms: 2, used_index: true, rows_returned: 2, scan_factor: "35.9", rows_examined: "72" },
            { id: 28, table_id: 1, logged_at: new Date("2025-10-01T15:42:02Z"), statement_kind: "insert", client_app: "worker", duration_ms: 535, lock_wait_ms: 1, used_index: true, rows_returned: 27, scan_factor: "2.3", rows_examined: "62" },
            { id: 29, table_id: 6, logged_at: new Date("2025-10-30T19:46:42Z"), statement_kind: "delete", client_app: "worker", duration_ms: 266, lock_wait_ms: 27, used_index: true, rows_returned: 4833, scan_factor: "19.7", rows_examined: "95210" },
            { id: 30, table_id: 2, logged_at: new Date("2025-10-01T18:07:19Z"), statement_kind: "update", client_app: "worker", duration_ms: 1117, lock_wait_ms: 67, used_index: true, rows_returned: 642, scan_factor: "211.9", rows_examined: "136040" },
            { id: 31, table_id: 5, logged_at: new Date("2025-10-23T10:08:25Z"), statement_kind: "delete", client_app: "api", duration_ms: 572, lock_wait_ms: 1, used_index: true, rows_returned: 1384, scan_factor: "140.0", rows_examined: "193760" },
            { id: 32, table_id: 2, logged_at: new Date("2025-10-15T09:46:35Z"), statement_kind: "select", client_app: "api", duration_ms: 894, lock_wait_ms: 1, used_index: false, rows_returned: 134, scan_factor: "7.7", rows_examined: "1032" },
            { id: 33, table_id: 1, logged_at: new Date("2025-10-08T16:45:19Z"), statement_kind: "select", client_app: "api", duration_ms: 521, lock_wait_ms: 14, used_index: false, rows_returned: 159, scan_factor: "242.5", rows_examined: "38558" },
            { id: 34, table_id: 8, logged_at: new Date("2025-10-28T17:48:05Z"), statement_kind: "select", client_app: "reporting", duration_ms: 295, lock_wait_ms: 1, used_index: true, rows_returned: 6, scan_factor: "108.2", rows_examined: "649" },
            { id: 35, table_id: 2, logged_at: new Date("2025-10-09T03:22:25Z"), statement_kind: "select", client_app: "api", duration_ms: 463, lock_wait_ms: 0, used_index: true, rows_returned: 10, scan_factor: "24.1", rows_examined: "241" },
            { id: 36, table_id: 1, logged_at: new Date("2025-10-17T18:37:09Z"), statement_kind: "update", client_app: "worker", duration_ms: 537, lock_wait_ms: 4, used_index: true, rows_returned: 194, scan_factor: "47.8", rows_examined: "9273" },
            { id: 37, table_id: 8, logged_at: new Date("2025-10-22T18:51:54Z"), statement_kind: "select", client_app: "reporting", duration_ms: 7475, lock_wait_ms: 32, used_index: true, rows_returned: 3559, scan_factor: "10.8", rows_examined: "38437" },
            { id: 38, table_id: 7, logged_at: new Date("2025-10-23T15:46:41Z"), statement_kind: "update", client_app: "api", duration_ms: 416, lock_wait_ms: 207, used_index: true, rows_returned: 1069, scan_factor: "250.7", rows_examined: "267998" },
            { id: 39, table_id: 7, logged_at: new Date("2025-10-13T12:46:49Z"), statement_kind: "select", client_app: "api", duration_ms: 290, lock_wait_ms: 2, used_index: false, rows_returned: 1853, scan_factor: "148.3", rows_examined: "274800" },
            { id: 40, table_id: 3, logged_at: new Date("2025-10-06T11:57:17Z"), statement_kind: "select", client_app: "reporting", duration_ms: 513, lock_wait_ms: 3, used_index: false, rows_returned: 384, scan_factor: "9.4", rows_examined: "3610" },
            { id: 41, table_id: 5, logged_at: new Date("2025-10-23T13:59:08Z"), statement_kind: "select", client_app: "worker", duration_ms: 5731, lock_wait_ms: 28, used_index: true, rows_returned: 37, scan_factor: "201.1", rows_examined: "7441" },
            { id: 42, table_id: 5, logged_at: new Date("2025-10-16T13:43:02Z"), statement_kind: "insert", client_app: "api", duration_ms: 528, lock_wait_ms: 5, used_index: true, rows_returned: 1071, scan_factor: "386.9", rows_examined: "414370" },
            { id: 43, table_id: 2, logged_at: new Date("2025-10-06T13:59:01Z"), statement_kind: "select", client_app: "api", duration_ms: 472, lock_wait_ms: 1, used_index: true, rows_returned: 310, scan_factor: "151.2", rows_examined: "46872" },
            { id: 44, table_id: 7, logged_at: new Date("2025-10-10T15:08:13Z"), statement_kind: "select", client_app: "worker", duration_ms: 726, lock_wait_ms: 2, used_index: true, rows_returned: 19, scan_factor: "267.9", rows_examined: "5090" },
            { id: 45, table_id: 1, logged_at: new Date("2025-10-07T15:12:11Z"), statement_kind: "insert", client_app: "api", duration_ms: 2060, lock_wait_ms: 40, used_index: true, rows_returned: 550, scan_factor: "19.8", rows_examined: "10890" },
            { id: 46, table_id: 2, logged_at: new Date("2025-10-01T13:17:01Z"), statement_kind: "update", client_app: "api", duration_ms: 1209, lock_wait_ms: 1, used_index: true, rows_returned: 108, scan_factor: "346.4", rows_examined: "37411" },
            { id: 47, table_id: 1, logged_at: new Date("2025-10-01T12:35:45Z"), statement_kind: "select", client_app: "worker", duration_ms: 394, lock_wait_ms: 4, used_index: true, rows_returned: 327, scan_factor: "116.4", rows_examined: "38063" },
            { id: 48, table_id: 6, logged_at: new Date("2025-10-06T11:01:21Z"), statement_kind: "select", client_app: "worker", duration_ms: 367, lock_wait_ms: 1, used_index: true, rows_returned: 165, scan_factor: "1.0", rows_examined: "165" },
            { id: 49, table_id: 4, logged_at: new Date("2025-10-16T16:52:37Z"), statement_kind: "select", client_app: "api", duration_ms: 1093, lock_wait_ms: 57, used_index: true, rows_returned: 12, scan_factor: "1.7", rows_examined: "20" },
            { id: 50, table_id: 1, logged_at: new Date("2025-10-02T14:06:19Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1138, lock_wait_ms: 118, used_index: false, rows_returned: 16, scan_factor: "4.0", rows_examined: "64" },
            { id: 51, table_id: 8, logged_at: new Date("2025-10-01T15:26:08Z"), statement_kind: "select", client_app: "reporting", duration_ms: 809, lock_wait_ms: 57, used_index: true, rows_returned: 4876, scan_factor: "1.0", rows_examined: "4876" },
            { id: 52, table_id: 5, logged_at: new Date("2025-10-23T13:58:07Z"), statement_kind: "update", client_app: "api", duration_ms: 2278, lock_wait_ms: 1, used_index: false, rows_returned: 4773, scan_factor: "177.4", rows_examined: "846730" },
            { id: 53, table_id: 7, logged_at: new Date("2025-10-23T07:22:23Z"), statement_kind: "select", client_app: "worker", duration_ms: 251, lock_wait_ms: 93, used_index: false, rows_returned: 54, scan_factor: "22.4", rows_examined: "1210" },
            { id: 54, table_id: 1, logged_at: new Date("2025-10-05T18:15:01Z"), statement_kind: "select", client_app: "api", duration_ms: 587, lock_wait_ms: 9, used_index: false, rows_returned: 93, scan_factor: "330.2", rows_examined: "30709" },
            { id: 55, table_id: 2, logged_at: new Date("2025-10-21T13:27:11Z"), statement_kind: "select", client_app: "api", duration_ms: 273, lock_wait_ms: 67, used_index: true, rows_returned: 1126, scan_factor: "15.9", rows_examined: "17903" },
            { id: 56, table_id: 6, logged_at: new Date("2025-10-08T15:26:34Z"), statement_kind: "select", client_app: "api", duration_ms: 766, lock_wait_ms: 5, used_index: true, rows_returned: 404, scan_factor: "63.1", rows_examined: "25492" },
            { id: 57, table_id: 5, logged_at: new Date("2025-10-16T15:07:44Z"), statement_kind: "update", client_app: "api", duration_ms: 897, lock_wait_ms: 26, used_index: true, rows_returned: 128, scan_factor: "3.6", rows_examined: "461" },
            { id: 58, table_id: 7, logged_at: new Date("2025-10-31T15:52:33Z"), statement_kind: "insert", client_app: "api", duration_ms: 360, lock_wait_ms: 12, used_index: true, rows_returned: 98, scan_factor: "103.1", rows_examined: "10104" },
            { id: 59, table_id: 1, logged_at: new Date("2025-10-08T10:46:40Z"), statement_kind: "select", client_app: "reporting", duration_ms: 481, lock_wait_ms: 20, used_index: true, rows_returned: 648, scan_factor: "128.7", rows_examined: "83398" },
            { id: 60, table_id: 8, logged_at: new Date("2025-10-01T12:38:17Z"), statement_kind: "select", client_app: "worker", duration_ms: 1099, lock_wait_ms: 15, used_index: true, rows_returned: 1679, scan_factor: "1.2", rows_examined: "2015" },
            { id: 61, table_id: 5, logged_at: new Date("2025-10-30T14:00:45Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1143, lock_wait_ms: 89, used_index: true, rows_returned: 13, scan_factor: "59.9", rows_examined: "779" },
            { id: 62, table_id: 8, logged_at: new Date("2025-10-13T14:31:56Z"), statement_kind: "select", client_app: "worker", duration_ms: 5333, lock_wait_ms: 26, used_index: true, rows_returned: 562, scan_factor: "21.1", rows_examined: "11858" },
            { id: 63, table_id: 5, logged_at: new Date("2025-10-14T11:39:40Z"), statement_kind: "select", client_app: "worker", duration_ms: 289, lock_wait_ms: 2, used_index: true, rows_returned: 102, scan_factor: "10.6", rows_examined: "1081" },
            { id: 64, table_id: 4, logged_at: new Date("2025-10-26T14:27:24Z"), statement_kind: "update", client_app: "api", duration_ms: 751, lock_wait_ms: 14, used_index: false, rows_returned: 206, scan_factor: "36.5", rows_examined: "7519" },
            { id: 65, table_id: 7, logged_at: new Date("2025-10-06T14:16:33Z"), statement_kind: "update", client_app: "reporting", duration_ms: 752, lock_wait_ms: 13, used_index: true, rows_returned: 3324, scan_factor: "52.3", rows_examined: "173845" },
            { id: 66, table_id: 7, logged_at: new Date("2025-10-28T12:02:29Z"), statement_kind: "select", client_app: "reporting", duration_ms: 517, lock_wait_ms: 25, used_index: false, rows_returned: 20, scan_factor: "144.0", rows_examined: "2880" },
            { id: 67, table_id: 2, logged_at: new Date("2025-10-17T17:19:20Z"), statement_kind: "update", client_app: "api", duration_ms: 2945, lock_wait_ms: 17, used_index: true, rows_returned: 41, scan_factor: "1.8", rows_examined: "74" },
            { id: 68, table_id: 1, logged_at: new Date("2025-10-20T13:08:49Z"), statement_kind: "update", client_app: "api", duration_ms: 373, lock_wait_ms: 0, used_index: true, rows_returned: 2006, scan_factor: "222.5", rows_examined: "446335" },
            { id: 69, table_id: 8, logged_at: new Date("2025-10-14T09:13:31Z"), statement_kind: "delete", client_app: "worker", duration_ms: 1199, lock_wait_ms: 0, used_index: false, rows_returned: 657, scan_factor: "251.8", rows_examined: "165433" },
            { id: 70, table_id: 8, logged_at: new Date("2025-10-28T09:00:07Z"), statement_kind: "select", client_app: "api", duration_ms: 1167, lock_wait_ms: 44, used_index: false, rows_returned: 155, scan_factor: "17.9", rows_examined: "2775" },
            { id: 71, table_id: 8, logged_at: new Date("2025-10-20T13:59:04Z"), statement_kind: "select", client_app: "worker", duration_ms: 1379, lock_wait_ms: 203, used_index: true, rows_returned: 25, scan_factor: "158.7", rows_examined: "3967" },
            { id: 72, table_id: 8, logged_at: new Date("2025-10-20T10:04:17Z"), statement_kind: "select", client_app: "migrations", duration_ms: 508, lock_wait_ms: 1, used_index: false, rows_returned: 2010, scan_factor: "229.2", rows_examined: "460692" },
            { id: 73, table_id: 4, logged_at: new Date("2025-10-07T16:27:42Z"), statement_kind: "select", client_app: "reporting", duration_ms: 20314, lock_wait_ms: 112, used_index: false, rows_returned: 32, scan_factor: "190.4", rows_examined: "6093" },
            { id: 74, table_id: 8, logged_at: new Date("2025-10-22T21:42:03Z"), statement_kind: "update", client_app: "reporting", duration_ms: 708, lock_wait_ms: 1, used_index: false, rows_returned: 329, scan_factor: "16.2", rows_examined: "5330" },
            { id: 75, table_id: 1, logged_at: new Date("2025-10-13T15:03:40Z"), statement_kind: "select", client_app: "worker", duration_ms: 421, lock_wait_ms: 1, used_index: true, rows_returned: 1747, scan_factor: "43.6", rows_examined: "76169" },
            { id: 76, table_id: 7, logged_at: new Date("2025-10-21T09:26:40Z"), statement_kind: "select", client_app: "worker", duration_ms: 350, lock_wait_ms: 53, used_index: true, rows_returned: 476, scan_factor: "120.7", rows_examined: "57453" },
            { id: 77, table_id: 4, logged_at: new Date("2025-10-29T12:49:57Z"), statement_kind: "select", client_app: "worker", duration_ms: 256, lock_wait_ms: 68, used_index: true, rows_returned: 661, scan_factor: "169.1", rows_examined: "111775" },
            { id: 78, table_id: 1, logged_at: new Date("2025-10-15T15:29:34Z"), statement_kind: "select", client_app: "api", duration_ms: 330, lock_wait_ms: 6, used_index: true, rows_returned: 225, scan_factor: "175.2", rows_examined: "39420" },
            { id: 79, table_id: 2, logged_at: new Date("2025-10-02T10:06:42Z"), statement_kind: "select", client_app: "worker", duration_ms: 751, lock_wait_ms: 79, used_index: true, rows_returned: 335, scan_factor: "200.3", rows_examined: "67101" },
            { id: 80, table_id: 7, logged_at: new Date("2025-10-14T09:53:54Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 44639, lock_wait_ms: 113, used_index: true, rows_returned: 1, scan_factor: "17.5", rows_examined: "18" },
            { id: 81, table_id: 6, logged_at: new Date("2025-10-17T09:29:38Z"), statement_kind: "select", client_app: "worker", duration_ms: 1525, lock_wait_ms: 38, used_index: true, rows_returned: 1202, scan_factor: "128.3", rows_examined: "154217" },
            { id: 82, table_id: 4, logged_at: new Date("2025-10-07T19:00:50Z"), statement_kind: "select", client_app: "reporting", duration_ms: 269, lock_wait_ms: 1, used_index: false, rows_returned: 1, scan_factor: "63.9", rows_examined: "64" },
            { id: 83, table_id: 7, logged_at: new Date("2025-10-29T12:39:11Z"), statement_kind: "select", client_app: "api", duration_ms: 772, lock_wait_ms: 1, used_index: true, rows_returned: 72, scan_factor: "1.4", rows_examined: "101" },
            { id: 84, table_id: 6, logged_at: new Date("2025-10-27T09:34:41Z"), statement_kind: "delete", client_app: "worker", duration_ms: 295, lock_wait_ms: 1, used_index: true, rows_returned: 97, scan_factor: "4.6", rows_examined: "446" },
            { id: 85, table_id: 1, logged_at: new Date("2025-10-02T14:03:48Z"), statement_kind: "update", client_app: "api", duration_ms: 3682, lock_wait_ms: 59, used_index: true, rows_returned: 1751, scan_factor: "260.3", rows_examined: "455785" },
            { id: 86, table_id: 7, logged_at: new Date("2025-10-27T22:03:14Z"), statement_kind: "select", client_app: "api", duration_ms: 1220, lock_wait_ms: 2, used_index: true, rows_returned: 752, scan_factor: "3.9", rows_examined: "2933" },
            { id: 87, table_id: 8, logged_at: new Date("2025-10-10T13:47:44Z"), statement_kind: "select", client_app: "migrations", duration_ms: 2402, lock_wait_ms: 16, used_index: false, rows_returned: 23, scan_factor: "303.9", rows_examined: "6990" },
            { id: 88, table_id: 3, logged_at: new Date("2025-10-01T16:55:52Z"), statement_kind: "select", client_app: "api", duration_ms: 477, lock_wait_ms: 7, used_index: true, rows_returned: 1523, scan_factor: "200.5", rows_examined: "305362" },
            { id: 89, table_id: 7, logged_at: new Date("2025-10-28T11:35:14Z"), statement_kind: "update", client_app: "worker", duration_ms: 607, lock_wait_ms: 7, used_index: false, rows_returned: 2676, scan_factor: "6.0", rows_examined: "16056" },
            { id: 90, table_id: 3, logged_at: new Date("2025-10-28T14:06:03Z"), statement_kind: "select", client_app: "api", duration_ms: 923, lock_wait_ms: 90, used_index: false, rows_returned: 805, scan_factor: "149.4", rows_examined: "120267" },
            { id: 91, table_id: 1, logged_at: new Date("2025-10-29T09:22:21Z"), statement_kind: "delete", client_app: "migrations", duration_ms: 2900, lock_wait_ms: 6, used_index: true, rows_returned: 954, scan_factor: "27.7", rows_examined: "26426" },
            { id: 92, table_id: 7, logged_at: new Date("2025-10-02T22:03:11Z"), statement_kind: "select", client_app: "api", duration_ms: 1153, lock_wait_ms: 26, used_index: true, rows_returned: 151, scan_factor: "212.3", rows_examined: "32057" },
            { id: 93, table_id: 3, logged_at: new Date("2025-10-13T09:05:47Z"), statement_kind: "select", client_app: "api", duration_ms: 2321, lock_wait_ms: 31, used_index: true, rows_returned: 691, scan_factor: "253.0", rows_examined: "174823" },
            { id: 94, table_id: 3, logged_at: new Date("2025-10-21T09:26:21Z"), statement_kind: "select", client_app: "migrations", duration_ms: 357, lock_wait_ms: 24, used_index: true, rows_returned: 2671, scan_factor: "1.0", rows_examined: "2671" },
            { id: 95, table_id: 8, logged_at: new Date("2025-10-28T10:35:21Z"), statement_kind: "select", client_app: "api", duration_ms: 272, lock_wait_ms: 0, used_index: true, rows_returned: 272, scan_factor: "145.4", rows_examined: "39549" },
            { id: 96, table_id: 6, logged_at: new Date("2025-10-02T13:42:29Z"), statement_kind: "select", client_app: "migrations", duration_ms: 1118, lock_wait_ms: 8, used_index: true, rows_returned: 1352, scan_factor: "219.7", rows_examined: "297034" },
            { id: 97, table_id: 6, logged_at: new Date("2025-10-23T09:55:56Z"), statement_kind: "select", client_app: "reporting", duration_ms: 272, lock_wait_ms: 1, used_index: true, rows_returned: 75, scan_factor: "107.4", rows_examined: "8055" },
            { id: 98, table_id: 3, logged_at: new Date("2025-10-21T09:55:22Z"), statement_kind: "select", client_app: "api", duration_ms: 1437, lock_wait_ms: 7, used_index: true, rows_returned: 421, scan_factor: "3.5", rows_examined: "1474" },
            { id: 99, table_id: 6, logged_at: new Date("2025-10-03T16:56:35Z"), statement_kind: "select", client_app: "reporting", duration_ms: 360, lock_wait_ms: 1, used_index: false, rows_returned: 505, scan_factor: "240.6", rows_examined: "121503" },
            { id: 100, table_id: 3, logged_at: new Date("2025-10-23T10:55:54Z"), statement_kind: "select", client_app: "api", duration_ms: 5065, lock_wait_ms: 124, used_index: true, rows_returned: 560, scan_factor: "11.4", rows_examined: "6384" },
            { id: 101, table_id: 1, logged_at: new Date("2025-10-13T15:17:57Z"), statement_kind: "select", client_app: "reporting", duration_ms: 971, lock_wait_ms: 61, used_index: false, rows_returned: 103, scan_factor: "105.6", rows_examined: "10877" },
            { id: 102, table_id: 6, logged_at: new Date("2025-10-11T15:00:48Z"), statement_kind: "select", client_app: "migrations", duration_ms: 301, lock_wait_ms: 32, used_index: true, rows_returned: 7, scan_factor: "106.2", rows_examined: "743" },
            { id: 103, table_id: 8, logged_at: new Date("2025-10-24T10:59:38Z"), statement_kind: "select", client_app: "migrations", duration_ms: 907, lock_wait_ms: 0, used_index: false, rows_returned: 227, scan_factor: "2.4", rows_examined: "545" },
            { id: 104, table_id: 7, logged_at: new Date("2025-10-01T13:55:01Z"), statement_kind: "select", client_app: "api", duration_ms: 351, lock_wait_ms: 4, used_index: true, rows_returned: 588, scan_factor: "6.1", rows_examined: "3587" },
            { id: 105, table_id: 4, logged_at: new Date("2025-10-09T14:36:43Z"), statement_kind: "select", client_app: "migrations", duration_ms: 351, lock_wait_ms: 20, used_index: true, rows_returned: 728, scan_factor: "1.4", rows_examined: "1019" },
            { id: 106, table_id: 5, logged_at: new Date("2025-10-01T11:46:15Z"), statement_kind: "select", client_app: "api", duration_ms: 3443, lock_wait_ms: 249, used_index: true, rows_returned: 398, scan_factor: "1.0", rows_examined: "398" },
            { id: 107, table_id: 4, logged_at: new Date("2025-10-04T08:55:52Z"), statement_kind: "select", client_app: "worker", duration_ms: 1756, lock_wait_ms: 45, used_index: true, rows_returned: 1526, scan_factor: "26.8", rows_examined: "40897" },
            { id: 108, table_id: 2, logged_at: new Date("2025-10-15T10:58:58Z"), statement_kind: "select", client_app: "reporting", duration_ms: 648, lock_wait_ms: 1, used_index: true, rows_returned: 1732, scan_factor: "99.1", rows_examined: "171641" },
            { id: 109, table_id: 6, logged_at: new Date("2025-10-23T10:54:54Z"), statement_kind: "select", client_app: "api", duration_ms: 376, lock_wait_ms: 10, used_index: false, rows_returned: 1, scan_factor: "212.8", rows_examined: "213" },
            { id: 110, table_id: 1, logged_at: new Date("2025-10-16T12:12:29Z"), statement_kind: "select", client_app: "migrations", duration_ms: 3493, lock_wait_ms: 135, used_index: true, rows_returned: 2804, scan_factor: "21.3", rows_examined: "59725" },
            { id: 111, table_id: 5, logged_at: new Date("2025-10-27T12:21:05Z"), statement_kind: "select", client_app: "worker", duration_ms: 574, lock_wait_ms: 8, used_index: true, rows_returned: 1833, scan_factor: "126.3", rows_examined: "231508" },
            { id: 112, table_id: 3, logged_at: new Date("2025-10-24T14:48:59Z"), statement_kind: "select", client_app: "reporting", duration_ms: 561, lock_wait_ms: 20, used_index: true, rows_returned: 7, scan_factor: "6.7", rows_examined: "47" },
            { id: 113, table_id: 7, logged_at: new Date("2025-10-28T15:12:21Z"), statement_kind: "select", client_app: "api", duration_ms: 515, lock_wait_ms: 3, used_index: true, rows_returned: 1252, scan_factor: "227.9", rows_examined: "285331" },
            { id: 114, table_id: 6, logged_at: new Date("2025-10-03T16:33:16Z"), statement_kind: "delete", client_app: "api", duration_ms: 290, lock_wait_ms: 8, used_index: true, rows_returned: 140, scan_factor: "381.5", rows_examined: "53410" },
            { id: 115, table_id: 1, logged_at: new Date("2025-10-29T11:23:34Z"), statement_kind: "select", client_app: "api", duration_ms: 6803, lock_wait_ms: 6, used_index: false, rows_returned: 688, scan_factor: "249.0", rows_examined: "171312" },
            { id: 116, table_id: 3, logged_at: new Date("2025-10-15T14:04:53Z"), statement_kind: "select", client_app: "api", duration_ms: 2074, lock_wait_ms: 15, used_index: true, rows_returned: 1, scan_factor: "349.9", rows_examined: "350" },
            { id: 117, table_id: 7, logged_at: new Date("2025-10-22T13:08:15Z"), statement_kind: "select", client_app: "worker", duration_ms: 1182, lock_wait_ms: 21, used_index: false, rows_returned: 157, scan_factor: "268.8", rows_examined: "42202" },
            { id: 118, table_id: 3, logged_at: new Date("2025-10-05T13:32:47Z"), statement_kind: "select", client_app: "api", duration_ms: 379, lock_wait_ms: 8, used_index: true, rows_returned: 41, scan_factor: "13.6", rows_examined: "558" },
            { id: 119, table_id: 5, logged_at: new Date("2025-10-25T17:48:30Z"), statement_kind: "delete", client_app: "reporting", duration_ms: 2340, lock_wait_ms: 14, used_index: true, rows_returned: 658, scan_factor: "21.1", rows_examined: "13884" },
            { id: 120, table_id: 3, logged_at: new Date("2025-10-02T09:31:08Z"), statement_kind: "insert", client_app: "api", duration_ms: 258, lock_wait_ms: 4, used_index: true, rows_returned: 423, scan_factor: "308.5", rows_examined: "130496" },
            { id: 121, table_id: 6, logged_at: new Date("2025-10-31T11:32:47Z"), statement_kind: "select", client_app: "api", duration_ms: 1117, lock_wait_ms: 3, used_index: true, rows_returned: 2834, scan_factor: "316.9", rows_examined: "898095" },
            { id: 122, table_id: 6, logged_at: new Date("2025-10-13T15:43:31Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1907, lock_wait_ms: 2, used_index: true, rows_returned: 1031, scan_factor: "4.9", rows_examined: "5052" },
            { id: 123, table_id: 7, logged_at: new Date("2025-10-23T14:25:22Z"), statement_kind: "select", client_app: "reporting", duration_ms: 655, lock_wait_ms: 4, used_index: true, rows_returned: 1057, scan_factor: "154.7", rows_examined: "163518" },
            { id: 124, table_id: 6, logged_at: new Date("2025-10-14T14:09:22Z"), statement_kind: "delete", client_app: "reporting", duration_ms: 1733, lock_wait_ms: 30, used_index: true, rows_returned: 219, scan_factor: "20.2", rows_examined: "4424" },
            { id: 125, table_id: 6, logged_at: new Date("2025-10-30T16:05:33Z"), statement_kind: "delete", client_app: "api", duration_ms: 586, lock_wait_ms: 5, used_index: true, rows_returned: 6, scan_factor: "1.0", rows_examined: "6" },
            { id: 126, table_id: 8, logged_at: new Date("2025-10-03T08:26:32Z"), statement_kind: "select", client_app: "worker", duration_ms: 439, lock_wait_ms: 1, used_index: true, rows_returned: 30, scan_factor: "14.4", rows_examined: "432" },
            { id: 127, table_id: 5, logged_at: new Date("2025-10-29T14:08:57Z"), statement_kind: "select", client_app: "worker", duration_ms: 846, lock_wait_ms: 25, used_index: true, rows_returned: 16, scan_factor: "60.4", rows_examined: "966" },
            { id: 128, table_id: 3, logged_at: new Date("2025-10-23T13:23:07Z"), statement_kind: "select", client_app: "worker", duration_ms: 9600, lock_wait_ms: 77, used_index: false, rows_returned: 373, scan_factor: "116.9", rows_examined: "43604" },
            { id: 129, table_id: 3, logged_at: new Date("2025-10-28T09:48:04Z"), statement_kind: "select", client_app: "api", duration_ms: 388, lock_wait_ms: 0, used_index: true, rows_returned: 1, scan_factor: "394.9", rows_examined: "395" },
            { id: 130, table_id: 3, logged_at: new Date("2025-10-15T11:03:55Z"), statement_kind: "delete", client_app: "api", duration_ms: 6481, lock_wait_ms: 118, used_index: true, rows_returned: 898, scan_factor: "1.1", rows_examined: "988" },
            { id: 131, table_id: 4, logged_at: new Date("2025-10-28T11:15:22Z"), statement_kind: "update", client_app: "worker", duration_ms: 838, lock_wait_ms: 1, used_index: true, rows_returned: 2674, scan_factor: "1.6", rows_examined: "4278" },
            { id: 132, table_id: 7, logged_at: new Date("2025-10-07T15:58:00Z"), statement_kind: "update", client_app: "api", duration_ms: 550, lock_wait_ms: 3, used_index: true, rows_returned: 53, scan_factor: "13.3", rows_examined: "705" },
            { id: 133, table_id: 8, logged_at: new Date("2025-10-21T11:00:28Z"), statement_kind: "delete", client_app: "worker", duration_ms: 4459, lock_wait_ms: 50, used_index: true, rows_returned: 3168, scan_factor: "375.1", rows_examined: "1188317" },
            { id: 134, table_id: 7, logged_at: new Date("2025-10-15T18:51:50Z"), statement_kind: "select", client_app: "reporting", duration_ms: 2070, lock_wait_ms: 8, used_index: true, rows_returned: 192, scan_factor: "204.1", rows_examined: "39187" },
            { id: 135, table_id: 2, logged_at: new Date("2025-10-25T10:22:50Z"), statement_kind: "update", client_app: "api", duration_ms: 428, lock_wait_ms: 5, used_index: true, rows_returned: 1841, scan_factor: "1.2", rows_examined: "2209" },
            { id: 136, table_id: 1, logged_at: new Date("2025-10-08T09:04:05Z"), statement_kind: "select", client_app: "api", duration_ms: 574, lock_wait_ms: 8, used_index: true, rows_returned: 1369, scan_factor: "319.9", rows_examined: "437943" },
            { id: 137, table_id: 6, logged_at: new Date("2025-10-20T14:30:28Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 582, lock_wait_ms: 6, used_index: true, rows_returned: 760, scan_factor: "216.7", rows_examined: "164692" },
            { id: 138, table_id: 2, logged_at: new Date("2025-10-25T11:13:25Z"), statement_kind: "select", client_app: "worker", duration_ms: 312, lock_wait_ms: 2, used_index: false, rows_returned: 3, scan_factor: "271.4", rows_examined: "814" },
            { id: 139, table_id: 2, logged_at: new Date("2025-10-07T16:18:53Z"), statement_kind: "select", client_app: "worker", duration_ms: 3487, lock_wait_ms: 13, used_index: true, rows_returned: 1330, scan_factor: "19.1", rows_examined: "25403" },
            { id: 140, table_id: 7, logged_at: new Date("2025-10-01T15:14:57Z"), statement_kind: "select", client_app: "worker", duration_ms: 756, lock_wait_ms: 8, used_index: true, rows_returned: 2, scan_factor: "252.7", rows_examined: "505" },
            { id: 141, table_id: 1, logged_at: new Date("2025-10-24T16:01:23Z"), statement_kind: "select", client_app: "reporting", duration_ms: 2204, lock_wait_ms: 30, used_index: true, rows_returned: 121, scan_factor: "4.1", rows_examined: "496" },
            { id: 142, table_id: 5, logged_at: new Date("2025-10-03T17:10:30Z"), statement_kind: "select", client_app: "migrations", duration_ms: 473, lock_wait_ms: 22, used_index: true, rows_returned: 5, scan_factor: "23.7", rows_examined: "119" },
            { id: 143, table_id: 7, logged_at: new Date("2025-10-24T11:52:05Z"), statement_kind: "select", client_app: "api", duration_ms: 897, lock_wait_ms: 22, used_index: true, rows_returned: 942, scan_factor: "1.0", rows_examined: "942" },
            { id: 144, table_id: 8, logged_at: new Date("2025-10-16T12:48:12Z"), statement_kind: "delete", client_app: "worker", duration_ms: 438, lock_wait_ms: 0, used_index: true, rows_returned: 38, scan_factor: "101.7", rows_examined: "3865" },
            { id: 145, table_id: 7, logged_at: new Date("2025-10-12T15:36:41Z"), statement_kind: "select", client_app: "worker", duration_ms: 412, lock_wait_ms: 155, used_index: false, rows_returned: 485, scan_factor: "1.8", rows_examined: "873" },
            { id: 146, table_id: 2, logged_at: new Date("2025-10-15T17:39:40Z"), statement_kind: "delete", client_app: "worker", duration_ms: 3804, lock_wait_ms: 82, used_index: true, rows_returned: 6, scan_factor: "119.8", rows_examined: "719" },
            { id: 147, table_id: 1, logged_at: new Date("2025-10-07T15:36:49Z"), statement_kind: "update", client_app: "worker", duration_ms: 305, lock_wait_ms: 1, used_index: false, rows_returned: 102, scan_factor: "29.7", rows_examined: "3029" },
            { id: 148, table_id: 7, logged_at: new Date("2025-10-09T09:29:32Z"), statement_kind: "select", client_app: "api", duration_ms: 5206, lock_wait_ms: 34, used_index: true, rows_returned: 38, scan_factor: "1.2", rows_examined: "46" },
            { id: 149, table_id: 2, logged_at: new Date("2025-10-30T11:11:56Z"), statement_kind: "insert", client_app: "worker", duration_ms: 40040, lock_wait_ms: 166, used_index: false, rows_returned: 3780, scan_factor: "258.7", rows_examined: "977886" },
            { id: 150, table_id: 3, logged_at: new Date("2025-10-14T16:57:25Z"), statement_kind: "select", client_app: "api", duration_ms: 984, lock_wait_ms: 37, used_index: true, rows_returned: 231, scan_factor: "9.7", rows_examined: "2241" },
            { id: 151, table_id: 1, logged_at: new Date("2025-10-15T15:29:40Z"), statement_kind: "update", client_app: "reporting", duration_ms: 352, lock_wait_ms: 0, used_index: false, rows_returned: 1369, scan_factor: "65.2", rows_examined: "89259" },
            { id: 152, table_id: 1, logged_at: new Date("2025-10-27T08:24:53Z"), statement_kind: "select", client_app: "api", duration_ms: 8254, lock_wait_ms: 95, used_index: true, rows_returned: 112, scan_factor: "1.2", rows_examined: "134" },
            { id: 153, table_id: 8, logged_at: new Date("2025-10-29T12:21:27Z"), statement_kind: "select", client_app: "api", duration_ms: 1041, lock_wait_ms: 205, used_index: true, rows_returned: 1, scan_factor: "20.3", rows_examined: "20" },
            { id: 154, table_id: 3, logged_at: new Date("2025-10-14T08:34:29Z"), statement_kind: "delete", client_app: "worker", duration_ms: 6616, lock_wait_ms: 6, used_index: true, rows_returned: 1525, scan_factor: "60.6", rows_examined: "92415" },
            { id: 155, table_id: 7, logged_at: new Date("2025-10-28T11:56:38Z"), statement_kind: "select", client_app: "reporting", duration_ms: 3113, lock_wait_ms: 79, used_index: true, rows_returned: 1028, scan_factor: "195.4", rows_examined: "200871" },
            { id: 156, table_id: 4, logged_at: new Date("2025-10-09T12:33:51Z"), statement_kind: "select", client_app: "worker", duration_ms: 1311, lock_wait_ms: 64, used_index: true, rows_returned: 679, scan_factor: "71.6", rows_examined: "48616" },
            { id: 157, table_id: 7, logged_at: new Date("2025-10-10T13:26:16Z"), statement_kind: "update", client_app: "api", duration_ms: 2943, lock_wait_ms: 9, used_index: true, rows_returned: 2896, scan_factor: "100.5", rows_examined: "291048" },
            { id: 158, table_id: 1, logged_at: new Date("2025-10-16T16:50:27Z"), statement_kind: "select", client_app: "api", duration_ms: 849, lock_wait_ms: 15, used_index: false, rows_returned: 1181, scan_factor: "6.0", rows_examined: "7086" },
            { id: 159, table_id: 2, logged_at: new Date("2025-10-14T10:00:44Z"), statement_kind: "insert", client_app: "worker", duration_ms: 263, lock_wait_ms: 82, used_index: false, rows_returned: 3, scan_factor: "8.1", rows_examined: "24" },
            { id: 160, table_id: 6, logged_at: new Date("2025-10-01T07:40:22Z"), statement_kind: "select", client_app: "api", duration_ms: 1442, lock_wait_ms: 1, used_index: true, rows_returned: 2253, scan_factor: "1.6", rows_examined: "3605" },
            { id: 161, table_id: 2, logged_at: new Date("2025-10-14T15:21:21Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1098, lock_wait_ms: 405, used_index: false, rows_returned: 3959, scan_factor: "349.9", rows_examined: "1385254" },
            { id: 162, table_id: 6, logged_at: new Date("2025-10-12T09:33:04Z"), statement_kind: "select", client_app: "worker", duration_ms: 1432, lock_wait_ms: 2, used_index: true, rows_returned: 3713, scan_factor: "74.2", rows_examined: "275505" },
            { id: 163, table_id: 4, logged_at: new Date("2025-10-15T09:46:19Z"), statement_kind: "select", client_app: "api", duration_ms: 2470, lock_wait_ms: 4, used_index: true, rows_returned: 2332, scan_factor: "45.0", rows_examined: "104940" },
            { id: 164, table_id: 7, logged_at: new Date("2025-10-21T09:30:34Z"), statement_kind: "update", client_app: "worker", duration_ms: 1482, lock_wait_ms: 9, used_index: true, rows_returned: 2760, scan_factor: "107.3", rows_examined: "296148" },
            { id: 165, table_id: 6, logged_at: new Date("2025-10-15T08:48:52Z"), statement_kind: "select", client_app: "worker", duration_ms: 1077, lock_wait_ms: 63, used_index: true, rows_returned: 480, scan_factor: "96.5", rows_examined: "46320" },
            { id: 166, table_id: 5, logged_at: new Date("2025-10-15T15:01:13Z"), statement_kind: "select", client_app: "api", duration_ms: 840, lock_wait_ms: 48, used_index: true, rows_returned: 357, scan_factor: "212.8", rows_examined: "75970" },
            { id: 167, table_id: 2, logged_at: new Date("2025-10-26T14:18:47Z"), statement_kind: "insert", client_app: "api", duration_ms: 4532, lock_wait_ms: 19, used_index: true, rows_returned: 494, scan_factor: "29.4", rows_examined: "14524" },
            { id: 168, table_id: 7, logged_at: new Date("2025-10-20T14:02:38Z"), statement_kind: "select", client_app: "api", duration_ms: 2291, lock_wait_ms: 17, used_index: false, rows_returned: 4335, scan_factor: "53.6", rows_examined: "232356" },
            { id: 169, table_id: 7, logged_at: new Date("2025-10-24T18:12:11Z"), statement_kind: "select", client_app: "api", duration_ms: 362, lock_wait_ms: 1, used_index: true, rows_returned: 3381, scan_factor: "315.3", rows_examined: "1066029" },
            { id: 170, table_id: 8, logged_at: new Date("2025-10-14T14:35:40Z"), statement_kind: "select", client_app: "api", duration_ms: 270, lock_wait_ms: 1, used_index: true, rows_returned: 763, scan_factor: "19.3", rows_examined: "14726" },
            { id: 171, table_id: 7, logged_at: new Date("2025-10-23T10:22:53Z"), statement_kind: "select", client_app: "api", duration_ms: 7079, lock_wait_ms: 9, used_index: true, rows_returned: 1, scan_factor: "366.3", rows_examined: "366" },
            { id: 172, table_id: 2, logged_at: new Date("2025-10-17T15:44:38Z"), statement_kind: "select", client_app: "migrations", duration_ms: 9434, lock_wait_ms: 9, used_index: true, rows_returned: 1082, scan_factor: "48.4", rows_examined: "52369" },
            { id: 173, table_id: 1, logged_at: new Date("2025-10-08T09:49:17Z"), statement_kind: "update", client_app: "api", duration_ms: 302, lock_wait_ms: 5, used_index: true, rows_returned: 284, scan_factor: "151.2", rows_examined: "42941" },
            { id: 174, table_id: 4, logged_at: new Date("2025-10-27T11:41:51Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 3850, lock_wait_ms: 48, used_index: true, rows_returned: 2680, scan_factor: "1.5", rows_examined: "4020" },
            { id: 175, table_id: 4, logged_at: new Date("2025-10-01T11:21:01Z"), statement_kind: "select", client_app: "worker", duration_ms: 609, lock_wait_ms: 3, used_index: false, rows_returned: 1, scan_factor: "1.0", rows_examined: "1" },
            { id: 176, table_id: 4, logged_at: new Date("2025-10-23T17:31:20Z"), statement_kind: "select", client_app: "worker", duration_ms: 8809, lock_wait_ms: 59, used_index: true, rows_returned: 3496, scan_factor: "71.2", rows_examined: "248915" },
            { id: 177, table_id: 4, logged_at: new Date("2025-10-17T10:25:49Z"), statement_kind: "select", client_app: "worker", duration_ms: 1158, lock_wait_ms: 0, used_index: true, rows_returned: 1960, scan_factor: "43.1", rows_examined: "84476" },
            { id: 178, table_id: 1, logged_at: new Date("2025-10-18T10:38:08Z"), statement_kind: "select", client_app: "worker", duration_ms: 1111, lock_wait_ms: 13, used_index: true, rows_returned: 1, scan_factor: "213.6", rows_examined: "214" },
            { id: 179, table_id: 3, logged_at: new Date("2025-10-28T11:05:04Z"), statement_kind: "select", client_app: "api", duration_ms: 378, lock_wait_ms: 2, used_index: true, rows_returned: 1593, scan_factor: "8.7", rows_examined: "13859" },
            { id: 180, table_id: 7, logged_at: new Date("2025-10-09T15:52:45Z"), statement_kind: "delete", client_app: "worker", duration_ms: 766, lock_wait_ms: 2, used_index: true, rows_returned: 43, scan_factor: "374.2", rows_examined: "16091" },
            { id: 181, table_id: 6, logged_at: new Date("2025-10-17T09:29:53Z"), statement_kind: "delete", client_app: "reporting", duration_ms: 1224, lock_wait_ms: 2, used_index: true, rows_returned: 2574, scan_factor: "121.4", rows_examined: "312484" },
            { id: 182, table_id: 3, logged_at: new Date("2025-10-22T18:14:52Z"), statement_kind: "select", client_app: "api", duration_ms: 1006, lock_wait_ms: 3, used_index: false, rows_returned: 3163, scan_factor: "39.8", rows_examined: "125887" },
            { id: 183, table_id: 4, logged_at: new Date("2025-10-23T19:37:55Z"), statement_kind: "update", client_app: "api", duration_ms: 2916, lock_wait_ms: 6, used_index: false, rows_returned: 1873, scan_factor: "6.0", rows_examined: "11238" },
            { id: 184, table_id: 8, logged_at: new Date("2025-10-16T14:43:23Z"), statement_kind: "select", client_app: "worker", duration_ms: 1522, lock_wait_ms: 2, used_index: true, rows_returned: 877, scan_factor: "18.8", rows_examined: "16488" },
            { id: 185, table_id: 2, logged_at: new Date("2025-10-28T12:24:10Z"), statement_kind: "select", client_app: "migrations", duration_ms: 356, lock_wait_ms: 6, used_index: false, rows_returned: 3431, scan_factor: "331.2", rows_examined: "1136347" },
            { id: 186, table_id: 1, logged_at: new Date("2025-10-10T16:12:55Z"), statement_kind: "select", client_app: "worker", duration_ms: 1079, lock_wait_ms: 26, used_index: true, rows_returned: 1, scan_factor: "47.1", rows_examined: "47" },
            { id: 187, table_id: 6, logged_at: new Date("2025-10-06T10:33:24Z"), statement_kind: "select", client_app: "api", duration_ms: 610, lock_wait_ms: 6, used_index: false, rows_returned: 517, scan_factor: "15.2", rows_examined: "7858" },
            { id: 188, table_id: 7, logged_at: new Date("2025-10-27T15:31:59Z"), statement_kind: "select", client_app: "api", duration_ms: 327, lock_wait_ms: 0, used_index: true, rows_returned: 351, scan_factor: "305.7", rows_examined: "107301" },
            { id: 189, table_id: 2, logged_at: new Date("2025-10-09T07:28:34Z"), statement_kind: "select", client_app: "api", duration_ms: 565, lock_wait_ms: 5, used_index: false, rows_returned: 105, scan_factor: "22.4", rows_examined: "2352" },
            { id: 190, table_id: 4, logged_at: new Date("2025-10-07T09:24:15Z"), statement_kind: "select", client_app: "worker", duration_ms: 765, lock_wait_ms: 2, used_index: true, rows_returned: 74, scan_factor: "2.7", rows_examined: "200" },
            { id: 191, table_id: 1, logged_at: new Date("2025-10-16T13:54:28Z"), statement_kind: "select", client_app: "api", duration_ms: 661, lock_wait_ms: 13, used_index: true, rows_returned: 1, scan_factor: "390.6", rows_examined: "391" },
            { id: 192, table_id: 1, logged_at: new Date("2025-10-07T09:45:59Z"), statement_kind: "update", client_app: "api", duration_ms: 4542, lock_wait_ms: 14, used_index: true, rows_returned: 3947, scan_factor: "303.9", rows_examined: "1199493" },
            { id: 193, table_id: 5, logged_at: new Date("2025-10-21T13:24:17Z"), statement_kind: "update", client_app: "reporting", duration_ms: 1173, lock_wait_ms: 297, used_index: true, rows_returned: 8, scan_factor: "14.8", rows_examined: "118" },
            { id: 194, table_id: 4, logged_at: new Date("2025-10-28T17:04:19Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1873, lock_wait_ms: 11, used_index: true, rows_returned: 396, scan_factor: "224.4", rows_examined: "88862" },
            { id: 195, table_id: 7, logged_at: new Date("2025-10-18T08:06:55Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1179, lock_wait_ms: 11, used_index: false, rows_returned: 4160, scan_factor: "1.0", rows_examined: "4160" },
            { id: 196, table_id: 1, logged_at: new Date("2025-10-24T15:59:49Z"), statement_kind: "select", client_app: "api", duration_ms: 640, lock_wait_ms: 60, used_index: true, rows_returned: 4619, scan_factor: "66.2", rows_examined: "305778" },
            { id: 197, table_id: 7, logged_at: new Date("2025-10-17T16:59:02Z"), statement_kind: "select", client_app: "worker", duration_ms: 821, lock_wait_ms: 10, used_index: true, rows_returned: 97, scan_factor: "1.7", rows_examined: "165" },
            { id: 198, table_id: 1, logged_at: new Date("2025-10-10T12:45:01Z"), statement_kind: "select", client_app: "api", duration_ms: 372, lock_wait_ms: 3, used_index: false, rows_returned: 2274, scan_factor: "65.3", rows_examined: "148492" },
            { id: 199, table_id: 6, logged_at: new Date("2025-10-03T14:11:24Z"), statement_kind: "select", client_app: "worker", duration_ms: 2213, lock_wait_ms: 11, used_index: true, rows_returned: 162, scan_factor: "1.0", rows_examined: "162" },
            { id: 200, table_id: 2, logged_at: new Date("2025-10-30T14:28:36Z"), statement_kind: "delete", client_app: "reporting", duration_ms: 3571, lock_wait_ms: 41, used_index: true, rows_returned: 728, scan_factor: "275.4", rows_examined: "200491" },
            { id: 201, table_id: 2, logged_at: new Date("2025-10-16T12:37:01Z"), statement_kind: "select", client_app: "worker", duration_ms: 9156, lock_wait_ms: 66, used_index: true, rows_returned: 3224, scan_factor: "106.0", rows_examined: "341744" },
            { id: 202, table_id: 2, logged_at: new Date("2025-10-27T13:40:36Z"), statement_kind: "select", client_app: "worker", duration_ms: 286, lock_wait_ms: 6, used_index: false, rows_returned: 101, scan_factor: "23.6", rows_examined: "2384" },
            { id: 203, table_id: 8, logged_at: new Date("2025-10-14T08:08:25Z"), statement_kind: "select", client_app: "api", duration_ms: 915, lock_wait_ms: 1, used_index: true, rows_returned: 9, scan_factor: "1.0", rows_examined: "9" },
            { id: 204, table_id: 3, logged_at: new Date("2025-10-08T06:23:39Z"), statement_kind: "update", client_app: "reporting", duration_ms: 6106, lock_wait_ms: 42, used_index: true, rows_returned: 4139, scan_factor: "77.2", rows_examined: "319531" },
            { id: 205, table_id: 3, logged_at: new Date("2025-10-17T09:31:43Z"), statement_kind: "select", client_app: "reporting", duration_ms: 326, lock_wait_ms: 3, used_index: true, rows_returned: 116, scan_factor: "110.0", rows_examined: "12760" },
            { id: 206, table_id: 7, logged_at: new Date("2025-10-27T16:11:21Z"), statement_kind: "update", client_app: "api", duration_ms: 272, lock_wait_ms: 2, used_index: false, rows_returned: 3370, scan_factor: "1.0", rows_examined: "3370" },
            { id: 207, table_id: 4, logged_at: new Date("2025-10-22T10:00:59Z"), statement_kind: "select", client_app: "worker", duration_ms: 524, lock_wait_ms: 1, used_index: false, rows_returned: 3252, scan_factor: "282.0", rows_examined: "917064" },
            { id: 208, table_id: 7, logged_at: new Date("2025-10-14T06:28:09Z"), statement_kind: "select", client_app: "reporting", duration_ms: 601, lock_wait_ms: 25, used_index: true, rows_returned: 3901, scan_factor: "116.5", rows_examined: "454467" },
            { id: 209, table_id: 1, logged_at: new Date("2025-10-22T14:19:01Z"), statement_kind: "select", client_app: "reporting", duration_ms: 348, lock_wait_ms: 36, used_index: true, rows_returned: 458, scan_factor: "25.7", rows_examined: "11771" },
            { id: 210, table_id: 3, logged_at: new Date("2025-10-24T12:06:06Z"), statement_kind: "select", client_app: "worker", duration_ms: 1259, lock_wait_ms: 7, used_index: true, rows_returned: 342, scan_factor: "17.7", rows_examined: "6053" },
            { id: 211, table_id: 8, logged_at: new Date("2025-10-22T17:05:22Z"), statement_kind: "select", client_app: "api", duration_ms: 1852, lock_wait_ms: 3, used_index: false, rows_returned: 202, scan_factor: "33.6", rows_examined: "6787" },
            { id: 212, table_id: 5, logged_at: new Date("2025-10-20T19:46:36Z"), statement_kind: "select", client_app: "reporting", duration_ms: 11860, lock_wait_ms: 180, used_index: true, rows_returned: 670, scan_factor: "278.2", rows_examined: "186394" },
            { id: 213, table_id: 3, logged_at: new Date("2025-10-02T17:14:46Z"), statement_kind: "select", client_app: "api", duration_ms: 2724, lock_wait_ms: 23, used_index: true, rows_returned: 3763, scan_factor: "123.3", rows_examined: "463978" },
            { id: 214, table_id: 4, logged_at: new Date("2025-10-23T15:39:31Z"), statement_kind: "select", client_app: "worker", duration_ms: 1383, lock_wait_ms: 6, used_index: false, rows_returned: 2, scan_factor: "1.5", rows_examined: "3" },
            { id: 215, table_id: 1, logged_at: new Date("2025-10-29T14:35:36Z"), statement_kind: "select", client_app: "api", duration_ms: 345, lock_wait_ms: 0, used_index: true, rows_returned: 326, scan_factor: "150.6", rows_examined: "49096" },
            { id: 216, table_id: 3, logged_at: new Date("2025-10-13T17:14:26Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 297, lock_wait_ms: 4, used_index: false, rows_returned: 3163, scan_factor: "1.1", rows_examined: "3479" },
            { id: 217, table_id: 7, logged_at: new Date("2025-10-07T14:39:41Z"), statement_kind: "select", client_app: "worker", duration_ms: 930, lock_wait_ms: 8, used_index: false, rows_returned: 4, scan_factor: "292.2", rows_examined: "1169" },
            { id: 218, table_id: 2, logged_at: new Date("2025-10-07T10:39:39Z"), statement_kind: "select", client_app: "api", duration_ms: 328, lock_wait_ms: 11, used_index: false, rows_returned: 1279, scan_factor: "6.0", rows_examined: "7674" },
            { id: 219, table_id: 1, logged_at: new Date("2025-10-10T16:11:44Z"), statement_kind: "select", client_app: "api", duration_ms: 6941, lock_wait_ms: 622, used_index: false, rows_returned: 1388, scan_factor: "16.7", rows_examined: "23180" },
            { id: 220, table_id: 5, logged_at: new Date("2025-10-16T18:20:30Z"), statement_kind: "update", client_app: "migrations", duration_ms: 910, lock_wait_ms: 7, used_index: false, rows_returned: 11, scan_factor: "1.1", rows_examined: "12" },
            { id: 221, table_id: 3, logged_at: new Date("2025-10-31T12:46:16Z"), statement_kind: "update", client_app: "worker", duration_ms: 1130, lock_wait_ms: 8, used_index: false, rows_returned: 1798, scan_factor: "207.0", rows_examined: "372186" },
            { id: 222, table_id: 3, logged_at: new Date("2025-10-07T09:51:58Z"), statement_kind: "select", client_app: "api", duration_ms: 741, lock_wait_ms: 178, used_index: true, rows_returned: 3, scan_factor: "309.7", rows_examined: "929" },
            { id: 223, table_id: 7, logged_at: new Date("2025-10-23T07:37:32Z"), statement_kind: "select", client_app: "api", duration_ms: 517, lock_wait_ms: 6, used_index: true, rows_returned: 35, scan_factor: "24.3", rows_examined: "851" },
            { id: 224, table_id: 6, logged_at: new Date("2025-10-17T11:43:50Z"), statement_kind: "update", client_app: "api", duration_ms: 1316, lock_wait_ms: 11, used_index: true, rows_returned: 164, scan_factor: "1.9", rows_examined: "312" },
            { id: 225, table_id: 1, logged_at: new Date("2025-10-31T11:48:12Z"), statement_kind: "update", client_app: "worker", duration_ms: 2794, lock_wait_ms: 140, used_index: true, rows_returned: 1414, scan_factor: "187.0", rows_examined: "264418" },
            { id: 226, table_id: 2, logged_at: new Date("2025-10-26T14:49:26Z"), statement_kind: "select", client_app: "api", duration_ms: 758, lock_wait_ms: 18, used_index: false, rows_returned: 1577, scan_factor: "343.8", rows_examined: "542173" },
            { id: 227, table_id: 6, logged_at: new Date("2025-10-28T13:36:16Z"), statement_kind: "select", client_app: "api", duration_ms: 549, lock_wait_ms: 17, used_index: false, rows_returned: 1336, scan_factor: "17.3", rows_examined: "23113" },
            { id: 228, table_id: 5, logged_at: new Date("2025-10-07T12:27:32Z"), statement_kind: "select", client_app: "worker", duration_ms: 4395, lock_wait_ms: 7, used_index: false, rows_returned: 11, scan_factor: "8.3", rows_examined: "91" },
            { id: 229, table_id: 8, logged_at: new Date("2025-10-17T10:28:04Z"), statement_kind: "select", client_app: "api", duration_ms: 621, lock_wait_ms: 0, used_index: true, rows_returned: 1601, scan_factor: "84.2", rows_examined: "134804" },
            { id: 230, table_id: 8, logged_at: new Date("2025-10-22T14:38:07Z"), statement_kind: "select", client_app: "worker", duration_ms: 598, lock_wait_ms: 103, used_index: false, rows_returned: 97, scan_factor: "303.4", rows_examined: "29430" },
            { id: 231, table_id: 7, logged_at: new Date("2025-10-15T15:49:02Z"), statement_kind: "select", client_app: "reporting", duration_ms: 517, lock_wait_ms: 5, used_index: true, rows_returned: 64, scan_factor: "301.4", rows_examined: "19290" },
            { id: 232, table_id: 5, logged_at: new Date("2025-10-01T18:15:16Z"), statement_kind: "select", client_app: "api", duration_ms: 327, lock_wait_ms: 11, used_index: true, rows_returned: 28, scan_factor: "377.3", rows_examined: "10564" },
            { id: 233, table_id: 7, logged_at: new Date("2025-10-31T12:57:55Z"), statement_kind: "select", client_app: "api", duration_ms: 319, lock_wait_ms: 9, used_index: true, rows_returned: 1023, scan_factor: "289.6", rows_examined: "296261" },
            { id: 234, table_id: 7, logged_at: new Date("2025-10-20T19:49:08Z"), statement_kind: "select", client_app: "api", duration_ms: 621, lock_wait_ms: 24, used_index: false, rows_returned: 1462, scan_factor: "107.1", rows_examined: "156580" },
            { id: 235, table_id: 5, logged_at: new Date("2025-10-18T08:39:29Z"), statement_kind: "select", client_app: "api", duration_ms: 319, lock_wait_ms: 35, used_index: true, rows_returned: 1107, scan_factor: "63.2", rows_examined: "69962" },
            { id: 236, table_id: 7, logged_at: new Date("2025-10-30T12:11:08Z"), statement_kind: "select", client_app: "api", duration_ms: 1315, lock_wait_ms: 41, used_index: true, rows_returned: 1697, scan_factor: "269.8", rows_examined: "457851" },
            { id: 237, table_id: 3, logged_at: new Date("2025-10-13T11:26:22Z"), statement_kind: "select", client_app: "migrations", duration_ms: 606, lock_wait_ms: 6, used_index: true, rows_returned: 769, scan_factor: "13.4", rows_examined: "10305" },
            { id: 238, table_id: 5, logged_at: new Date("2025-10-29T10:14:48Z"), statement_kind: "update", client_app: "api", duration_ms: 2571, lock_wait_ms: 4, used_index: false, rows_returned: 22, scan_factor: "109.8", rows_examined: "2416" },
            { id: 239, table_id: 7, logged_at: new Date("2025-10-13T12:06:11Z"), statement_kind: "select", client_app: "reporting", duration_ms: 276, lock_wait_ms: 7, used_index: true, rows_returned: 885, scan_factor: "40.4", rows_examined: "35754" },
            { id: 240, table_id: 8, logged_at: new Date("2025-10-10T11:37:04Z"), statement_kind: "select", client_app: "api", duration_ms: 382, lock_wait_ms: 0, used_index: true, rows_returned: 318, scan_factor: "314.0", rows_examined: "99852" },
            { id: 241, table_id: 8, logged_at: new Date("2025-10-29T18:24:05Z"), statement_kind: "select", client_app: "api", duration_ms: 1344, lock_wait_ms: 2, used_index: true, rows_returned: 3, scan_factor: "57.4", rows_examined: "172" },
            { id: 242, table_id: 7, logged_at: new Date("2025-10-06T10:12:54Z"), statement_kind: "select", client_app: "reporting", duration_ms: 3430, lock_wait_ms: 19, used_index: true, rows_returned: 1769, scan_factor: "69.9", rows_examined: "123653" },
            { id: 243, table_id: 6, logged_at: new Date("2025-10-09T19:40:10Z"), statement_kind: "select", client_app: "api", duration_ms: 340, lock_wait_ms: 4, used_index: true, rows_returned: 108, scan_factor: "239.4", rows_examined: "25855" },
            { id: 244, table_id: 8, logged_at: new Date("2025-10-24T09:43:20Z"), statement_kind: "select", client_app: "api", duration_ms: 11429, lock_wait_ms: 113, used_index: true, rows_returned: 878, scan_factor: "29.2", rows_examined: "25638" },
            { id: 245, table_id: 1, logged_at: new Date("2025-10-21T09:22:18Z"), statement_kind: "update", client_app: "api", duration_ms: 705, lock_wait_ms: 11, used_index: false, rows_returned: 1733, scan_factor: "217.5", rows_examined: "376928" },
            { id: 246, table_id: 5, logged_at: new Date("2025-10-01T20:04:40Z"), statement_kind: "delete", client_app: "api", duration_ms: 320, lock_wait_ms: 2, used_index: true, rows_returned: 73, scan_factor: "143.1", rows_examined: "10446" },
            { id: 247, table_id: 4, logged_at: new Date("2025-10-01T13:44:54Z"), statement_kind: "select", client_app: "reporting", duration_ms: 683, lock_wait_ms: 28, used_index: true, rows_returned: 65, scan_factor: "17.7", rows_examined: "1151" },
            { id: 248, table_id: 8, logged_at: new Date("2025-10-23T14:08:50Z"), statement_kind: "select", client_app: "migrations", duration_ms: 796, lock_wait_ms: 38, used_index: false, rows_returned: 1136, scan_factor: "87.6", rows_examined: "99514" },
            { id: 249, table_id: 5, logged_at: new Date("2025-10-12T09:28:01Z"), statement_kind: "select", client_app: "api", duration_ms: 917, lock_wait_ms: 39, used_index: true, rows_returned: 292, scan_factor: "97.5", rows_examined: "28470" },
            { id: 250, table_id: 8, logged_at: new Date("2025-10-13T10:51:55Z"), statement_kind: "update", client_app: "worker", duration_ms: 7834, lock_wait_ms: 65, used_index: false, rows_returned: 7, scan_factor: "21.3", rows_examined: "149" },
            { id: 251, table_id: 7, logged_at: new Date("2025-10-20T11:56:37Z"), statement_kind: "select", client_app: "worker", duration_ms: 1236, lock_wait_ms: 29, used_index: true, rows_returned: 767, scan_factor: "86.3", rows_examined: "66192" },
            { id: 252, table_id: 1, logged_at: new Date("2025-10-22T12:42:18Z"), statement_kind: "select", client_app: "api", duration_ms: 13038, lock_wait_ms: 262, used_index: false, rows_returned: 146, scan_factor: "6.1", rows_examined: "891" },
            { id: 253, table_id: 2, logged_at: new Date("2025-10-15T09:53:05Z"), statement_kind: "select", client_app: "worker", duration_ms: 2967, lock_wait_ms: 193, used_index: true, rows_returned: 1, scan_factor: "291.2", rows_examined: "291" },
            { id: 254, table_id: 5, logged_at: new Date("2025-10-20T15:04:02Z"), statement_kind: "update", client_app: "migrations", duration_ms: 1264, lock_wait_ms: 3, used_index: true, rows_returned: 3, scan_factor: "104.7", rows_examined: "314" },
            { id: 255, table_id: 7, logged_at: new Date("2025-10-21T10:22:49Z"), statement_kind: "select", client_app: "api", duration_ms: 546, lock_wait_ms: 2, used_index: false, rows_returned: 1823, scan_factor: "9.5", rows_examined: "17319" },
            { id: 256, table_id: 4, logged_at: new Date("2025-10-15T16:59:21Z"), statement_kind: "select", client_app: "worker", duration_ms: 697, lock_wait_ms: 0, used_index: true, rows_returned: 1818, scan_factor: "9.5", rows_examined: "17271" },
            { id: 257, table_id: 7, logged_at: new Date("2025-10-07T16:15:50Z"), statement_kind: "select", client_app: "api", duration_ms: 392, lock_wait_ms: 5, used_index: true, rows_returned: 3956, scan_factor: "1.2", rows_examined: "4747" },
            { id: 258, table_id: 8, logged_at: new Date("2025-10-19T14:48:39Z"), statement_kind: "update", client_app: "api", duration_ms: 3949, lock_wait_ms: 265, used_index: true, rows_returned: 957, scan_factor: "273.0", rows_examined: "261261" },
            { id: 259, table_id: 3, logged_at: new Date("2025-10-27T13:16:14Z"), statement_kind: "select", client_app: "worker", duration_ms: 499, lock_wait_ms: 0, used_index: false, rows_returned: 1672, scan_factor: "313.5", rows_examined: "524172" },
            { id: 260, table_id: 1, logged_at: new Date("2025-10-11T12:44:54Z"), statement_kind: "select", client_app: "api", duration_ms: 1657, lock_wait_ms: 106, used_index: false, rows_returned: 42, scan_factor: "225.0", rows_examined: "9450" },
            { id: 261, table_id: 8, logged_at: new Date("2025-10-06T09:04:04Z"), statement_kind: "select", client_app: "reporting", duration_ms: 2225, lock_wait_ms: 145, used_index: true, rows_returned: 1659, scan_factor: "1.1", rows_examined: "1825" },
            { id: 262, table_id: 8, logged_at: new Date("2025-10-14T05:04:42Z"), statement_kind: "select", client_app: "reporting", duration_ms: 1881, lock_wait_ms: 58, used_index: true, rows_returned: 1392, scan_factor: "8.5", rows_examined: "11832" },
            { id: 263, table_id: 1, logged_at: new Date("2025-10-27T08:23:03Z"), statement_kind: "select", client_app: "api", duration_ms: 338, lock_wait_ms: 43, used_index: true, rows_returned: 118, scan_factor: "93.1", rows_examined: "10986" },
            { id: 264, table_id: 3, logged_at: new Date("2025-10-28T17:10:36Z"), statement_kind: "select", client_app: "api", duration_ms: 9540, lock_wait_ms: 121, used_index: false, rows_returned: 878, scan_factor: "143.6", rows_examined: "126081" },
            { id: 265, table_id: 3, logged_at: new Date("2025-10-07T13:45:51Z"), statement_kind: "select", client_app: "worker", duration_ms: 2579, lock_wait_ms: 644, used_index: true, rows_returned: 4406, scan_factor: "364.5", rows_examined: "1605987" },
            { id: 266, table_id: 3, logged_at: new Date("2025-10-07T10:19:06Z"), statement_kind: "select", client_app: "api", duration_ms: 2314, lock_wait_ms: 14, used_index: true, rows_returned: 1408, scan_factor: "299.1", rows_examined: "421133" },
            { id: 267, table_id: 3, logged_at: new Date("2025-10-10T04:36:24Z"), statement_kind: "select", client_app: "api", duration_ms: 2745, lock_wait_ms: 120, used_index: true, rows_returned: 156, scan_factor: "1.0", rows_examined: "156" },
            { id: 268, table_id: 3, logged_at: new Date("2025-10-29T13:19:52Z"), statement_kind: "select", client_app: "reporting", duration_ms: 3790, lock_wait_ms: 93, used_index: true, rows_returned: 1372, scan_factor: "5.0", rows_examined: "6860" },
            { id: 269, table_id: 4, logged_at: new Date("2025-10-08T10:33:08Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 882, lock_wait_ms: 2, used_index: true, rows_returned: 1341, scan_factor: "299.5", rows_examined: "401630" },
            { id: 270, table_id: 7, logged_at: new Date("2025-10-16T11:55:18Z"), statement_kind: "select", client_app: "worker", duration_ms: 7211, lock_wait_ms: 205, used_index: true, rows_returned: 823, scan_factor: "50.4", rows_examined: "41479" },
            { id: 271, table_id: 3, logged_at: new Date("2025-10-16T14:34:11Z"), statement_kind: "insert", client_app: "api", duration_ms: 1802, lock_wait_ms: 7, used_index: true, rows_returned: 8, scan_factor: "177.2", rows_examined: "1418" },
            { id: 272, table_id: 6, logged_at: new Date("2025-10-22T14:28:34Z"), statement_kind: "select", client_app: "worker", duration_ms: 6032, lock_wait_ms: 59, used_index: true, rows_returned: 2, scan_factor: "111.7", rows_examined: "223" },
            { id: 273, table_id: 3, logged_at: new Date("2025-10-20T16:42:20Z"), statement_kind: "select", client_app: "reporting", duration_ms: 882, lock_wait_ms: 39, used_index: true, rows_returned: 4699, scan_factor: "165.7", rows_examined: "778624" },
            { id: 274, table_id: 7, logged_at: new Date("2025-10-17T14:37:56Z"), statement_kind: "select", client_app: "reporting", duration_ms: 645, lock_wait_ms: 20, used_index: false, rows_returned: 2060, scan_factor: "2.4", rows_examined: "4944" },
            { id: 275, table_id: 4, logged_at: new Date("2025-10-31T17:22:12Z"), statement_kind: "select", client_app: "worker", duration_ms: 590, lock_wait_ms: 4, used_index: false, rows_returned: 337, scan_factor: "26.9", rows_examined: "9065" },
            { id: 276, table_id: 5, logged_at: new Date("2025-10-04T14:25:53Z"), statement_kind: "select", client_app: "reporting", duration_ms: 313, lock_wait_ms: 13, used_index: false, rows_returned: 1, scan_factor: "225.2", rows_examined: "225" },
            { id: 277, table_id: 1, logged_at: new Date("2025-10-23T11:35:18Z"), statement_kind: "select", client_app: "api", duration_ms: 21528, lock_wait_ms: 217, used_index: true, rows_returned: 406, scan_factor: "32.9", rows_examined: "13357" },
            { id: 278, table_id: 7, logged_at: new Date("2025-10-27T18:25:27Z"), statement_kind: "select", client_app: "reporting", duration_ms: 595, lock_wait_ms: 1, used_index: true, rows_returned: 74, scan_factor: "70.9", rows_examined: "5247" },
            { id: 279, table_id: 7, logged_at: new Date("2025-10-08T14:04:43Z"), statement_kind: "select", client_app: "worker", duration_ms: 570, lock_wait_ms: 6, used_index: true, rows_returned: 1437, scan_factor: "385.8", rows_examined: "554395" },
            { id: 280, table_id: 2, logged_at: new Date("2025-10-02T15:17:53Z"), statement_kind: "select", client_app: "reporting", duration_ms: 380, lock_wait_ms: 7, used_index: true, rows_returned: 6, scan_factor: "291.2", rows_examined: "1747" },
            { id: 281, table_id: 8, logged_at: new Date("2025-10-15T11:34:12Z"), statement_kind: "select", client_app: "reporting", duration_ms: 360, lock_wait_ms: 11, used_index: true, rows_returned: 1903, scan_factor: "12.9", rows_examined: "24549" },
            { id: 282, table_id: 5, logged_at: new Date("2025-10-09T19:44:06Z"), statement_kind: "select", client_app: "worker", duration_ms: 287, lock_wait_ms: 1, used_index: true, rows_returned: 688, scan_factor: "90.7", rows_examined: "62402" },
            { id: 283, table_id: 7, logged_at: new Date("2025-10-13T18:36:25Z"), statement_kind: "select", client_app: "migrations", duration_ms: 738, lock_wait_ms: 11, used_index: true, rows_returned: 3129, scan_factor: "60.5", rows_examined: "189305" },
            { id: 284, table_id: 3, logged_at: new Date("2025-10-08T19:26:53Z"), statement_kind: "select", client_app: "api", duration_ms: 421, lock_wait_ms: 6, used_index: true, rows_returned: 648, scan_factor: "70.1", rows_examined: "45425" },
            { id: 285, table_id: 3, logged_at: new Date("2025-10-17T13:36:55Z"), statement_kind: "select", client_app: "api", duration_ms: 1288, lock_wait_ms: 0, used_index: true, rows_returned: 472, scan_factor: "16.4", rows_examined: "7741" },
            { id: 286, table_id: 5, logged_at: new Date("2025-10-13T13:01:15Z"), statement_kind: "select", client_app: "api", duration_ms: 476, lock_wait_ms: 6, used_index: true, rows_returned: 4989, scan_factor: "3.8", rows_examined: "18958" },
            { id: 287, table_id: 5, logged_at: new Date("2025-10-29T09:54:36Z"), statement_kind: "select", client_app: "worker", duration_ms: 1038, lock_wait_ms: 11, used_index: false, rows_returned: 3756, scan_factor: "229.6", rows_examined: "862378" },
            { id: 288, table_id: 2, logged_at: new Date("2025-10-17T10:57:06Z"), statement_kind: "insert", client_app: "reporting", duration_ms: 363, lock_wait_ms: 0, used_index: true, rows_returned: 1, scan_factor: "252.8", rows_examined: "253" },
            { id: 289, table_id: 3, logged_at: new Date("2025-10-11T14:01:33Z"), statement_kind: "select", client_app: "worker", duration_ms: 12791, lock_wait_ms: 1390, used_index: false, rows_returned: 9, scan_factor: "44.0", rows_examined: "396" },
            { id: 290, table_id: 8, logged_at: new Date("2025-10-21T06:17:53Z"), statement_kind: "select", client_app: "reporting", duration_ms: 2105, lock_wait_ms: 8, used_index: true, rows_returned: 1, scan_factor: "3.0", rows_examined: "3" },
            { id: 291, table_id: 3, logged_at: new Date("2025-10-15T19:15:45Z"), statement_kind: "select", client_app: "worker", duration_ms: 2564, lock_wait_ms: 1, used_index: true, rows_returned: 1647, scan_factor: "186.9", rows_examined: "307824" },
            { id: 292, table_id: 1, logged_at: new Date("2025-10-21T14:30:12Z"), statement_kind: "select", client_app: "api", duration_ms: 1901, lock_wait_ms: 41, used_index: true, rows_returned: 4253, scan_factor: "1.2", rows_examined: "5104" },
            { id: 293, table_id: 8, logged_at: new Date("2025-10-13T07:37:26Z"), statement_kind: "delete", client_app: "worker", duration_ms: 306, lock_wait_ms: 0, used_index: true, rows_returned: 3630, scan_factor: "7.0", rows_examined: "25410" },
            { id: 294, table_id: 5, logged_at: new Date("2025-10-23T01:23:35Z"), statement_kind: "insert", client_app: "worker", duration_ms: 281, lock_wait_ms: 1, used_index: false, rows_returned: 3048, scan_factor: "264.9", rows_examined: "807415" },
            { id: 295, table_id: 6, logged_at: new Date("2025-10-23T12:45:29Z"), statement_kind: "select", client_app: "reporting", duration_ms: 477, lock_wait_ms: 25, used_index: false, rows_returned: 635, scan_factor: "376.8", rows_examined: "239268" },
            { id: 296, table_id: 3, logged_at: new Date("2025-10-21T18:22:43Z"), statement_kind: "update", client_app: "reporting", duration_ms: 468, lock_wait_ms: 426, used_index: true, rows_returned: 873, scan_factor: "7.5", rows_examined: "6548" },
            { id: 297, table_id: 8, logged_at: new Date("2025-10-21T11:35:55Z"), statement_kind: "insert", client_app: "api", duration_ms: 41444, lock_wait_ms: 466, used_index: true, rows_returned: 44, scan_factor: "319.5", rows_examined: "14058" },
            { id: 298, table_id: 3, logged_at: new Date("2025-10-06T15:11:45Z"), statement_kind: "select", client_app: "worker", duration_ms: 993, lock_wait_ms: 3, used_index: true, rows_returned: 230, scan_factor: "162.7", rows_examined: "37421" },
            { id: 299, table_id: 5, logged_at: new Date("2025-10-01T14:44:13Z"), statement_kind: "select", client_app: "reporting", duration_ms: 301, lock_wait_ms: 0, used_index: false, rows_returned: 14, scan_factor: "88.8", rows_examined: "1243" },
            { id: 300, table_id: 7, logged_at: new Date("2025-10-15T09:54:43Z"), statement_kind: "select", client_app: "api", duration_ms: 2152, lock_wait_ms: 33, used_index: true, rows_returned: 3012, scan_factor: "292.3", rows_examined: "880408" },
            { id: 301, table_id: 8, logged_at: new Date("2025-10-14T14:09:43Z"), statement_kind: "delete", client_app: "migrations", duration_ms: 900, lock_wait_ms: 13, used_index: false, rows_returned: 242, scan_factor: "30.8", rows_examined: "7454" },
            { id: 302, table_id: 2, logged_at: new Date("2025-10-19T10:52:23Z"), statement_kind: "select", client_app: "reporting", duration_ms: 422, lock_wait_ms: 3, used_index: true, rows_returned: 20, scan_factor: "1.9", rows_examined: "38" },
            { id: 303, table_id: 6, logged_at: new Date("2025-10-09T19:13:35Z"), statement_kind: "update", client_app: "migrations", duration_ms: 1147, lock_wait_ms: 2, used_index: true, rows_returned: 1, scan_factor: "17.9", rows_examined: "18" },
            { id: 304, table_id: 3, logged_at: new Date("2025-10-24T12:54:04Z"), statement_kind: "select", client_app: "api", duration_ms: 643, lock_wait_ms: 6, used_index: false, rows_returned: 155, scan_factor: "73.0", rows_examined: "11315" },
            { id: 305, table_id: 3, logged_at: new Date("2025-10-14T12:26:26Z"), statement_kind: "select", client_app: "migrations", duration_ms: 274, lock_wait_ms: 1, used_index: true, rows_returned: 5, scan_factor: "27.6", rows_examined: "138" },
            { id: 306, table_id: 7, logged_at: new Date("2025-10-27T09:11:59Z"), statement_kind: "select", client_app: "api", duration_ms: 1988, lock_wait_ms: 128, used_index: true, rows_returned: 7, scan_factor: "32.7", rows_examined: "229" },
            { id: 307, table_id: 1, logged_at: new Date("2025-10-21T14:00:45Z"), statement_kind: "delete", client_app: "worker", duration_ms: 628, lock_wait_ms: 11, used_index: false, rows_returned: 3888, scan_factor: "21.1", rows_examined: "82037" },
            { id: 308, table_id: 3, logged_at: new Date("2025-10-18T08:02:07Z"), statement_kind: "select", client_app: "worker", duration_ms: 418, lock_wait_ms: 0, used_index: true, rows_returned: 3123, scan_factor: "8.4", rows_examined: "26233" },
            { id: 309, table_id: 5, logged_at: new Date("2025-10-05T12:23:42Z"), statement_kind: "delete", client_app: "reporting", duration_ms: 2731, lock_wait_ms: 58, used_index: true, rows_returned: 26, scan_factor: "288.4", rows_examined: "7498" },
            { id: 310, table_id: 6, logged_at: new Date("2025-10-21T12:25:40Z"), statement_kind: "select", client_app: "reporting", duration_ms: 323, lock_wait_ms: 0, used_index: true, rows_returned: 123, scan_factor: "297.1", rows_examined: "36543" },
        ],
    });
}

main()
    .then(() => prisma.$disconnect())
    .catch(async error => {
        console.error(error);
        await prisma.$disconnect();
        process.exit(1);
    });
