mz_catalog_server_index_accounting.slt 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. # The purpose of these tests is to dectect additions or changes of indexes
  10. # on the mz_catalog_server cluster, including changes to underlying
  11. # objects that are indexed.
  12. # Rewrite this file automatically via --rewrite-results when it fails.
  13. mode cockroach
  14. statement ok
  15. SET CLUSTER TO mz_catalog_server
  16. # Record all indexes on the mz_catalog_server cluster and their definition.
  17. # That way we can detect new or modified indexes.
  18. query TT
  19. SELECT DISTINCT name, create_sql
  20. FROM mz_indexes
  21. WHERE cluster_id =
  22. (SELECT id FROM mz_clusters WHERE name = 'mz_catalog_server')
  23. ORDER BY 1, 2
  24. ----
  25. mz_active_peeks_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_active_peeks_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_active_peeks_per_worker"␠("id",␠"worker_id")
  26. mz_arrangement_batcher_allocations_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_batcher_allocations_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_batcher_allocations_raw"␠("operator_id",␠"worker_id")
  27. mz_arrangement_batcher_capacity_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_batcher_capacity_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_batcher_capacity_raw"␠("operator_id",␠"worker_id")
  28. mz_arrangement_batcher_records_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_batcher_records_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_batcher_records_raw"␠("operator_id",␠"worker_id")
  29. mz_arrangement_batcher_size_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_batcher_size_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_batcher_size_raw"␠("operator_id",␠"worker_id")
  30. mz_arrangement_batches_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_batches_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_batches_raw"␠("operator_id",␠"worker_id")
  31. mz_arrangement_heap_allocations_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_heap_allocations_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_heap_allocations_raw"␠("operator_id",␠"worker_id")
  32. mz_arrangement_heap_capacity_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_heap_capacity_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_heap_capacity_raw"␠("operator_id",␠"worker_id")
  33. mz_arrangement_heap_size_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_heap_size_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_heap_size_raw"␠("operator_id",␠"worker_id")
  34. mz_arrangement_records_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_records_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_records_raw"␠("operator_id",␠"worker_id")
  35. mz_arrangement_sharing_raw_s2_primary_idx CREATE␠INDEX␠"mz_arrangement_sharing_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_arrangement_sharing_raw"␠("operator_id",␠"worker_id")
  36. mz_cluster_deployment_lineage_ind CREATE␠INDEX␠"mz_cluster_deployment_lineage_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s728␠AS␠"mz_internal"."mz_cluster_deployment_lineage"]␠("cluster_id")
  37. mz_cluster_replica_frontiers_ind CREATE␠INDEX␠"mz_cluster_replica_frontiers_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s723␠AS␠"mz_catalog"."mz_cluster_replica_frontiers"]␠("object_id")
  38. mz_cluster_replica_history_ind CREATE␠INDEX␠"mz_cluster_replica_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s587␠AS␠"mz_internal"."mz_cluster_replica_history"]␠("dropped_at")
  39. mz_cluster_replica_metrics_history_ind CREATE␠INDEX␠"mz_cluster_replica_metrics_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s497␠AS␠"mz_internal"."mz_cluster_replica_metrics_history"]␠("replica_id")
  40. mz_cluster_replica_metrics_ind CREATE␠INDEX␠"mz_cluster_replica_metrics_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s498␠AS␠"mz_internal"."mz_cluster_replica_metrics"]␠("replica_id")
  41. mz_cluster_replica_name_history_ind CREATE␠INDEX␠"mz_cluster_replica_name_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s588␠AS␠"mz_internal"."mz_cluster_replica_name_history"]␠("id")
  42. mz_cluster_replica_sizes_ind CREATE␠INDEX␠"mz_cluster_replica_sizes_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s499␠AS␠"mz_catalog"."mz_cluster_replica_sizes"]␠("size")
  43. mz_cluster_replica_status_history_ind CREATE␠INDEX␠"mz_cluster_replica_status_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s500␠AS␠"mz_internal"."mz_cluster_replica_status_history"]␠("replica_id")
  44. mz_cluster_replica_statuses_ind CREATE␠INDEX␠"mz_cluster_replica_statuses_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s501␠AS␠"mz_internal"."mz_cluster_replica_statuses"]␠("replica_id")
  45. mz_cluster_replicas_ind CREATE␠INDEX␠"mz_cluster_replicas_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s496␠AS␠"mz_catalog"."mz_cluster_replicas"]␠("id")
  46. mz_clusters_ind CREATE␠INDEX␠"mz_clusters_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s490␠AS␠"mz_catalog"."mz_clusters"]␠("id")
  47. mz_columns_ind CREATE␠INDEX␠"mz_columns_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s462␠AS␠"mz_catalog"."mz_columns"]␠("name")
  48. mz_comments_ind CREATE␠INDEX␠"mz_comments_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s513␠AS␠"mz_internal"."mz_comments"]␠("id")
  49. mz_compute_dataflow_global_ids_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_dataflow_global_ids_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_dataflow_global_ids_per_worker"␠("id",␠"worker_id")
  50. mz_compute_dependencies_ind CREATE␠INDEX␠"mz_compute_dependencies_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s711␠AS␠"mz_internal"."mz_compute_dependencies"]␠("dependency_id")
  51. mz_compute_error_counts_raw_s2_primary_idx CREATE␠INDEX␠"mz_compute_error_counts_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_error_counts_raw"␠("export_id",␠"worker_id")
  52. mz_compute_exports_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_exports_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_exports_per_worker"␠("export_id",␠"worker_id")
  53. mz_compute_frontiers_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_frontiers_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_frontiers_per_worker"␠("export_id",␠"worker_id")
  54. mz_compute_hydration_times_ind CREATE␠INDEX␠"mz_compute_hydration_times_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s719␠AS␠"mz_internal"."mz_compute_hydration_times"]␠("replica_id")
  55. mz_compute_hydration_times_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_hydration_times_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_hydration_times_per_worker"␠("export_id",␠"worker_id")
  56. mz_compute_import_frontiers_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_import_frontiers_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_import_frontiers_per_worker"␠("export_id",␠"import_id",␠"worker_id")
  57. mz_compute_lir_mapping_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_compute_lir_mapping_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_lir_mapping_per_worker"␠("global_id",␠"lir_id",␠"worker_id")
  58. mz_compute_operator_durations_histogram_raw_s2_primary_idx CREATE␠INDEX␠"mz_compute_operator_durations_histogram_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_compute_operator_durations_histogram_raw"␠("id",␠"worker_id",␠"duration_ns")
  59. mz_connections_ind CREATE␠INDEX␠"mz_connections_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s494␠AS␠"mz_catalog"."mz_connections"]␠("schema_id")
  60. mz_console_cluster_utilization_overview_ind CREATE␠INDEX␠"mz_console_cluster_utilization_overview_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s715␠AS␠"mz_internal"."mz_console_cluster_utilization_overview"]␠("cluster_id")
  61. mz_continual_tasks_ind CREATE␠INDEX␠"mz_continual_tasks_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s516␠AS␠"mz_internal"."mz_continual_tasks"]␠("id")
  62. mz_databases_ind CREATE␠INDEX␠"mz_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s460␠AS␠"mz_catalog"."mz_databases"]␠("name")
  63. mz_dataflow_addresses_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_dataflow_addresses_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_dataflow_addresses_per_worker"␠("id",␠"worker_id")
  64. mz_dataflow_channels_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_dataflow_channels_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_dataflow_channels_per_worker"␠("id",␠"worker_id")
  65. mz_dataflow_operator_reachability_raw_s2_primary_idx CREATE␠INDEX␠"mz_dataflow_operator_reachability_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_dataflow_operator_reachability_raw"␠("id",␠"worker_id",␠"source",␠"port",␠"update_type",␠"time")
  66. mz_dataflow_operators_per_worker_s2_primary_idx CREATE␠INDEX␠"mz_dataflow_operators_per_worker_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_dataflow_operators_per_worker"␠("id",␠"worker_id")
  67. mz_dataflow_shutdown_durations_histogram_raw_s2_primary_idx CREATE␠INDEX␠"mz_dataflow_shutdown_durations_histogram_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_dataflow_shutdown_durations_histogram_raw"␠("worker_id",␠"duration_ns")
  68. mz_frontiers_ind CREATE␠INDEX␠"mz_frontiers_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s702␠AS␠"mz_internal"."mz_frontiers"]␠("object_id")
  69. mz_indexes_ind CREATE␠INDEX␠"mz_indexes_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s463␠AS␠"mz_catalog"."mz_indexes"]␠("id")
  70. mz_kafka_sources_ind CREATE␠INDEX␠"mz_kafka_sources_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s458␠AS␠"mz_catalog"."mz_kafka_sources"]␠("id")
  71. mz_materialized_views_ind CREATE␠INDEX␠"mz_materialized_views_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s475␠AS␠"mz_catalog"."mz_materialized_views"]␠("id")
  72. mz_message_batch_counts_received_raw_s2_primary_idx CREATE␠INDEX␠"mz_message_batch_counts_received_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_message_batch_counts_received_raw"␠("channel_id",␠"from_worker_id",␠"to_worker_id")
  73. mz_message_batch_counts_sent_raw_s2_primary_idx CREATE␠INDEX␠"mz_message_batch_counts_sent_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_message_batch_counts_sent_raw"␠("channel_id",␠"from_worker_id",␠"to_worker_id")
  74. mz_message_counts_received_raw_s2_primary_idx CREATE␠INDEX␠"mz_message_counts_received_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_message_counts_received_raw"␠("channel_id",␠"from_worker_id",␠"to_worker_id")
  75. mz_message_counts_sent_raw_s2_primary_idx CREATE␠INDEX␠"mz_message_counts_sent_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_message_counts_sent_raw"␠("channel_id",␠"from_worker_id",␠"to_worker_id")
  76. mz_notices_ind CREATE␠INDEX␠"mz_notices_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s792␠AS␠"mz_internal"."mz_notices"]␠("id")
  77. mz_object_dependencies_ind CREATE␠INDEX␠"mz_object_dependencies_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s459␠AS␠"mz_internal"."mz_object_dependencies"]␠("object_id")
  78. mz_object_history_ind CREATE␠INDEX␠"mz_object_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s525␠AS␠"mz_internal"."mz_object_history"]␠("id")
  79. mz_object_lifetimes_ind CREATE␠INDEX␠"mz_object_lifetimes_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s526␠AS␠"mz_internal"."mz_object_lifetimes"]␠("id")
  80. mz_object_transitive_dependencies_ind CREATE␠INDEX␠"mz_object_transitive_dependencies_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s540␠AS␠"mz_internal"."mz_object_transitive_dependencies"]␠("object_id")
  81. mz_objects_ind CREATE␠INDEX␠"mz_objects_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s522␠AS␠"mz_catalog"."mz_objects"]␠("schema_id")
  82. mz_peek_durations_histogram_raw_s2_primary_idx CREATE␠INDEX␠"mz_peek_durations_histogram_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_peek_durations_histogram_raw"␠("worker_id",␠"type",␠"duration_ns")
  83. mz_recent_activity_log_thinned_ind CREATE␠INDEX␠"mz_recent_activity_log_thinned_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s686␠AS␠"mz_internal"."mz_recent_activity_log_thinned"]␠("sql_hash")
  84. mz_recent_sql_text_ind CREATE␠INDEX␠"mz_recent_sql_text_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s682␠AS␠"mz_internal"."mz_recent_sql_text"]␠("sql_hash")
  85. mz_recent_storage_usage_ind CREATE␠INDEX␠"mz_recent_storage_usage_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s787␠AS␠"mz_catalog"."mz_recent_storage_usage"]␠("object_id")
  86. mz_roles_ind CREATE␠INDEX␠"mz_roles_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s483␠AS␠"mz_catalog"."mz_roles"]␠("id")
  87. mz_scheduling_elapsed_raw_s2_primary_idx CREATE␠INDEX␠"mz_scheduling_elapsed_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_scheduling_elapsed_raw"␠("id",␠"worker_id")
  88. mz_scheduling_parks_histogram_raw_s2_primary_idx CREATE␠INDEX␠"mz_scheduling_parks_histogram_raw_s2_primary_idx"␠IN␠CLUSTER␠[s2]␠ON␠"mz_introspection"."mz_scheduling_parks_histogram_raw"␠("worker_id",␠"slept_for_ns",␠"requested_ns")
  89. mz_schemas_ind CREATE␠INDEX␠"mz_schemas_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s461␠AS␠"mz_catalog"."mz_schemas"]␠("database_id")
  90. mz_secrets_ind CREATE␠INDEX␠"mz_secrets_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s493␠AS␠"mz_catalog"."mz_secrets"]␠("name")
  91. mz_show_all_objects_ind CREATE␠INDEX␠"mz_show_all_objects_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s571␠AS␠"mz_internal"."mz_show_all_objects"]␠("schema_id")
  92. mz_show_cluster_replicas_ind CREATE␠INDEX␠"mz_show_cluster_replicas_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s726␠AS␠"mz_internal"."mz_show_cluster_replicas"]␠("cluster")
  93. mz_show_clusters_ind CREATE␠INDEX␠"mz_show_clusters_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s573␠AS␠"mz_internal"."mz_show_clusters"]␠("name")
  94. mz_show_columns_ind CREATE␠INDEX␠"mz_show_columns_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s572␠AS␠"mz_internal"."mz_show_columns"]␠("id")
  95. mz_show_connections_ind CREATE␠INDEX␠"mz_show_connections_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s581␠AS␠"mz_internal"."mz_show_connections"]␠("schema_id")
  96. mz_show_databases_ind CREATE␠INDEX␠"mz_show_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s575␠AS␠"mz_internal"."mz_show_databases"]␠("name")
  97. mz_show_indexes_ind CREATE␠INDEX␠"mz_show_indexes_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s585␠AS␠"mz_internal"."mz_show_indexes"]␠("schema_id")
  98. mz_show_materialized_views_ind CREATE␠INDEX␠"mz_show_materialized_views_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s584␠AS␠"mz_internal"."mz_show_materialized_views"]␠("schema_id")
  99. mz_show_roles_ind CREATE␠INDEX␠"mz_show_roles_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s580␠AS␠"mz_internal"."mz_show_roles"]␠("name")
  100. mz_show_schemas_ind CREATE␠INDEX␠"mz_show_schemas_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s576␠AS␠"mz_internal"."mz_show_schemas"]␠("database_id")
  101. mz_show_secrets_ind CREATE␠INDEX␠"mz_show_secrets_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s574␠AS␠"mz_internal"."mz_show_secrets"]␠("schema_id")
  102. mz_show_sinks_ind CREATE␠INDEX␠"mz_show_sinks_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s583␠AS␠"mz_internal"."mz_show_sinks"]␠("schema_id")
  103. mz_show_sources_ind CREATE␠INDEX␠"mz_show_sources_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s582␠AS␠"mz_internal"."mz_show_sources"]␠("schema_id")
  104. mz_show_tables_ind CREATE␠INDEX␠"mz_show_tables_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s577␠AS␠"mz_internal"."mz_show_tables"]␠("schema_id")
  105. mz_show_types_ind CREATE␠INDEX␠"mz_show_types_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s579␠AS␠"mz_internal"."mz_show_types"]␠("schema_id")
  106. mz_show_views_ind CREATE␠INDEX␠"mz_show_views_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s578␠AS␠"mz_internal"."mz_show_views"]␠("schema_id")
  107. mz_sink_statistics_ind CREATE␠INDEX␠"mz_sink_statistics_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s699␠AS␠"mz_internal"."mz_sink_statistics"]␠("id",␠"replica_id")
  108. mz_sink_status_history_ind CREATE␠INDEX␠"mz_sink_status_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s671␠AS␠"mz_internal"."mz_sink_status_history"]␠("sink_id")
  109. mz_sink_statuses_ind CREATE␠INDEX␠"mz_sink_statuses_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s672␠AS␠"mz_internal"."mz_sink_statuses"]␠("id")
  110. mz_sinks_ind CREATE␠INDEX␠"mz_sinks_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s473␠AS␠"mz_catalog"."mz_sinks"]␠("id")
  111. mz_source_statistics_ind CREATE␠INDEX␠"mz_source_statistics_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s697␠AS␠"mz_internal"."mz_source_statistics"]␠("id",␠"replica_id")
  112. mz_source_statistics_with_history_ind CREATE␠INDEX␠"mz_source_statistics_with_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s695␠AS␠"mz_internal"."mz_source_statistics_with_history"]␠("id",␠"replica_id")
  113. mz_source_status_history_ind CREATE␠INDEX␠"mz_source_status_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s673␠AS␠"mz_internal"."mz_source_status_history"]␠("source_id")
  114. mz_source_statuses_ind CREATE␠INDEX␠"mz_source_statuses_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s690␠AS␠"mz_internal"."mz_source_statuses"]␠("id")
  115. mz_sources_ind CREATE␠INDEX␠"mz_sources_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s466␠AS␠"mz_catalog"."mz_sources"]␠("id")
  116. mz_tables_ind CREATE␠INDEX␠"mz_tables_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s465␠AS␠"mz_catalog"."mz_tables"]␠("schema_id")
  117. mz_types_ind CREATE␠INDEX␠"mz_types_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s477␠AS␠"mz_catalog"."mz_types"]␠("schema_id")
  118. mz_views_ind CREATE␠INDEX␠"mz_views_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s474␠AS␠"mz_catalog"."mz_views"]␠("schema_id")
  119. mz_wallclock_global_lag_recent_history_ind CREATE␠INDEX␠"mz_wallclock_global_lag_recent_history_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s706␠AS␠"mz_internal"."mz_wallclock_global_lag_recent_history"]␠("object_id")
  120. mz_webhook_sources_ind CREATE␠INDEX␠"mz_webhook_sources_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s514␠AS␠"mz_internal"."mz_webhook_sources"]␠("id")
  121. pg_attrdef_all_databases_ind CREATE␠INDEX␠"pg_attrdef_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s613␠AS␠"mz_internal"."pg_attrdef_all_databases"]␠("oid",␠"adrelid",␠"adnum",␠"adbin",␠"adsrc")
  122. pg_attribute_all_databases_ind CREATE␠INDEX␠"pg_attribute_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s606␠AS␠"mz_internal"."pg_attribute_all_databases"]␠("attrelid",␠"attname",␠"atttypid",␠"attlen",␠"attnum",␠"atttypmod",␠"attnotnull",␠"atthasdef",␠"attidentity",␠"attgenerated",␠"attisdropped",␠"attcollation",␠"database_name",␠"pg_type_database_name")
  123. pg_class_all_databases_ind CREATE␠INDEX␠"pg_class_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s594␠AS␠"mz_internal"."pg_class_all_databases"]␠("relname")
  124. pg_description_all_databases_ind CREATE␠INDEX␠"pg_description_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s603␠AS␠"mz_internal"."pg_description_all_databases"]␠("objoid",␠"classoid",␠"objsubid",␠"description",␠"oid_database_name",␠"class_database_name")
  125. pg_namespace_all_databases_ind CREATE␠INDEX␠"pg_namespace_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s591␠AS␠"mz_internal"."pg_namespace_all_databases"]␠("nspname")
  126. pg_type_all_databases_ind CREATE␠INDEX␠"pg_type_all_databases_ind"␠IN␠CLUSTER␠[s2]␠ON␠[s600␠AS␠"mz_internal"."pg_type_all_databases"]␠("oid")
  127. # Record all transitive dependencies (tables, sources, views, mvs) of indexes on
  128. # the mz_catalog_server cluster.
  129. # Include each column of each dependent object, so we can detect changes to
  130. # object definitions that may impact the memory utilization of the index.
  131. query TT
  132. SELECT DISTINCT o.name dependent_object_name, co.name column_name
  133. FROM mz_indexes i
  134. LEFT JOIN mz_internal.mz_object_transitive_dependencies d ON i.id = d.object_id
  135. LEFT JOIN mz_objects o ON o.id = d.referenced_object_id
  136. JOIN mz_columns co on co.id = o.id
  137. WHERE i.cluster_id =
  138. (SELECT id FROM mz_clusters WHERE name = 'mz_catalog_server')
  139. ORDER BY 1, 2
  140. ----
  141. mz_active_peeks_per_worker id
  142. mz_active_peeks_per_worker object_id
  143. mz_active_peeks_per_worker time
  144. mz_active_peeks_per_worker type
  145. mz_active_peeks_per_worker worker_id
  146. mz_activity_log_thinned application_name
  147. mz_activity_log_thinned authenticated_user
  148. mz_activity_log_thinned began_at
  149. mz_activity_log_thinned cluster_id
  150. mz_activity_log_thinned cluster_name
  151. mz_activity_log_thinned database_name
  152. mz_activity_log_thinned error_message
  153. mz_activity_log_thinned execution_id
  154. mz_activity_log_thinned execution_strategy
  155. mz_activity_log_thinned execution_timestamp
  156. mz_activity_log_thinned finished_at
  157. mz_activity_log_thinned finished_status
  158. mz_activity_log_thinned initial_application_name
  159. mz_activity_log_thinned mz_version
  160. mz_activity_log_thinned params
  161. mz_activity_log_thinned prepared_at
  162. mz_activity_log_thinned prepared_statement_id
  163. mz_activity_log_thinned prepared_statement_name
  164. mz_activity_log_thinned result_size
  165. mz_activity_log_thinned rows_returned
  166. mz_activity_log_thinned sample_rate
  167. mz_activity_log_thinned search_path
  168. mz_activity_log_thinned session_id
  169. mz_activity_log_thinned sql_hash
  170. mz_activity_log_thinned statement_type
  171. mz_activity_log_thinned throttled_count
  172. mz_activity_log_thinned transaction_id
  173. mz_activity_log_thinned transaction_isolation
  174. mz_activity_log_thinned transient_index_id
  175. mz_arrangement_batcher_allocations_raw operator_id
  176. mz_arrangement_batcher_allocations_raw worker_id
  177. mz_arrangement_batcher_capacity_raw operator_id
  178. mz_arrangement_batcher_capacity_raw worker_id
  179. mz_arrangement_batcher_records_raw operator_id
  180. mz_arrangement_batcher_records_raw worker_id
  181. mz_arrangement_batcher_size_raw operator_id
  182. mz_arrangement_batcher_size_raw worker_id
  183. mz_arrangement_batches_raw operator_id
  184. mz_arrangement_batches_raw worker_id
  185. mz_arrangement_heap_allocations_raw operator_id
  186. mz_arrangement_heap_allocations_raw worker_id
  187. mz_arrangement_heap_capacity_raw operator_id
  188. mz_arrangement_heap_capacity_raw worker_id
  189. mz_arrangement_heap_size_raw operator_id
  190. mz_arrangement_heap_size_raw worker_id
  191. mz_arrangement_records_raw operator_id
  192. mz_arrangement_records_raw worker_id
  193. mz_arrangement_sharing_raw operator_id
  194. mz_arrangement_sharing_raw worker_id
  195. mz_array_types element_id
  196. mz_array_types id
  197. mz_audit_events details
  198. mz_audit_events event_type
  199. mz_audit_events id
  200. mz_audit_events object_type
  201. mz_audit_events occurred_at
  202. mz_audit_events user
  203. mz_base_types id
  204. mz_cluster_deployment_lineage cluster_id
  205. mz_cluster_deployment_lineage cluster_name
  206. mz_cluster_deployment_lineage current_deployment_cluster_id
  207. mz_cluster_replica_frontiers object_id
  208. mz_cluster_replica_frontiers replica_id
  209. mz_cluster_replica_frontiers write_frontier
  210. mz_cluster_replica_history cluster_id
  211. mz_cluster_replica_history cluster_name
  212. mz_cluster_replica_history created_at
  213. mz_cluster_replica_history credits_per_hour
  214. mz_cluster_replica_history dropped_at
  215. mz_cluster_replica_history replica_id
  216. mz_cluster_replica_history replica_name
  217. mz_cluster_replica_history size
  218. mz_cluster_replica_metrics cpu_nano_cores
  219. mz_cluster_replica_metrics disk_bytes
  220. mz_cluster_replica_metrics memory_bytes
  221. mz_cluster_replica_metrics process_id
  222. mz_cluster_replica_metrics replica_id
  223. mz_cluster_replica_metrics_history cpu_nano_cores
  224. mz_cluster_replica_metrics_history disk_bytes
  225. mz_cluster_replica_metrics_history memory_bytes
  226. mz_cluster_replica_metrics_history occurred_at
  227. mz_cluster_replica_metrics_history process_id
  228. mz_cluster_replica_metrics_history replica_id
  229. mz_cluster_replica_name_history id
  230. mz_cluster_replica_name_history new_name
  231. mz_cluster_replica_name_history occurred_at
  232. mz_cluster_replica_name_history previous_name
  233. mz_cluster_replica_sizes cpu_nano_cores
  234. mz_cluster_replica_sizes credits_per_hour
  235. mz_cluster_replica_sizes disk_bytes
  236. mz_cluster_replica_sizes memory_bytes
  237. mz_cluster_replica_sizes processes
  238. mz_cluster_replica_sizes size
  239. mz_cluster_replica_sizes workers
  240. mz_cluster_replica_status_history occurred_at
  241. mz_cluster_replica_status_history process_id
  242. mz_cluster_replica_status_history reason
  243. mz_cluster_replica_status_history replica_id
  244. mz_cluster_replica_status_history status
  245. mz_cluster_replica_statuses process_id
  246. mz_cluster_replica_statuses reason
  247. mz_cluster_replica_statuses replica_id
  248. mz_cluster_replica_statuses status
  249. mz_cluster_replica_statuses updated_at
  250. mz_cluster_replicas availability_zone
  251. mz_cluster_replicas cluster_id
  252. mz_cluster_replicas disk
  253. mz_cluster_replicas id
  254. mz_cluster_replicas name
  255. mz_cluster_replicas owner_id
  256. mz_cluster_replicas size
  257. mz_clusters availability_zones
  258. mz_clusters disk
  259. mz_clusters id
  260. mz_clusters introspection_debugging
  261. mz_clusters introspection_interval
  262. mz_clusters managed
  263. mz_clusters name
  264. mz_clusters owner_id
  265. mz_clusters privileges
  266. mz_clusters replication_factor
  267. mz_clusters size
  268. mz_columns default
  269. mz_columns id
  270. mz_columns name
  271. mz_columns nullable
  272. mz_columns position
  273. mz_columns type
  274. mz_columns type_mod
  275. mz_columns type_oid
  276. mz_comments comment
  277. mz_comments id
  278. mz_comments object_sub_id
  279. mz_comments object_type
  280. mz_compute_dataflow_global_ids_per_worker global_id
  281. mz_compute_dataflow_global_ids_per_worker id
  282. mz_compute_dataflow_global_ids_per_worker worker_id
  283. mz_compute_dependencies dependency_id
  284. mz_compute_dependencies object_id
  285. mz_compute_error_counts_raw count
  286. mz_compute_error_counts_raw export_id
  287. mz_compute_error_counts_raw worker_id
  288. mz_compute_exports_per_worker dataflow_id
  289. mz_compute_exports_per_worker export_id
  290. mz_compute_exports_per_worker worker_id
  291. mz_compute_frontiers_per_worker export_id
  292. mz_compute_frontiers_per_worker time
  293. mz_compute_frontiers_per_worker worker_id
  294. mz_compute_hydration_statuses hydrated
  295. mz_compute_hydration_statuses hydration_time
  296. mz_compute_hydration_statuses object_id
  297. mz_compute_hydration_statuses replica_id
  298. mz_compute_hydration_times object_id
  299. mz_compute_hydration_times replica_id
  300. mz_compute_hydration_times time_ns
  301. mz_compute_hydration_times_per_worker export_id
  302. mz_compute_hydration_times_per_worker time_ns
  303. mz_compute_hydration_times_per_worker worker_id
  304. mz_compute_import_frontiers_per_worker export_id
  305. mz_compute_import_frontiers_per_worker import_id
  306. mz_compute_import_frontiers_per_worker time
  307. mz_compute_import_frontiers_per_worker worker_id
  308. mz_compute_lir_mapping_per_worker global_id
  309. mz_compute_lir_mapping_per_worker lir_id
  310. mz_compute_lir_mapping_per_worker nesting
  311. mz_compute_lir_mapping_per_worker operator
  312. mz_compute_lir_mapping_per_worker operator_id_end
  313. mz_compute_lir_mapping_per_worker operator_id_start
  314. mz_compute_lir_mapping_per_worker parent_lir_id
  315. mz_compute_lir_mapping_per_worker worker_id
  316. mz_compute_operator_durations_histogram_raw duration_ns
  317. mz_compute_operator_durations_histogram_raw id
  318. mz_compute_operator_durations_histogram_raw worker_id
  319. mz_connections create_sql
  320. mz_connections id
  321. mz_connections name
  322. mz_connections oid
  323. mz_connections owner_id
  324. mz_connections privileges
  325. mz_connections redacted_create_sql
  326. mz_connections schema_id
  327. mz_connections type
  328. mz_console_cluster_utilization_overview bucket_end
  329. mz_console_cluster_utilization_overview bucket_start
  330. mz_console_cluster_utilization_overview cluster_id
  331. mz_console_cluster_utilization_overview disk_percent
  332. mz_console_cluster_utilization_overview max_cpu_at
  333. mz_console_cluster_utilization_overview max_cpu_percent
  334. mz_console_cluster_utilization_overview max_disk_at
  335. mz_console_cluster_utilization_overview max_memory_and_disk_at
  336. mz_console_cluster_utilization_overview max_memory_and_disk_disk_percent
  337. mz_console_cluster_utilization_overview max_memory_and_disk_memory_percent
  338. mz_console_cluster_utilization_overview max_memory_at
  339. mz_console_cluster_utilization_overview memory_and_disk_percent
  340. mz_console_cluster_utilization_overview memory_percent
  341. mz_console_cluster_utilization_overview name
  342. mz_console_cluster_utilization_overview offline_events
  343. mz_console_cluster_utilization_overview replica_id
  344. mz_console_cluster_utilization_overview size
  345. mz_continual_tasks cluster_id
  346. mz_continual_tasks create_sql
  347. mz_continual_tasks definition
  348. mz_continual_tasks id
  349. mz_continual_tasks name
  350. mz_continual_tasks oid
  351. mz_continual_tasks owner_id
  352. mz_continual_tasks privileges
  353. mz_continual_tasks redacted_create_sql
  354. mz_continual_tasks schema_id
  355. mz_databases id
  356. mz_databases name
  357. mz_databases oid
  358. mz_databases owner_id
  359. mz_databases privileges
  360. mz_dataflow_addresses_per_worker address
  361. mz_dataflow_addresses_per_worker id
  362. mz_dataflow_addresses_per_worker worker_id
  363. mz_dataflow_channels_per_worker from_index
  364. mz_dataflow_channels_per_worker from_port
  365. mz_dataflow_channels_per_worker id
  366. mz_dataflow_channels_per_worker to_index
  367. mz_dataflow_channels_per_worker to_port
  368. mz_dataflow_channels_per_worker worker_id
  369. mz_dataflow_operator_reachability_raw id
  370. mz_dataflow_operator_reachability_raw port
  371. mz_dataflow_operator_reachability_raw source
  372. mz_dataflow_operator_reachability_raw time
  373. mz_dataflow_operator_reachability_raw update_type
  374. mz_dataflow_operator_reachability_raw worker_id
  375. mz_dataflow_operators_per_worker id
  376. mz_dataflow_operators_per_worker name
  377. mz_dataflow_operators_per_worker worker_id
  378. mz_dataflow_shutdown_durations_histogram_raw duration_ns
  379. mz_dataflow_shutdown_durations_histogram_raw worker_id
  380. mz_frontiers object_id
  381. mz_frontiers read_frontier
  382. mz_frontiers write_frontier
  383. mz_functions argument_type_ids
  384. mz_functions id
  385. mz_functions name
  386. mz_functions oid
  387. mz_functions owner_id
  388. mz_functions return_type_id
  389. mz_functions returns_set
  390. mz_functions schema_id
  391. mz_functions variadic_argument_type_id
  392. mz_hydration_statuses hydrated
  393. mz_hydration_statuses object_id
  394. mz_hydration_statuses replica_id
  395. mz_index_columns index_id
  396. mz_index_columns index_position
  397. mz_index_columns nullable
  398. mz_index_columns on_expression
  399. mz_index_columns on_position
  400. mz_indexes cluster_id
  401. mz_indexes create_sql
  402. mz_indexes id
  403. mz_indexes name
  404. mz_indexes oid
  405. mz_indexes on_id
  406. mz_indexes owner_id
  407. mz_indexes redacted_create_sql
  408. mz_kafka_sources group_id_prefix
  409. mz_kafka_sources id
  410. mz_kafka_sources topic
  411. mz_list_types element_id
  412. mz_list_types element_modifiers
  413. mz_list_types id
  414. mz_map_types id
  415. mz_map_types key_id
  416. mz_map_types key_modifiers
  417. mz_map_types value_id
  418. mz_map_types value_modifiers
  419. mz_materialized_views cluster_id
  420. mz_materialized_views create_sql
  421. mz_materialized_views definition
  422. mz_materialized_views id
  423. mz_materialized_views name
  424. mz_materialized_views oid
  425. mz_materialized_views owner_id
  426. mz_materialized_views privileges
  427. mz_materialized_views redacted_create_sql
  428. mz_materialized_views schema_id
  429. mz_message_batch_counts_received_raw channel_id
  430. mz_message_batch_counts_received_raw from_worker_id
  431. mz_message_batch_counts_received_raw to_worker_id
  432. mz_message_batch_counts_sent_raw channel_id
  433. mz_message_batch_counts_sent_raw from_worker_id
  434. mz_message_batch_counts_sent_raw to_worker_id
  435. mz_message_counts_received_raw channel_id
  436. mz_message_counts_received_raw from_worker_id
  437. mz_message_counts_received_raw to_worker_id
  438. mz_message_counts_sent_raw channel_id
  439. mz_message_counts_sent_raw from_worker_id
  440. mz_message_counts_sent_raw to_worker_id
  441. mz_notices action
  442. mz_notices action_type
  443. mz_notices created_at
  444. mz_notices hint
  445. mz_notices id
  446. mz_notices message
  447. mz_notices notice_type
  448. mz_notices object_id
  449. mz_notices redacted_action
  450. mz_notices redacted_hint
  451. mz_notices redacted_message
  452. mz_object_dependencies object_id
  453. mz_object_dependencies referenced_object_id
  454. mz_object_history cluster_id
  455. mz_object_history created_at
  456. mz_object_history dropped_at
  457. mz_object_history id
  458. mz_object_history object_type
  459. mz_object_lifetimes event_type
  460. mz_object_lifetimes id
  461. mz_object_lifetimes object_type
  462. mz_object_lifetimes occurred_at
  463. mz_object_lifetimes previous_id
  464. mz_object_transitive_dependencies object_id
  465. mz_object_transitive_dependencies referenced_object_id
  466. mz_objects cluster_id
  467. mz_objects id
  468. mz_objects name
  469. mz_objects oid
  470. mz_objects owner_id
  471. mz_objects privileges
  472. mz_objects schema_id
  473. mz_objects type
  474. mz_objects_id_namespace_types object_type
  475. mz_optimizer_notices action
  476. mz_optimizer_notices action_type
  477. mz_optimizer_notices created_at
  478. mz_optimizer_notices dependency_ids
  479. mz_optimizer_notices hint
  480. mz_optimizer_notices id
  481. mz_optimizer_notices message
  482. mz_optimizer_notices notice_type
  483. mz_optimizer_notices object_id
  484. mz_optimizer_notices redacted_action
  485. mz_optimizer_notices redacted_hint
  486. mz_optimizer_notices redacted_message
  487. mz_peek_durations_histogram_raw duration_ns
  488. mz_peek_durations_histogram_raw type
  489. mz_peek_durations_histogram_raw worker_id
  490. mz_prepared_statement_history id
  491. mz_prepared_statement_history name
  492. mz_prepared_statement_history prepared_at
  493. mz_prepared_statement_history session_id
  494. mz_prepared_statement_history sql_hash
  495. mz_prepared_statement_history statement_type
  496. mz_prepared_statement_history throttled_count
  497. mz_pseudo_types id
  498. mz_recent_activity_log_thinned application_name
  499. mz_recent_activity_log_thinned authenticated_user
  500. mz_recent_activity_log_thinned began_at
  501. mz_recent_activity_log_thinned cluster_id
  502. mz_recent_activity_log_thinned cluster_name
  503. mz_recent_activity_log_thinned database_name
  504. mz_recent_activity_log_thinned error_message
  505. mz_recent_activity_log_thinned execution_id
  506. mz_recent_activity_log_thinned execution_strategy
  507. mz_recent_activity_log_thinned execution_timestamp
  508. mz_recent_activity_log_thinned finished_at
  509. mz_recent_activity_log_thinned finished_status
  510. mz_recent_activity_log_thinned initial_application_name
  511. mz_recent_activity_log_thinned mz_version
  512. mz_recent_activity_log_thinned params
  513. mz_recent_activity_log_thinned prepared_at
  514. mz_recent_activity_log_thinned prepared_statement_id
  515. mz_recent_activity_log_thinned prepared_statement_name
  516. mz_recent_activity_log_thinned result_size
  517. mz_recent_activity_log_thinned rows_returned
  518. mz_recent_activity_log_thinned sample_rate
  519. mz_recent_activity_log_thinned search_path
  520. mz_recent_activity_log_thinned session_id
  521. mz_recent_activity_log_thinned sql_hash
  522. mz_recent_activity_log_thinned statement_type
  523. mz_recent_activity_log_thinned throttled_count
  524. mz_recent_activity_log_thinned transaction_id
  525. mz_recent_activity_log_thinned transaction_isolation
  526. mz_recent_activity_log_thinned transient_index_id
  527. mz_recent_sql_text redacted_sql
  528. mz_recent_sql_text sql
  529. mz_recent_sql_text sql_hash
  530. mz_recent_storage_usage object_id
  531. mz_recent_storage_usage size_bytes
  532. mz_relations cluster_id
  533. mz_relations id
  534. mz_relations name
  535. mz_relations oid
  536. mz_relations owner_id
  537. mz_relations privileges
  538. mz_relations schema_id
  539. mz_relations type
  540. mz_roles id
  541. mz_roles inherit
  542. mz_roles name
  543. mz_roles oid
  544. mz_scheduling_elapsed_raw id
  545. mz_scheduling_elapsed_raw worker_id
  546. mz_scheduling_parks_histogram_raw requested_ns
  547. mz_scheduling_parks_histogram_raw slept_for_ns
  548. mz_scheduling_parks_histogram_raw worker_id
  549. mz_schemas database_id
  550. mz_schemas id
  551. mz_schemas name
  552. mz_schemas oid
  553. mz_schemas owner_id
  554. mz_schemas privileges
  555. mz_secrets id
  556. mz_secrets name
  557. mz_secrets oid
  558. mz_secrets owner_id
  559. mz_secrets privileges
  560. mz_secrets schema_id
  561. mz_session_history authenticated_user
  562. mz_session_history connected_at
  563. mz_session_history initial_application_name
  564. mz_session_history session_id
  565. mz_show_all_objects comment
  566. mz_show_all_objects name
  567. mz_show_all_objects schema_id
  568. mz_show_all_objects type
  569. mz_show_cluster_replicas cluster
  570. mz_show_cluster_replicas comment
  571. mz_show_cluster_replicas ready
  572. mz_show_cluster_replicas replica
  573. mz_show_cluster_replicas replica_id
  574. mz_show_cluster_replicas size
  575. mz_show_clusters comment
  576. mz_show_clusters name
  577. mz_show_clusters replicas
  578. mz_show_columns comment
  579. mz_show_columns id
  580. mz_show_columns name
  581. mz_show_columns nullable
  582. mz_show_columns position
  583. mz_show_columns type
  584. mz_show_connections comment
  585. mz_show_connections name
  586. mz_show_connections schema_id
  587. mz_show_connections type
  588. mz_show_databases comment
  589. mz_show_databases name
  590. mz_show_indexes cluster
  591. mz_show_indexes cluster_id
  592. mz_show_indexes comment
  593. mz_show_indexes id
  594. mz_show_indexes key
  595. mz_show_indexes name
  596. mz_show_indexes on
  597. mz_show_indexes on_id
  598. mz_show_indexes schema_id
  599. mz_show_materialized_views cluster
  600. mz_show_materialized_views cluster_id
  601. mz_show_materialized_views comment
  602. mz_show_materialized_views id
  603. mz_show_materialized_views name
  604. mz_show_materialized_views schema_id
  605. mz_show_roles comment
  606. mz_show_roles name
  607. mz_show_schemas comment
  608. mz_show_schemas database_id
  609. mz_show_schemas name
  610. mz_show_secrets comment
  611. mz_show_secrets name
  612. mz_show_secrets schema_id
  613. mz_show_sinks cluster
  614. mz_show_sinks cluster_id
  615. mz_show_sinks comment
  616. mz_show_sinks id
  617. mz_show_sinks name
  618. mz_show_sinks schema_id
  619. mz_show_sinks type
  620. mz_show_sources cluster
  621. mz_show_sources cluster_id
  622. mz_show_sources comment
  623. mz_show_sources id
  624. mz_show_sources name
  625. mz_show_sources schema_id
  626. mz_show_sources type
  627. mz_show_tables comment
  628. mz_show_tables name
  629. mz_show_tables schema_id
  630. mz_show_tables source_id
  631. mz_show_types comment
  632. mz_show_types name
  633. mz_show_types schema_id
  634. mz_show_views comment
  635. mz_show_views name
  636. mz_show_views schema_id
  637. mz_sink_statistics bytes_committed
  638. mz_sink_statistics bytes_staged
  639. mz_sink_statistics id
  640. mz_sink_statistics messages_committed
  641. mz_sink_statistics messages_staged
  642. mz_sink_statistics replica_id
  643. mz_sink_statistics_raw bytes_committed
  644. mz_sink_statistics_raw bytes_staged
  645. mz_sink_statistics_raw id
  646. mz_sink_statistics_raw messages_committed
  647. mz_sink_statistics_raw messages_staged
  648. mz_sink_statistics_raw replica_id
  649. mz_sink_status_history details
  650. mz_sink_status_history error
  651. mz_sink_status_history occurred_at
  652. mz_sink_status_history replica_id
  653. mz_sink_status_history sink_id
  654. mz_sink_status_history status
  655. mz_sink_statuses details
  656. mz_sink_statuses error
  657. mz_sink_statuses id
  658. mz_sink_statuses last_status_change_at
  659. mz_sink_statuses name
  660. mz_sink_statuses status
  661. mz_sink_statuses type
  662. mz_sinks cluster_id
  663. mz_sinks connection_id
  664. mz_sinks create_sql
  665. mz_sinks envelope_type
  666. mz_sinks format
  667. mz_sinks id
  668. mz_sinks key_format
  669. mz_sinks name
  670. mz_sinks oid
  671. mz_sinks owner_id
  672. mz_sinks redacted_create_sql
  673. mz_sinks schema_id
  674. mz_sinks size
  675. mz_sinks type
  676. mz_sinks value_format
  677. mz_source_statistics bytes_indexed
  678. mz_source_statistics bytes_received
  679. mz_source_statistics id
  680. mz_source_statistics messages_received
  681. mz_source_statistics offset_committed
  682. mz_source_statistics offset_known
  683. mz_source_statistics records_indexed
  684. mz_source_statistics rehydration_latency
  685. mz_source_statistics replica_id
  686. mz_source_statistics snapshot_committed
  687. mz_source_statistics snapshot_records_known
  688. mz_source_statistics snapshot_records_staged
  689. mz_source_statistics updates_committed
  690. mz_source_statistics updates_staged
  691. mz_source_statistics_raw bytes_indexed
  692. mz_source_statistics_raw bytes_received
  693. mz_source_statistics_raw id
  694. mz_source_statistics_raw messages_received
  695. mz_source_statistics_raw offset_committed
  696. mz_source_statistics_raw offset_known
  697. mz_source_statistics_raw records_indexed
  698. mz_source_statistics_raw rehydration_latency
  699. mz_source_statistics_raw replica_id
  700. mz_source_statistics_raw snapshot_committed
  701. mz_source_statistics_raw snapshot_records_known
  702. mz_source_statistics_raw snapshot_records_staged
  703. mz_source_statistics_raw updates_committed
  704. mz_source_statistics_raw updates_staged
  705. mz_source_statistics_with_history bytes_indexed
  706. mz_source_statistics_with_history bytes_received
  707. mz_source_statistics_with_history id
  708. mz_source_statistics_with_history messages_received
  709. mz_source_statistics_with_history offset_committed
  710. mz_source_statistics_with_history offset_known
  711. mz_source_statistics_with_history records_indexed
  712. mz_source_statistics_with_history rehydration_latency
  713. mz_source_statistics_with_history replica_id
  714. mz_source_statistics_with_history snapshot_committed
  715. mz_source_statistics_with_history snapshot_records_known
  716. mz_source_statistics_with_history snapshot_records_staged
  717. mz_source_statistics_with_history updates_committed
  718. mz_source_statistics_with_history updates_staged
  719. mz_source_status_history details
  720. mz_source_status_history error
  721. mz_source_status_history occurred_at
  722. mz_source_status_history replica_id
  723. mz_source_status_history source_id
  724. mz_source_status_history status
  725. mz_source_statuses details
  726. mz_source_statuses error
  727. mz_source_statuses id
  728. mz_source_statuses last_status_change_at
  729. mz_source_statuses name
  730. mz_source_statuses status
  731. mz_source_statuses type
  732. mz_sources cluster_id
  733. mz_sources connection_id
  734. mz_sources create_sql
  735. mz_sources envelope_type
  736. mz_sources id
  737. mz_sources key_format
  738. mz_sources name
  739. mz_sources oid
  740. mz_sources owner_id
  741. mz_sources privileges
  742. mz_sources redacted_create_sql
  743. mz_sources schema_id
  744. mz_sources size
  745. mz_sources type
  746. mz_sources value_format
  747. mz_sql_text prepared_day
  748. mz_sql_text redacted_sql
  749. mz_sql_text sql
  750. mz_sql_text sql_hash
  751. mz_statement_execution_history application_name
  752. mz_statement_execution_history began_at
  753. mz_statement_execution_history cluster_id
  754. mz_statement_execution_history cluster_name
  755. mz_statement_execution_history database_name
  756. mz_statement_execution_history error_message
  757. mz_statement_execution_history execution_strategy
  758. mz_statement_execution_history execution_timestamp
  759. mz_statement_execution_history finished_at
  760. mz_statement_execution_history finished_status
  761. mz_statement_execution_history id
  762. mz_statement_execution_history mz_version
  763. mz_statement_execution_history params
  764. mz_statement_execution_history prepared_statement_id
  765. mz_statement_execution_history result_size
  766. mz_statement_execution_history rows_returned
  767. mz_statement_execution_history sample_rate
  768. mz_statement_execution_history search_path
  769. mz_statement_execution_history transaction_id
  770. mz_statement_execution_history transaction_isolation
  771. mz_statement_execution_history transient_index_id
  772. mz_storage_shards object_id
  773. mz_storage_shards shard_id
  774. mz_storage_usage_by_shard collection_timestamp
  775. mz_storage_usage_by_shard id
  776. mz_storage_usage_by_shard shard_id
  777. mz_storage_usage_by_shard size_bytes
  778. mz_tables create_sql
  779. mz_tables id
  780. mz_tables name
  781. mz_tables oid
  782. mz_tables owner_id
  783. mz_tables privileges
  784. mz_tables redacted_create_sql
  785. mz_tables schema_id
  786. mz_tables source_id
  787. mz_type_pg_metadata id
  788. mz_type_pg_metadata typinput
  789. mz_type_pg_metadata typreceive
  790. mz_types category
  791. mz_types create_sql
  792. mz_types id
  793. mz_types name
  794. mz_types oid
  795. mz_types owner_id
  796. mz_types privileges
  797. mz_types redacted_create_sql
  798. mz_types schema_id
  799. mz_views create_sql
  800. mz_views definition
  801. mz_views id
  802. mz_views name
  803. mz_views oid
  804. mz_views owner_id
  805. mz_views privileges
  806. mz_views redacted_create_sql
  807. mz_views schema_id
  808. mz_wallclock_global_lag_history lag
  809. mz_wallclock_global_lag_history object_id
  810. mz_wallclock_global_lag_history occurred_at
  811. mz_wallclock_global_lag_recent_history lag
  812. mz_wallclock_global_lag_recent_history object_id
  813. mz_wallclock_global_lag_recent_history occurred_at
  814. mz_wallclock_lag_history lag
  815. mz_wallclock_lag_history object_id
  816. mz_wallclock_lag_history occurred_at
  817. mz_wallclock_lag_history replica_id
  818. mz_webhook_sources id
  819. mz_webhook_sources name
  820. mz_webhook_sources url
  821. pg_attrdef_all_databases adbin
  822. pg_attrdef_all_databases adnum
  823. pg_attrdef_all_databases adrelid
  824. pg_attrdef_all_databases adsrc
  825. pg_attrdef_all_databases oid
  826. pg_attribute_all_databases attcollation
  827. pg_attribute_all_databases attgenerated
  828. pg_attribute_all_databases atthasdef
  829. pg_attribute_all_databases attidentity
  830. pg_attribute_all_databases attisdropped
  831. pg_attribute_all_databases attlen
  832. pg_attribute_all_databases attname
  833. pg_attribute_all_databases attnotnull
  834. pg_attribute_all_databases attnum
  835. pg_attribute_all_databases attrelid
  836. pg_attribute_all_databases atttypid
  837. pg_attribute_all_databases atttypmod
  838. pg_attribute_all_databases database_name
  839. pg_attribute_all_databases pg_type_database_name
  840. pg_class_all_databases database_name
  841. pg_class_all_databases oid
  842. pg_class_all_databases relam
  843. pg_class_all_databases relchecks
  844. pg_class_all_databases relforcerowsecurity
  845. pg_class_all_databases relhasindex
  846. pg_class_all_databases relhasoids
  847. pg_class_all_databases relhasrules
  848. pg_class_all_databases relhassubclass
  849. pg_class_all_databases relhastriggers
  850. pg_class_all_databases relispartition
  851. pg_class_all_databases relkind
  852. pg_class_all_databases relname
  853. pg_class_all_databases relnamespace
  854. pg_class_all_databases reloftype
  855. pg_class_all_databases reloptions
  856. pg_class_all_databases relowner
  857. pg_class_all_databases relpersistence
  858. pg_class_all_databases relreplident
  859. pg_class_all_databases relrowsecurity
  860. pg_class_all_databases reltablespace
  861. pg_class_all_databases reltoastrelid
  862. pg_class_all_databases reltuples
  863. pg_description_all_databases class_database_name
  864. pg_description_all_databases classoid
  865. pg_description_all_databases description
  866. pg_description_all_databases objoid
  867. pg_description_all_databases objsubid
  868. pg_description_all_databases oid_database_name
  869. pg_namespace_all_databases database_name
  870. pg_namespace_all_databases nspacl
  871. pg_namespace_all_databases nspname
  872. pg_namespace_all_databases nspowner
  873. pg_namespace_all_databases oid
  874. pg_type_all_databases database_name
  875. pg_type_all_databases oid
  876. pg_type_all_databases typarray
  877. pg_type_all_databases typbasetype
  878. pg_type_all_databases typcategory
  879. pg_type_all_databases typcollation
  880. pg_type_all_databases typdefault
  881. pg_type_all_databases typdelim
  882. pg_type_all_databases typelem
  883. pg_type_all_databases typinput
  884. pg_type_all_databases typlen
  885. pg_type_all_databases typname
  886. pg_type_all_databases typnamespace
  887. pg_type_all_databases typnotnull
  888. pg_type_all_databases typowner
  889. pg_type_all_databases typreceive
  890. pg_type_all_databases typrelid
  891. pg_type_all_databases typtype
  892. pg_type_all_databases typtypmod