docs
docs copied to clipboard
document partially visible indexes
DOC-7501 DOC-7507 DOC-8003
- Document
VISIBILITYclause forALTER INDEX,CREATE INDEX(and implicitlyCREATE TABLE, though that doc wasn't affected). - Note that partially visible indexes are considered fully invisible for index recommendations.
This is covered in the 23.2, 24.1, and 24.2 docs.
Preview links containing the major changes: https://deploy-preview-18737--cockroachdb-docs.netlify.app/docs/stable/alter-index#visibility https://deploy-preview-18737--cockroachdb-docs.netlify.app/docs/v24.1/cost-based-optimizer#control-whether-the-optimizer-uses-an-index
Files changed:
- src/current/_includes/v23.2/demo_movr.md:
- src/current/v23.2/explain.md
- src/current/v23.2/apply-statement-performance-rules.md
- src/current/v23.2/alter-index.md
- src/current/v23.2/explain-analyze.md
- src/current/v23.2/partial-indexes.md
- src/current/_includes/v23.2/sql/inverted-joins.md:
- src/current/_includes/v23.2/sql/partially-visible-indexes.md:
- src/current/_includes/v24.1/demo_movr.md:
- src/current/v24.1/explain.md
- src/current/v24.1/apply-statement-performance-rules.md
- src/current/v24.1/alter-index.md
- src/current/v24.1/explain-analyze.md
- src/current/v24.1/partial-indexes.md
- src/current/_includes/v24.1/sql/inverted-joins.md:
- src/current/_includes/v24.1/sql/partially-visible-indexes.md:
- src/current/_includes/v24.2/demo_movr.md:
- src/current/v24.2/explain.md
- src/current/v24.2/apply-statement-performance-rules.md
- src/current/v24.2/alter-index.md
- src/current/v24.2/explain-analyze.md
- src/current/v24.2/partial-indexes.md
- src/current/_includes/v24.2/sql/inverted-joins.md:
- src/current/_includes/v24.2/sql/partially-visible-indexes.md:
- src/current/v23.2/alter-index.md
- src/current/v23.2/cost-based-optimizer.md
- src/current/v23.2/create-index.md
- src/current/v24.1/alter-index.md
- src/current/v24.1/cost-based-optimizer.md
- src/current/v24.1/create-index.md
- src/current/v24.2/alter-index.md
- src/current/v24.2/cost-based-optimizer.md
- src/current/v24.2/create-index.md
Deploy Preview for cockroachdb-api-docs canceled.
| Name | Link |
|---|---|
| Latest commit | beefebb6b08bd99cf948f8ca653e5ec01ccda476 |
| Latest deploy log | https://app.netlify.com/sites/cockroachdb-api-docs/deploys/66ad041af7edf4000800ac57 |
Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
| Name | Link |
|---|---|
| Latest commit | beefebb6b08bd99cf948f8ca653e5ec01ccda476 |
| Latest deploy log | https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/66ad041a0502b800085b9416 |
Netlify Preview
| Name | Link |
|---|---|
| Latest commit | abd260cc79958dfbc438f4950c3193a4949d5ca1 |
| Latest deploy log | https://app.netlify.com/sites/cockroachdb-docs/deploys/66ad0218591aec0008600dd1 |
| Deploy Preview | https://deploy-preview-18737--cockroachdb-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
* I know the section `Set an index to be not visible` example was not modified, but the results of `SHOW INDEXES FROM rides;` can be updated to include the `visibility` column. It mentions that `visible` is the last column, this is no longer correct since `visibility` is now the last column.
Done! Thanks for noticing this.
Netlify Preview
| Name | Link |
|---|---|
| Latest commit | beefebb6b08bd99cf948f8ca653e5ec01ccda476 |
| Latest deploy log | https://app.netlify.com/sites/cockroachdb-docs/deploys/66ad041a6300e20008f70823 |
| Deploy Preview | https://deploy-preview-18737--cockroachdb-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Netlify Preview
| Name | Link |
|---|---|
| Latest commit | 1e30b95670ae53f7b3f61718f8b72ce18f099ae9 |
| Latest deploy log | https://app.netlify.com/sites/cockroachdb-docs/deploys/66ad043056f2d900088c5508 |
| Deploy Preview | https://deploy-preview-18737--cockroachdb-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.