You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
106527: builtins: Added `ApproximateSpanBytes` column r=RahulAggarwal1016 a=RahulAggarwal1016
Added a column (`ApproximateSpanBytes`) to the `crdb_internal.sstable_metrics()` builtin generator function to display the number of bytes that the given user key span overlaps with.
Informs: cockroachdb#94659
Release note: None
106600: dev: use `bazel test` to run acceptance tests, not `bazel run` r=rail a=rickystewart
This is probably some oversight or historical artifact, but `bazel test` is conceptually correct and what we should be using in CI.
Epic: CRDB-17171
Release note: None
Co-authored-by: Rahul Aggarwal <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/sql/functions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3308,7 +3308,7 @@ table. Returns an error if validation fails.</p>
3308
3308
</span></td><td>Volatile</td></tr>
3309
3309
<tr><td><aname="crdb_internal.set_vmodule"></a><code>crdb_internal.set_vmodule(vmodule_string: <ahref="string.html">string</a>) → <ahref="int.html">int</a></code></td><td><spanclass="funcdesc"><p>Set the equivalent of the <code>--vmodule</code> flag on the gateway node processing this request; it affords control over the logging verbosity of different files. Example syntax: <code>crdb_internal.set_vmodule('recordio=2,file=1,gfs*=3')</code>. Reset with: <code>crdb_internal.set_vmodule('')</code>. Raising the verbosity can severely affect performance.</p>
3310
3310
</span></td><td>Volatile</td></tr>
3311
-
<tr><td><aname="crdb_internal.sstable_metrics"></a><code>crdb_internal.sstable_metrics(node_id: <ahref="int.html">int</a>, store_id: <ahref="int.html">int</a>, start_key: <ahref="bytes.html">bytes</a>, end_key: <ahref="bytes.html">bytes</a>) → tuple{int AS node_id,, int AS store_id, int AS level, int AS file_num, jsonb AS metrics}</code></td><td><spanclass="funcdesc"><p>Returns statistics for the sstables containing keys in the range start_key and end_key for the provided node id.</p>
3311
+
<tr><td><aname="crdb_internal.sstable_metrics"></a><code>crdb_internal.sstable_metrics(node_id: <ahref="int.html">int</a>, store_id: <ahref="int.html">int</a>, start_key: <ahref="bytes.html">bytes</a>, end_key: <ahref="bytes.html">bytes</a>) → tuple{int AS node_id,, int AS store_id, int AS level, int AS file_num, bytes AS approximate_span_<ahref="bytes.html">bytes</a>, jsonb AS metrics}</code></td><td><spanclass="funcdesc"><p>Returns statistics for the sstables containing keys in the range start_key and end_key for the provided node id.</p>
3312
3312
</span></td><td>Stable</td></tr>
3313
3313
<tr><td><aname="crdb_internal.table_span"></a><code>crdb_internal.table_span(table_id: <ahref="int.html">int</a>) → <ahref="bytes.html">bytes</a>[]</code></td><td><spanclass="funcdesc"><p>This function returns the span that contains the keys for the given table.</p>
2454: `crdb_internal.sstable_metrics(node_id: int, store_id: int, start_key: bytes, end_key: bytes) -> tuple{int AS node_id,, int AS store_id, int AS level, int AS file_num, jsonb AS metrics}`,
2427
+
2454: `crdb_internal.sstable_metrics(node_id: int, store_id: int, start_key: bytes, end_key: bytes) -> tuple{int AS node_id,, int AS store_id, int AS level, int AS file_num, bytes AS approximate_span_bytes, jsonb AS metrics}`,
0 commit comments