@culpritsql/plan-viewer 0.6.0 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@culpritsql/plan-viewer",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Interactive React execution plan diagram, structural plan diff, deadlock cycle graph, and Extended Events (.xel) components for SQL Server, PostgreSQL, MySQL, MariaDB, YugabyteDB, and SQLite.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/pkg/build-report.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"embedded_catalog": {
|
|
9
9
|
"language": "en",
|
|
10
10
|
"message_count": 481,
|
|
11
|
-
"source_en_sha256": "
|
|
12
|
-
"engines_sha256": "
|
|
11
|
+
"source_en_sha256": "4e0b36f1dc32aca81cf65e7445b7d92c13beb1b90a72aec7f0c2c2e730d5e29e",
|
|
12
|
+
"engines_sha256": "01ddd83f4ebecc1b1c57c29a7f10d02057f301ec5e210478db2148930a23d22c"
|
|
13
13
|
},
|
|
14
14
|
"models": [
|
|
15
15
|
{
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"name": "DatabaseProduct",
|
|
102
|
-
"source_sha256": "
|
|
103
|
-
"package_sha256": "
|
|
102
|
+
"source_sha256": "4ec38056c2002bfec79c643dc81a487ad6beb29e00f405295bd42c5fcabaa461",
|
|
103
|
+
"package_sha256": "4ec38056c2002bfec79c643dc81a487ad6beb29e00f405295bd42c5fcabaa461"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"name": "Deadlock",
|
|
@@ -149,8 +149,8 @@
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"name": "Engine",
|
|
152
|
-
"source_sha256": "
|
|
153
|
-
"package_sha256": "
|
|
152
|
+
"source_sha256": "7d42df5cb7823c4e31de9ab87312406656c244c0618bb8b54ad0fe1626087276",
|
|
153
|
+
"package_sha256": "7d42df5cb7823c4e31de9ab87312406656c244c0618bb8b54ad0fe1626087276"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "EngineAbilities",
|
|
@@ -634,8 +634,8 @@
|
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
636
|
"name": "ReadUnit",
|
|
637
|
-
"source_sha256": "
|
|
638
|
-
"package_sha256": "
|
|
637
|
+
"source_sha256": "7870f00753904cf7b5eddcaeaa4e060615656b79eceae329cf0a9c25224c1230",
|
|
638
|
+
"package_sha256": "7870f00753904cf7b5eddcaeaa4e060615656b79eceae329cf0a9c25224c1230"
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
"name": "Refusal",
|
|
@@ -744,8 +744,8 @@
|
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
746
|
"name": "SqlSyntax",
|
|
747
|
-
"source_sha256": "
|
|
748
|
-
"package_sha256": "
|
|
747
|
+
"source_sha256": "01ee060eb32ebaed676188c1aa201f4938791332df7df3a345f366339107e7c7",
|
|
748
|
+
"package_sha256": "01ee060eb32ebaed676188c1aa201f4938791332df7df3a345f366339107e7c7"
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
751
|
"name": "StatementMetrics",
|
|
@@ -804,8 +804,8 @@
|
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"name": "WriteLog",
|
|
807
|
-
"source_sha256": "
|
|
808
|
-
"package_sha256": "
|
|
807
|
+
"source_sha256": "9a2b2eee3f6ca345c091e16b9afb9a327f4cd076ea118d9190af040f520c08ca",
|
|
808
|
+
"package_sha256": "9a2b2eee3f6ca345c091e16b9afb9a327f4cd076ea118d9190af040f520c08ca"
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
811
|
"name": "WriteRows",
|
|
@@ -945,10 +945,10 @@
|
|
|
945
945
|
"sha256": "7bc35279db095a55830a0a0f917917442f024fe451907a8fce64f438584d464d"
|
|
946
946
|
},
|
|
947
947
|
"defaults.js": {
|
|
948
|
-
"bytes":
|
|
949
|
-
"gzip_bytes":
|
|
950
|
-
"brotli_bytes":
|
|
951
|
-
"sha256": "
|
|
948
|
+
"bytes": 42524,
|
|
949
|
+
"gzip_bytes": 9574,
|
|
950
|
+
"brotli_bytes": 8155,
|
|
951
|
+
"sha256": "f1f51cb154fed6290f129e57bcc2f30769aab97c89ba425e6ce9f4d8b8225b84"
|
|
952
952
|
},
|
|
953
953
|
"host.js": {
|
|
954
954
|
"bytes": 24174,
|
package/pkg/defaults.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const DEFAULT_ENGINES = { "mssql": { "label": "SQL Server", "abilities": { "plan_estimates": true }, "products": [{ "id": "mssql", "label": "SQL Server", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "mysql": { "label": "MySQL", "abilities": { "plan_estimates": true }, "products": [{ "id": "mysql", "label": "MySQL", "prefix": null }, { "id": "mariadb", "label": "MariaDB", "prefix": "MariaDB" }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "postgres": { "label": "PostgreSQL", "abilities": { "plan_estimates": true }, "products": [{ "id": "postgres", "label": "PostgreSQL", "prefix": null }, { "id": "timescale", "label": "TimescaleDB", "prefix": "TimescaleDB" }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "sqlite": { "label": "SQLite", "abilities": { "plan_estimates": false }, "products": [{ "id": "sqlite", "label": "SQLite", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_sqlite" } }, "yugabyte": { "label": "YugabyteDB", "abilities": { "plan_estimates": true }, "products": [{ "id": "yugabyte", "label": "YugabyteDB", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } } };
|
|
1
|
+
export const DEFAULT_ENGINES = { "clickhouse": { "label": "ClickHouse", "abilities": { "plan_estimates": false }, "products": [{ "id": "clickhouse", "label": "ClickHouse", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "mssql": { "label": "SQL Server", "abilities": { "plan_estimates": true }, "products": [{ "id": "mssql", "label": "SQL Server", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "mysql": { "label": "MySQL", "abilities": { "plan_estimates": true }, "products": [{ "id": "mysql", "label": "MySQL", "prefix": null }, { "id": "mariadb", "label": "MariaDB", "prefix": "MariaDB" }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "postgres": { "label": "PostgreSQL", "abilities": { "plan_estimates": true }, "products": [{ "id": "postgres", "label": "PostgreSQL", "prefix": null }, { "id": "timescale", "label": "TimescaleDB", "prefix": "TimescaleDB" }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } }, "sqlite": { "label": "SQLite", "abilities": { "plan_estimates": false }, "products": [{ "id": "sqlite", "label": "SQLite", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_sqlite" } }, "yugabyte": { "label": "YugabyteDB", "abilities": { "plan_estimates": true }, "products": [{ "id": "yugabyte", "label": "YugabyteDB", "prefix": null }], "evidence_presentation": { "generic_plan_context": "ui.plan_surface.generic_settings" } } };
|
|
2
2
|
export const DEFAULT_LOCALE = { "plural": "en", "decimal": ".", "group": ",", "direction": "ltr" };
|
|
3
3
|
export const DEFAULT_MESSAGES = {
|
|
4
4
|
"common.metric.runs": "Runs",
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* The database product a provider identified. Product branding does not select an execution provider.
|
|
5
5
|
*/
|
|
6
|
-
export type DatabaseProduct = "mssql" | "postgres" | "timescale" | "yugabyte" | "mysql" | "mariadb" | "sqlite";
|
|
6
|
+
export type DatabaseProduct = "clickhouse" | "mssql" | "postgres" | "timescale" | "yugabyte" | "mysql" | "mariadb" | "sqlite";
|
package/pkg/models/Engine.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
2
|
|
|
3
|
-
export type Engine = "mssql" | "postgres" | "yugabyte" | "mysql" | "sqlite";
|
|
3
|
+
export type Engine = "clickhouse" | "mssql" | "postgres" | "yugabyte" | "mysql" | "sqlite";
|
package/pkg/models/ReadUnit.d.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* What a statement's reads are counted in: pages on most engines, rows examined on MySQL and MariaDB (the rows the
|
|
5
5
|
* storage engine handed to the server). Messages `select` on it.
|
|
6
6
|
*/
|
|
7
|
-
export type ReadUnit = "pages" | "rows_examined";
|
|
7
|
+
export type ReadUnit = "rows_read" | "pages" | "rows_examined";
|
package/pkg/models/WriteLog.d.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* The log a statement's changes are written to before they reach the data files: PostgreSQL's WAL, the others'
|
|
5
5
|
* transaction log. Messages `select` on it (`{log, select, wal {..} other {..}}`).
|
|
6
6
|
*/
|
|
7
|
-
export type WriteLog = "wal" | "transaction_log";
|
|
7
|
+
export type WriteLog = "unavailable" | "wal" | "transaction_log";
|