Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-11961 Provide comprehensive documentation for hotspots #19282

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

florence-crl
Copy link
Contributor

@florence-crl florence-crl commented Jan 6, 2025

Fixes DOC-11961

Added understand-hotspots.md and corresponding images.
In sidebar-data/troubleshooting.json, added link to understand-hotspots.md.

Rendered preview:

Copy link

github-actions bot commented Jan 6, 2025

Files changed:

Copy link

netlify bot commented Jan 6, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 23bf707
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/67882df20a53ff00088653c8

Copy link

netlify bot commented Jan 6, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 23bf707
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/67882df28aec090008b27b1c

Copy link

netlify bot commented Jan 6, 2025

Netlify Preview

Name Link
🔨 Latest commit 23bf707
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/67882df23ae2430008676a56
😎 Deploy Preview https://deploy-preview-19282--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines +213 to +217
~~~ sql
CREATE TABLE products (
id SERIAL PRIMARY KEY USING HASH
);
~~~
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@angles-n-daemons , would an example using a SEQUENCE rather than SERIAL be clearer? Something like:

CREATE TABLE products (
    id INT PRIMARY KEY USING HASH,
    name STRING
);
CREATE SEQUENCE products_id_seq;
--Insert 2 million rows
INSERT INTO products (id, name) SELECT nextval('products_id_seq'), (1000000000000000 + generate_series(1,2000000))::STRING;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant