mz_internal.slt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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. # This file is auto-generated by ci/test/lint-docs-catalog.py
  10. mode cockroach
  11. statement ok
  12. CREATE VIEW objects AS
  13. SELECT
  14. schema.name AS schema,
  15. objects.name AS object,
  16. columns.position,
  17. columns.name,
  18. columns.type
  19. FROM
  20. mz_catalog.mz_columns AS columns,
  21. mz_catalog.mz_objects AS objects,
  22. mz_catalog.mz_schemas AS schema
  23. WHERE columns.id = objects.id AND objects.schema_id = schema.id
  24. statement ok
  25. CREATE INDEX objects_idx ON objects(schema, object)
  26. query ITT
  27. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_recent_activity_log' ORDER BY position
  28. ----
  29. 1 execution_id uuid
  30. 2 sample_rate double␠precision
  31. 3 cluster_id text
  32. 4 application_name text
  33. 5 cluster_name text
  34. 6 database_name text
  35. 7 search_path list
  36. 8 transaction_isolation text
  37. 9 execution_timestamp uint8
  38. 10 transient_index_id text
  39. 11 params text[]
  40. 12 mz_version text
  41. 13 began_at timestamp␠with␠time␠zone
  42. 14 finished_at timestamp␠with␠time␠zone
  43. 15 finished_status text
  44. 16 error_message text
  45. 17 result_size bigint
  46. 18 rows_returned bigint
  47. 19 execution_strategy text
  48. 20 transaction_id uint8
  49. 21 prepared_statement_id uuid
  50. 22 sql_hash bytea
  51. 23 prepared_statement_name text
  52. 24 session_id uuid
  53. 25 prepared_at timestamp␠with␠time␠zone
  54. 26 statement_type text
  55. 27 throttled_count uint8
  56. 28 initial_application_name text
  57. 29 authenticated_user text
  58. 30 sql text
  59. query ITT
  60. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_aws_connections' ORDER BY position
  61. ----
  62. 1 id text
  63. 2 endpoint text
  64. 3 region text
  65. 4 access_key_id text
  66. 5 access_key_id_secret_id text
  67. 6 secret_access_key_secret_id text
  68. 7 session_token text
  69. 8 session_token_secret_id text
  70. 9 assume_role_arn text
  71. 10 assume_role_session_name text
  72. 11 principal text
  73. 12 external_id text
  74. 13 example_trust_policy jsonb
  75. query ITT
  76. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_aws_privatelink_connection_status_history' ORDER BY position
  77. ----
  78. 1 occurred_at timestamp␠with␠time␠zone
  79. 2 connection_id text
  80. 3 status text
  81. query ITT
  82. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_aws_privatelink_connection_statuses' ORDER BY position
  83. ----
  84. 1 id text
  85. 2 name text
  86. 3 last_status_change_at timestamp␠with␠time␠zone
  87. 4 status text
  88. query ITT
  89. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_deployment_lineage' ORDER BY position
  90. ----
  91. 1 cluster_id text
  92. 2 current_deployment_cluster_id text
  93. 3 cluster_name text
  94. query ITT
  95. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_schedules' ORDER BY position
  96. ----
  97. 1 cluster_id text
  98. 2 type text
  99. 3 refresh_hydration_time_estimate interval
  100. query ITT
  101. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_metrics' ORDER BY position
  102. ----
  103. 1 replica_id text
  104. 2 process_id uint8
  105. 3 cpu_nano_cores uint8
  106. 4 memory_bytes uint8
  107. 5 disk_bytes uint8
  108. query ITT
  109. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_metrics_history' ORDER BY position
  110. ----
  111. 1 replica_id text
  112. 2 process_id uint8
  113. 3 cpu_nano_cores uint8
  114. 4 memory_bytes uint8
  115. 5 disk_bytes uint8
  116. 6 occurred_at timestamp␠with␠time␠zone
  117. query ITT
  118. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_statuses' ORDER BY position
  119. ----
  120. 1 replica_id text
  121. 2 process_id uint8
  122. 3 status text
  123. 4 reason text
  124. 5 updated_at timestamp␠with␠time␠zone
  125. query ITT
  126. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_status_history' ORDER BY position
  127. ----
  128. 1 replica_id text
  129. 2 process_id uint8
  130. 3 status text
  131. 4 reason text
  132. 5 occurred_at timestamp␠with␠time␠zone
  133. query ITT
  134. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_utilization' ORDER BY position
  135. ----
  136. 1 replica_id text
  137. 2 process_id uint8
  138. 3 cpu_percent double␠precision
  139. 4 memory_percent double␠precision
  140. 5 disk_percent double␠precision
  141. query ITT
  142. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_utilization_history' ORDER BY position
  143. ----
  144. 1 replica_id text
  145. 2 process_id uint8
  146. 3 cpu_percent double␠precision
  147. 4 memory_percent double␠precision
  148. 5 disk_percent double␠precision
  149. 6 occurred_at timestamp␠with␠time␠zone
  150. query ITT
  151. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_history' ORDER BY position
  152. ----
  153. 1 replica_id text
  154. 2 size text
  155. 3 cluster_id text
  156. 4 cluster_name text
  157. 5 replica_name text
  158. 6 created_at timestamp␠with␠time␠zone
  159. 7 dropped_at timestamp␠with␠time␠zone
  160. 8 credits_per_hour numeric
  161. query ITT
  162. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_replica_name_history' ORDER BY position
  163. ----
  164. 1 occurred_at timestamp␠with␠time␠zone
  165. 2 id text
  166. 3 previous_name text
  167. 4 new_name text
  168. query ITT
  169. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_internal_cluster_replicas' ORDER BY position
  170. ----
  171. 1 id text
  172. query ITT
  173. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_pending_cluster_replicas' ORDER BY position
  174. ----
  175. 1 id text
  176. query ITT
  177. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_comments' ORDER BY position
  178. ----
  179. 1 id text
  180. 2 object_type text
  181. 3 object_sub_id integer
  182. 4 comment text
  183. query ITT
  184. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_compute_dependencies' ORDER BY position
  185. ----
  186. 1 object_id text
  187. 2 dependency_id text
  188. query ITT
  189. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_compute_hydration_statuses' ORDER BY position
  190. ----
  191. 1 object_id text
  192. 2 replica_id text
  193. 3 hydrated boolean
  194. 4 hydration_time interval
  195. query ITT
  196. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_compute_operator_hydration_statuses' ORDER BY position
  197. ----
  198. 1 object_id text
  199. 2 physical_plan_node_id uint8
  200. 3 replica_id text
  201. 4 hydrated boolean
  202. query ITT
  203. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_frontiers' ORDER BY position
  204. ----
  205. 1 object_id text
  206. 2 read_frontier mz_timestamp
  207. 3 write_frontier mz_timestamp
  208. query ITT
  209. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_history_retention_strategies' ORDER BY position
  210. ----
  211. 1 id text
  212. 2 strategy text
  213. 3 value jsonb
  214. query ITT
  215. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_hydration_statuses' ORDER BY position
  216. ----
  217. 1 object_id text
  218. 2 replica_id text
  219. 3 hydrated boolean
  220. query ITT
  221. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_license_keys' ORDER BY position
  222. ----
  223. 1 id text
  224. 2 organization text
  225. 3 environment_id text
  226. 4 expiration timestamp␠with␠time␠zone
  227. 5 not_before timestamp␠with␠time␠zone
  228. query ITT
  229. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_index_advice' ORDER BY position
  230. ----
  231. 1 object_id text
  232. 2 hint text
  233. 3 details text
  234. 4 referenced_object_ids list
  235. query ITT
  236. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_materialization_dependencies' ORDER BY position
  237. ----
  238. 1 object_id text
  239. 2 dependency_id text
  240. query ITT
  241. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_materialization_lag' ORDER BY position
  242. ----
  243. 1 object_id text
  244. 2 local_lag interval
  245. 3 global_lag interval
  246. 4 slowest_local_input_id text
  247. 5 slowest_global_input_id text
  248. query ITT
  249. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_materialized_view_refresh_strategies' ORDER BY position
  250. ----
  251. 1 materialized_view_id text
  252. 2 type text
  253. 3 interval interval
  254. 4 aligned_to timestamp␠with␠time␠zone
  255. 5 at timestamp␠with␠time␠zone
  256. query ITT
  257. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_materialized_view_refreshes' ORDER BY position
  258. ----
  259. 1 materialized_view_id text
  260. 2 last_completed_refresh mz_timestamp
  261. 3 next_refresh mz_timestamp
  262. query ITT
  263. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_object_dependencies' ORDER BY position
  264. ----
  265. 1 object_id text
  266. 2 referenced_object_id text
  267. query ITT
  268. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_object_fully_qualified_names' ORDER BY position
  269. ----
  270. 1 id text
  271. 2 name text
  272. 3 object_type text
  273. 4 schema_id text
  274. 5 schema_name text
  275. 6 database_id text
  276. 7 database_name text
  277. 8 cluster_id text
  278. query ITT
  279. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_object_lifetimes' ORDER BY position
  280. ----
  281. 1 id text
  282. 2 previous_id text
  283. 3 object_type text
  284. 4 event_type text
  285. 5 occurred_at timestamp␠with␠time␠zone
  286. query ITT
  287. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_object_history' ORDER BY position
  288. ----
  289. 1 id text
  290. 2 cluster_id text
  291. 3 object_type text
  292. 4 created_at timestamp␠with␠time␠zone
  293. 5 dropped_at timestamp␠with␠time␠zone
  294. query ITT
  295. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_object_transitive_dependencies' ORDER BY position
  296. ----
  297. 1 object_id text
  298. 2 referenced_object_id text
  299. query ITT
  300. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_notices' ORDER BY position
  301. ----
  302. 1 id text
  303. 2 notice_type text
  304. 3 message text
  305. 4 hint text
  306. 5 action text
  307. 6 redacted_message text
  308. 7 redacted_hint text
  309. 8 redacted_action text
  310. 9 action_type text
  311. 10 object_id text
  312. 11 created_at timestamp␠with␠time␠zone
  313. query ITT
  314. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_notices_redacted' ORDER BY position
  315. ----
  316. 1 id text
  317. 2 notice_type text
  318. 3 message text
  319. 4 hint text
  320. 5 action text
  321. 6 action_type text
  322. 7 object_id text
  323. 8 created_at timestamp␠with␠time␠zone
  324. query ITT
  325. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_postgres_sources' ORDER BY position
  326. ----
  327. 1 id text
  328. 2 replication_slot text
  329. 3 timeline_id uint8
  330. query ITT
  331. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_postgres_source_tables' ORDER BY position
  332. ----
  333. 1 id text
  334. 2 schema_name text
  335. 3 table_name text
  336. query ITT
  337. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_mysql_source_tables' ORDER BY position
  338. ----
  339. 1 id text
  340. 2 schema_name text
  341. 3 table_name text
  342. query ITT
  343. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_sql_server_source_tables' ORDER BY position
  344. ----
  345. 1 id text
  346. 2 schema_name text
  347. 3 table_name text
  348. query ITT
  349. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_kafka_source_tables' ORDER BY position
  350. ----
  351. 1 id text
  352. 2 topic text
  353. 3 envelope_type text
  354. 4 key_format text
  355. 5 value_format text
  356. query ITT
  357. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_sessions' ORDER BY position
  358. ----
  359. 1 id uuid
  360. 2 connection_id uint4
  361. 3 role_id text
  362. 4 client_ip text
  363. 5 connected_at timestamp␠with␠time␠zone
  364. query ITT
  365. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_network_policies' ORDER BY position
  366. ----
  367. 1 id text
  368. 2 name text
  369. 3 owner_id text
  370. 4 privileges mz_aclitem[]
  371. 5 oid oid
  372. query ITT
  373. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_network_policy_rules' ORDER BY position
  374. ----
  375. 1 name text
  376. 2 policy_id text
  377. 3 action text
  378. 4 address text
  379. 5 direction text
  380. query ITT
  381. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_all_privileges' ORDER BY position
  382. ----
  383. 1 grantor text
  384. 2 grantee text
  385. 3 database text
  386. 4 schema text
  387. 5 name text
  388. 6 object_type text
  389. 7 privilege_type text
  390. query ITT
  391. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_cluster_privileges' ORDER BY position
  392. ----
  393. 1 grantor text
  394. 2 grantee text
  395. 3 name text
  396. 4 privilege_type text
  397. query ITT
  398. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_database_privileges' ORDER BY position
  399. ----
  400. 1 grantor text
  401. 2 grantee text
  402. 3 name text
  403. 4 privilege_type text
  404. query ITT
  405. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_default_privileges' ORDER BY position
  406. ----
  407. 1 object_owner text
  408. 2 database text
  409. 3 schema text
  410. 4 object_type text
  411. 5 grantee text
  412. 6 privilege_type text
  413. query ITT
  414. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_object_privileges' ORDER BY position
  415. ----
  416. 1 grantor text
  417. 2 grantee text
  418. 3 database text
  419. 4 schema text
  420. 5 name text
  421. 6 object_type text
  422. 7 privilege_type text
  423. query ITT
  424. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_role_members' ORDER BY position
  425. ----
  426. 1 role text
  427. 2 member text
  428. 3 grantor text
  429. query ITT
  430. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_schema_privileges' ORDER BY position
  431. ----
  432. 1 grantor text
  433. 2 grantee text
  434. 3 database text
  435. 4 name text
  436. 5 privilege_type text
  437. query ITT
  438. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_system_privileges' ORDER BY position
  439. ----
  440. 1 grantor text
  441. 2 grantee text
  442. 3 privilege_type text
  443. query ITT
  444. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_all_my_privileges' ORDER BY position
  445. ----
  446. 1 grantor text
  447. 2 grantee text
  448. 3 database text
  449. 4 schema text
  450. 5 name text
  451. 6 object_type text
  452. 7 privilege_type text
  453. query ITT
  454. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_cluster_privileges' ORDER BY position
  455. ----
  456. 1 grantor text
  457. 2 grantee text
  458. 3 name text
  459. 4 privilege_type text
  460. query ITT
  461. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_database_privileges' ORDER BY position
  462. ----
  463. 1 grantor text
  464. 2 grantee text
  465. 3 name text
  466. 4 privilege_type text
  467. query ITT
  468. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_default_privileges' ORDER BY position
  469. ----
  470. 1 object_owner text
  471. 2 database text
  472. 3 schema text
  473. 4 object_type text
  474. 5 grantee text
  475. 6 privilege_type text
  476. query ITT
  477. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_object_privileges' ORDER BY position
  478. ----
  479. 1 grantor text
  480. 2 grantee text
  481. 3 database text
  482. 4 schema text
  483. 5 name text
  484. 6 object_type text
  485. 7 privilege_type text
  486. query ITT
  487. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_role_members' ORDER BY position
  488. ----
  489. 1 role text
  490. 2 member text
  491. 3 grantor text
  492. query ITT
  493. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_schema_privileges' ORDER BY position
  494. ----
  495. 1 grantor text
  496. 2 grantee text
  497. 3 database text
  498. 4 name text
  499. 5 privilege_type text
  500. query ITT
  501. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_show_my_system_privileges' ORDER BY position
  502. ----
  503. 1 grantor text
  504. 2 grantee text
  505. 3 privilege_type text
  506. query ITT
  507. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_sink_statistics' ORDER BY position
  508. ----
  509. 1 id text
  510. 2 replica_id text
  511. 3 messages_staged uint8
  512. 4 messages_committed uint8
  513. 5 bytes_staged uint8
  514. 6 bytes_committed uint8
  515. query ITT
  516. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_sink_statuses' ORDER BY position
  517. ----
  518. 1 id text
  519. 2 name text
  520. 3 type text
  521. 4 last_status_change_at timestamp␠with␠time␠zone
  522. 5 status text
  523. 6 error text
  524. 7 details jsonb
  525. query ITT
  526. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_sink_status_history' ORDER BY position
  527. ----
  528. 1 occurred_at timestamp␠with␠time␠zone
  529. 2 sink_id text
  530. 3 status text
  531. 4 error text
  532. 5 details jsonb
  533. 6 replica_id text
  534. query ITT
  535. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_source_statistics' ORDER BY position
  536. ----
  537. 1 id text
  538. 2 replica_id text
  539. 3 messages_received uint8
  540. 4 bytes_received uint8
  541. 5 updates_staged uint8
  542. 6 updates_committed uint8
  543. 7 records_indexed uint8
  544. 8 bytes_indexed uint8
  545. 9 rehydration_latency interval
  546. 10 snapshot_records_known uint8
  547. 11 snapshot_records_staged uint8
  548. 12 snapshot_committed boolean
  549. 13 offset_known uint8
  550. 14 offset_committed uint8
  551. query ITT
  552. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_source_statuses' ORDER BY position
  553. ----
  554. 1 id text
  555. 2 name text
  556. 3 type text
  557. 4 last_status_change_at timestamp␠with␠time␠zone
  558. 5 status text
  559. 6 error text
  560. 7 details jsonb
  561. query ITT
  562. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_source_status_history' ORDER BY position
  563. ----
  564. 1 occurred_at timestamp␠with␠time␠zone
  565. 2 source_id text
  566. 3 status text
  567. 4 error text
  568. 5 details jsonb
  569. 6 replica_id text
  570. query ITT
  571. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_statement_lifecycle_history' ORDER BY position
  572. ----
  573. 1 statement_id uuid
  574. 2 event_type text
  575. 3 occurred_at timestamp␠with␠time␠zone
  576. query ITT
  577. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_subscriptions' ORDER BY position
  578. ----
  579. 1 id text
  580. 2 session_id uuid
  581. 3 cluster_id text
  582. 4 created_at timestamp␠with␠time␠zone
  583. 5 referenced_object_ids list
  584. query ITT
  585. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_wallclock_global_lag' ORDER BY position
  586. ----
  587. 1 object_id text
  588. 2 lag interval
  589. query ITT
  590. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_wallclock_lag_history' ORDER BY position
  591. ----
  592. 1 object_id text
  593. 2 replica_id text
  594. 3 lag interval
  595. 4 occurred_at timestamp␠with␠time␠zone
  596. query ITT
  597. SELECT position, name, type FROM objects WHERE schema = 'mz_internal' AND object = 'mz_webhook_sources' ORDER BY position
  598. ----
  599. 1 id text
  600. 2 name text
  601. 3 url text
  602. query T
  603. SELECT DISTINCT object FROM objects WHERE schema IN ('mz_internal') ORDER BY object
  604. ----
  605. mz_activity_log_thinned
  606. mz_aggregates
  607. mz_aws_connections
  608. mz_aws_privatelink_connection_status_history
  609. mz_aws_privatelink_connection_statuses
  610. mz_cluster_deployment_lineage
  611. mz_cluster_replica_history
  612. mz_cluster_replica_metrics
  613. mz_cluster_replica_metrics_history
  614. mz_cluster_replica_name_history
  615. mz_cluster_replica_status_history
  616. mz_cluster_replica_statuses
  617. mz_cluster_replica_utilization
  618. mz_cluster_replica_utilization_history
  619. mz_cluster_schedules
  620. mz_cluster_workload_classes
  621. mz_comments
  622. mz_compute_dependencies
  623. mz_compute_error_counts_raw_unified
  624. mz_compute_hydration_statuses
  625. mz_compute_hydration_times
  626. mz_compute_operator_hydration_statuses
  627. mz_compute_operator_hydration_statuses_per_worker
  628. mz_console_cluster_utilization_overview
  629. mz_continual_tasks
  630. mz_frontiers
  631. mz_global_frontiers
  632. mz_history_retention_strategies
  633. mz_hydration_statuses
  634. mz_index_advice
  635. mz_internal_cluster_replicas
  636. mz_kafka_source_tables
  637. mz_license_keys
  638. mz_materialization_dependencies
  639. mz_materialization_lag
  640. mz_materialized_view_refresh_strategies
  641. mz_materialized_view_refreshes
  642. mz_mysql_source_tables
  643. mz_network_policies
  644. mz_network_policy_rules
  645. mz_notices
  646. mz_notices_redacted
  647. mz_object_dependencies
  648. mz_object_fully_qualified_names
  649. mz_object_history
  650. mz_object_lifetimes
  651. mz_object_oid_alias
  652. mz_object_transitive_dependencies
  653. mz_objects_id_namespace_types
  654. mz_optimizer_notices
  655. mz_pending_cluster_replicas
  656. mz_postgres_source_tables
  657. mz_postgres_sources
  658. mz_prepared_statement_history
  659. mz_recent_activity_log
  660. mz_recent_activity_log_redacted
  661. mz_recent_activity_log_thinned
  662. mz_recent_sql_text
  663. mz_recent_sql_text_redacted
  664. mz_session_history
  665. mz_sessions
  666. mz_show_all_my_privileges
  667. mz_show_all_objects
  668. mz_show_all_privileges
  669. mz_show_cluster_privileges
  670. mz_show_cluster_replicas
  671. mz_show_clusters
  672. mz_show_columns
  673. mz_show_connections
  674. mz_show_continual_tasks
  675. mz_show_database_privileges
  676. mz_show_databases
  677. mz_show_default_privileges
  678. mz_show_indexes
  679. mz_show_materialized_views
  680. mz_show_my_cluster_privileges
  681. mz_show_my_database_privileges
  682. mz_show_my_default_privileges
  683. mz_show_my_object_privileges
  684. mz_show_my_role_members
  685. mz_show_my_schema_privileges
  686. mz_show_my_system_privileges
  687. mz_show_network_policies
  688. mz_show_object_privileges
  689. mz_show_role_members
  690. mz_show_roles
  691. mz_show_schema_privileges
  692. mz_show_schemas
  693. mz_show_secrets
  694. mz_show_sinks
  695. mz_show_sources
  696. mz_show_system_privileges
  697. mz_show_tables
  698. mz_show_types
  699. mz_show_views
  700. mz_sink_statistics
  701. mz_sink_statistics_raw
  702. mz_sink_status_history
  703. mz_sink_statuses
  704. mz_source_references
  705. mz_source_statistics
  706. mz_source_statistics_raw
  707. mz_source_statistics_with_history
  708. mz_source_status_history
  709. mz_source_statuses
  710. mz_sql_server_source_tables
  711. mz_sql_text
  712. mz_sql_text_redacted
  713. mz_statement_execution_history
  714. mz_statement_execution_history_redacted
  715. mz_statement_lifecycle_history
  716. mz_storage_shards
  717. mz_storage_usage_by_shard
  718. mz_subscriptions
  719. mz_type_pg_metadata
  720. mz_wallclock_global_lag
  721. mz_wallclock_global_lag_histogram
  722. mz_wallclock_global_lag_histogram_raw
  723. mz_wallclock_global_lag_history
  724. mz_wallclock_global_lag_recent_history
  725. mz_wallclock_lag_history
  726. mz_webhook_sources
  727. pg_attrdef_all_databases
  728. pg_attribute_all_databases
  729. pg_class_all_databases
  730. pg_description_all_databases
  731. pg_namespace_all_databases
  732. pg_type_all_databases