Document SHOW STATISTICS using JSON and INJECT STATISTICS #66061
Labels
A-docs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
Is your feature request related to a problem? Please describe.
Need to Document
SHOW STATISTICS USING JSON FOR TABLE ...
ALTER TABLE... INJECT STATISTICS
Describe the solution you'd like
Docs to be created as mentioned above
Additional context
This is an example of what I am doing to copy statistics from one table to another...
cockroach sql -e 'show statistics using json for table kv.kv' --insecure --format raw | grep -v '^#' | while read s do echo "ALTER TABLE kv.kv2 INJECT STATISTICS '$s';" | cockroach sql --insecure done
Jira issue: CRDB-7865
The text was updated successfully, but these errors were encountered: