|
38 | 38 | },
|
39 | 39 | {
|
40 | 40 | "ObjectType": "SEQUENCE",
|
41 |
| - "TotalCount": 41, |
| 41 | + "TotalCount": 43, |
42 | 42 | "InvalidCount": 0,
|
43 |
| - "ObjectNames": "public.\"Case_Sensitive_Columns_id_seq\", public.\"Mixed_Case_Table_Name_Test_id_seq\", public.\"Recipients_id_seq\", public.\"WITH_id_seq\", public.bigint_multirange_table_id_seq, public.date_multirange_table_id_seq, public.employees2_id_seq, public.employees3_id_seq, public.employees_employee_id_seq, public.ext_test_id_seq, public.int_multirange_table_id_seq, public.mixed_data_types_table1_id_seq, public.mixed_data_types_table2_id_seq, public.numeric_multirange_table_id_seq, public.orders2_id_seq, public.ordersentry_order_id_seq, public.parent_table_id_seq, public.timestamp_multirange_table_id_seq, public.timestamptz_multirange_table_id_seq, public.with_example1_id_seq, public.with_example2_id_seq, schema2.\"Case_Sensitive_Columns_id_seq\", schema2.\"Mixed_Case_Table_Name_Test_id_seq\", schema2.\"Recipients_id_seq\", schema2.\"WITH_id_seq\", schema2.bigint_multirange_table_id_seq, schema2.date_multirange_table_id_seq, schema2.employees2_id_seq, schema2.ext_test_id_seq, schema2.int_multirange_table_id_seq, schema2.mixed_data_types_table1_id_seq, schema2.mixed_data_types_table2_id_seq, schema2.numeric_multirange_table_id_seq, schema2.orders2_id_seq, schema2.parent_table_id_seq, schema2.timestamp_multirange_table_id_seq, schema2.timestamptz_multirange_table_id_seq, schema2.with_example1_id_seq, schema2.with_example2_id_seq, test_views.view_table1_id_seq, test_views.view_table2_id_seq" |
| 43 | + "ObjectNames": "public.employeesforview_id_seq, schema2.employeesforview_id_seq, public.\"Case_Sensitive_Columns_id_seq\", public.\"Mixed_Case_Table_Name_Test_id_seq\", public.\"Recipients_id_seq\", public.\"WITH_id_seq\", public.bigint_multirange_table_id_seq, public.date_multirange_table_id_seq, public.employees2_id_seq, public.employees3_id_seq, public.employees_employee_id_seq, public.ext_test_id_seq, public.int_multirange_table_id_seq, public.mixed_data_types_table1_id_seq, public.mixed_data_types_table2_id_seq, public.numeric_multirange_table_id_seq, public.orders2_id_seq, public.ordersentry_order_id_seq, public.parent_table_id_seq, public.timestamp_multirange_table_id_seq, public.timestamptz_multirange_table_id_seq, public.with_example1_id_seq, public.with_example2_id_seq, schema2.\"Case_Sensitive_Columns_id_seq\", schema2.\"Mixed_Case_Table_Name_Test_id_seq\", schema2.\"Recipients_id_seq\", schema2.\"WITH_id_seq\", schema2.bigint_multirange_table_id_seq, schema2.date_multirange_table_id_seq, schema2.employees2_id_seq, schema2.ext_test_id_seq, schema2.int_multirange_table_id_seq, schema2.mixed_data_types_table1_id_seq, schema2.mixed_data_types_table2_id_seq, schema2.numeric_multirange_table_id_seq, schema2.orders2_id_seq, schema2.parent_table_id_seq, schema2.timestamp_multirange_table_id_seq, schema2.timestamptz_multirange_table_id_seq, schema2.with_example1_id_seq, schema2.with_example2_id_seq, test_views.view_table1_id_seq, test_views.view_table2_id_seq" |
44 | 44 | },
|
45 | 45 | {
|
46 | 46 | "ObjectType": "TABLE",
|
47 |
| - "TotalCount": 80, |
| 47 | + "TotalCount": 82, |
48 | 48 | "InvalidCount": 35,
|
49 |
| - "ObjectNames": "public.\"Case_Sensitive_Columns\", public.\"Mixed_Case_Table_Name_Test\", public.\"Recipients\", public.\"WITH\", public.audit, public.bigint_multirange_table, public.boston, public.c, public.child_table, public.citext_type, public.combined_tbl, public.date_multirange_table, public.documents, public.employees, public.employees2, public.employees3, public.ext_test, public.foo, public.inet_type, public.int_multirange_table, public.library_nested, public.london, public.mixed_data_types_table1, public.mixed_data_types_table2, public.numeric_multirange_table, public.orders, public.orders2, public.orders_lateral, public.ordersentry, public.parent_table, public.products, public.sales_region, public.session_log, public.session_log1, public.session_log2, public.sydney, public.test_exclude_basic, public.test_jsonb, public.test_xml_type, public.timestamp_multirange_table, public.timestamptz_multirange_table, public.ts_query_table, public.tt, public.with_example1, public.with_example2, schema2.\"Case_Sensitive_Columns\", schema2.\"Mixed_Case_Table_Name_Test\", schema2.\"Recipients\", schema2.\"WITH\", schema2.audit, schema2.bigint_multirange_table, schema2.boston, schema2.c, schema2.child_table, schema2.date_multirange_table, schema2.employees2, schema2.ext_test, schema2.foo, schema2.int_multirange_table, schema2.london, schema2.mixed_data_types_table1, schema2.mixed_data_types_table2, schema2.numeric_multirange_table, schema2.orders, schema2.orders2, schema2.parent_table, schema2.products, schema2.sales_region, schema2.session_log, schema2.session_log1, schema2.session_log2, schema2.sydney, schema2.test_xml_type, schema2.timestamp_multirange_table, schema2.timestamptz_multirange_table, schema2.tt, schema2.with_example1, schema2.with_example2, test_views.view_table1, test_views.view_table2" |
| 49 | + "ObjectNames": "public.employeesforview, schema2.employeesforview, public.\"Case_Sensitive_Columns\", public.\"Mixed_Case_Table_Name_Test\", public.\"Recipients\", public.\"WITH\", public.audit, public.bigint_multirange_table, public.boston, public.c, public.child_table, public.citext_type, public.combined_tbl, public.date_multirange_table, public.documents, public.employees, public.employees2, public.employees3, public.ext_test, public.foo, public.inet_type, public.int_multirange_table, public.library_nested, public.london, public.mixed_data_types_table1, public.mixed_data_types_table2, public.numeric_multirange_table, public.orders, public.orders2, public.orders_lateral, public.ordersentry, public.parent_table, public.products, public.sales_region, public.session_log, public.session_log1, public.session_log2, public.sydney, public.test_exclude_basic, public.test_jsonb, public.test_xml_type, public.timestamp_multirange_table, public.timestamptz_multirange_table, public.ts_query_table, public.tt, public.with_example1, public.with_example2, schema2.\"Case_Sensitive_Columns\", schema2.\"Mixed_Case_Table_Name_Test\", schema2.\"Recipients\", schema2.\"WITH\", schema2.audit, schema2.bigint_multirange_table, schema2.boston, schema2.c, schema2.child_table, schema2.date_multirange_table, schema2.employees2, schema2.ext_test, schema2.foo, schema2.int_multirange_table, schema2.london, schema2.mixed_data_types_table1, schema2.mixed_data_types_table2, schema2.numeric_multirange_table, schema2.orders, schema2.orders2, schema2.parent_table, schema2.products, schema2.sales_region, schema2.session_log, schema2.session_log1, schema2.session_log2, schema2.sydney, schema2.test_xml_type, schema2.timestamp_multirange_table, schema2.timestamptz_multirange_table, schema2.tt, schema2.with_example1, schema2.with_example2, test_views.view_table1, test_views.view_table2" |
50 | 50 | },
|
51 | 51 | {
|
52 | 52 | "ObjectType": "INDEX",
|
|
73 | 73 | },
|
74 | 74 | {
|
75 | 75 | "ObjectType": "VIEW",
|
76 |
| - "TotalCount": 8, |
77 |
| - "InvalidCount": 4, |
78 |
| - "ObjectNames": "public.ordersentry_view, public.sales_employees, schema2.sales_employees, test_views.v1, test_views.v2, test_views.v3, test_views.v4, public.view_explicit_security_invoker" |
| 76 | + "TotalCount": 10, |
| 77 | + "InvalidCount": 6, |
| 78 | + "ObjectNames": "public.ordersentry_view, public.sales_employees, schema2.sales_employees, test_views.v1, test_views.v2, test_views.v3, test_views.v4, public.view_explicit_security_invoker, schema2.top_employees_view, public.top_employees_view" |
79 | 79 | },
|
80 | 80 | {
|
81 | 81 | "ObjectType": "TRIGGER",
|
|
162 | 162 | "schema2.products",
|
163 | 163 | "schema2.foo",
|
164 | 164 | "schema2.Case_Sensitive_Columns",
|
| 165 | + "schema2.employeesforview", |
165 | 166 | "schema2.with_example1",
|
166 | 167 | "test_views.xyz_mview",
|
167 | 168 | "test_views.view_table2",
|
|
183 | 184 | "schema2.int_multirange_table",
|
184 | 185 | "schema2.numeric_multirange_table",
|
185 | 186 | "schema2.timestamp_multirange_table",
|
186 |
| - "schema2.timestamptz_multirange_table" |
| 187 | + "schema2.timestamptz_multirange_table", |
| 188 | + "public.employeesforview" |
187 | 189 | ],
|
188 |
| - "ColocatedReasoning": "Recommended instance type with 4 vCPU and 16 GiB memory could fit 86 objects (78 tables/materialized views and 8 explicit/implicit indexes) with 0.00 MB size and throughput requirement of 0 reads/sec and 0 writes/sec as colocated. Rest 28 objects (5 tables/materialized views and 23 explicit/implicit indexes) with 0.00 MB size and throughput requirement of 0 reads/sec and 0 writes/sec need to be migrated as range partitioned tables. Non leaf partition tables/indexes and unsupported tables/indexes were not considered.", |
| 190 | + "ColocatedReasoning": "Recommended instance type with 4 vCPU and 16 GiB memory could fit 88 objects (80 tables/materialized views and 8 explicit/implicit indexes) with 0.00 MB size and throughput requirement of 0 reads/sec and 0 writes/sec as colocated. Rest 28 objects (5 tables/materialized views and 23 explicit/implicit indexes) with 0.00 MB size and throughput requirement of 0 reads/sec and 0 writes/sec need to be migrated as range partitioned tables. Non leaf partition tables/indexes and unsupported tables/indexes were not considered.", |
189 | 191 | "ShardedTables": [
|
190 | 192 | "public.combined_tbl",
|
191 | 193 | "public.citext_type",
|
|
642 | 644 | ],
|
643 | 645 | "MinimumVersionsFixedIn": null
|
644 | 646 | },
|
| 647 | + { |
| 648 | + "FeatureName": "FETCH .. WITH TIES Clause", |
| 649 | + "Objects": [ |
| 650 | + { |
| 651 | + "ObjectName": "public.top_employees_view", |
| 652 | + "SqlStatement": "CREATE VIEW public.top_employees_view AS\n SELECT id,\n first_name,\n last_name,\n salary\n FROM ( SELECT employeesforview.id,\n employeesforview.first_name,\n employeesforview.last_name,\n employeesforview.salary\n FROM public.employeesforview\n ORDER BY employeesforview.salary DESC\n FETCH FIRST 2 ROWS WITH TIES) top_employees;" |
| 653 | + }, |
| 654 | + { |
| 655 | + "ObjectName": "schema2.top_employees_view", |
| 656 | + "SqlStatement": "CREATE VIEW schema2.top_employees_view AS\n SELECT id,\n first_name,\n last_name,\n salary\n FROM ( SELECT employeesforview.id,\n employeesforview.first_name,\n employeesforview.last_name,\n employeesforview.salary\n FROM schema2.employeesforview\n ORDER BY employeesforview.salary DESC\n FETCH FIRST 2 ROWS WITH TIES) top_employees;" |
| 657 | + } |
| 658 | + ], |
| 659 | + "MinimumVersionsFixedIn": null |
| 660 | + }, |
645 | 661 | {
|
646 | 662 | "FeatureName": "Security Invoker Views",
|
647 | 663 | "Objects": [
|
|
938 | 954 | {
|
939 | 955 | "SchemaName": "public",
|
940 | 956 | "ObjectName": "employees",
|
941 |
| - "RowCount": 5, |
| 957 | + "RowCount": 10, |
942 | 958 | "ColumnCount": 4,
|
943 | 959 | "Reads": 0,
|
944 | 960 | "Writes": 10,
|
|
2069 | 2085 | "ParentTableName": "schema2.mixed_data_types_table1",
|
2070 | 2086 | "SizeInBytes": 8192
|
2071 | 2087 | },
|
| 2088 | + { |
| 2089 | + "SchemaName": "public", |
| 2090 | + "ObjectName": "employeesforview", |
| 2091 | + "RowCount": 0, |
| 2092 | + "ColumnCount": 4, |
| 2093 | + "Reads": 0, |
| 2094 | + "Writes": 0, |
| 2095 | + "ReadsPerSecond": 0, |
| 2096 | + "WritesPerSecond": 0, |
| 2097 | + "IsIndex": false, |
| 2098 | + "ObjectType": "", |
| 2099 | + "ParentTableName": null, |
| 2100 | + "SizeInBytes": 0 |
| 2101 | + }, |
2072 | 2102 | {
|
2073 | 2103 | "SchemaName": "public",
|
2074 | 2104 | "ObjectName": "employees3",
|
|
2167 | 2197 | "ParentTableName": null,
|
2168 | 2198 | "SizeInBytes": 0
|
2169 | 2199 | },
|
| 2200 | + { |
| 2201 | + "SchemaName": "schema2", |
| 2202 | + "ObjectName": "employeesforview", |
| 2203 | + "RowCount": 0, |
| 2204 | + "ColumnCount": 4, |
| 2205 | + "Reads": 0, |
| 2206 | + "Writes": 0, |
| 2207 | + "ReadsPerSecond": 0, |
| 2208 | + "WritesPerSecond": 0, |
| 2209 | + "IsIndex": false, |
| 2210 | + "ObjectType": "", |
| 2211 | + "ParentTableName": null, |
| 2212 | + "SizeInBytes": 0 |
| 2213 | + }, |
2170 | 2214 | {
|
2171 | 2215 | "SchemaName": "schema2",
|
2172 | 2216 | "ObjectName": "bigint_multirange_table",
|
|
0 commit comments