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

workload: remove index hints from TPC-C #40802

Merged
merged 1 commit into from
Sep 19, 2019
Merged

workload: remove index hints from TPC-C #40802

merged 1 commit into from
Sep 19, 2019

Conversation

sploiselle
Copy link
Contributor

@sploiselle sploiselle commented Sep 16, 2019

The heuristic planner benefitted from index hints in some TPC-C statements, but they're now vestigial with the new optimizer. I have removed them to alleviate some of the fussiness of manipulating TPC-C for things like PostgreSQL compatibility.

Release note: None

Release justification: workload-only change.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

The heuristic planner benefitted from index hints in some TPC-C statements, but they're now vestigial with the new optimizer. I have removed them to alleviate some of the fusiness of manipulating TPC-C for things like PostgreSQL compatibility.

Release justification: This commit is safe for 19.2 because it is low-risk and has been tested without generating any errors.

Release note: None
@sploiselle
Copy link
Contributor Author

bors r=RaduBerinde

@craig
Copy link
Contributor

craig bot commented Sep 16, 2019

Build failed (retrying...)

@craig
Copy link
Contributor

craig bot commented Sep 16, 2019

Build failed (retrying...)

@craig
Copy link
Contributor

craig bot commented Sep 16, 2019

Build failed

@sploiselle
Copy link
Contributor Author

bors r=RaduBerinde

@craig
Copy link
Contributor

craig bot commented Sep 19, 2019

Build failed (retrying...)

craig bot pushed a commit that referenced this pull request Sep 19, 2019
39803: allow TPC-C partition behavior for clients when data is not partitioned r=nvanbenschoten a=sploiselle

Currently, you can only get multiple clients to "collaborate" on a TPC-C run when the actual underlying Cockroach cluster is partitioned. This PR introduces a `--client-partition` flag that lets a client behave in the same way, even when the data isn't partitioned.

The motivation behind this is showing the degraded TPC-C performance of a CockcroachDB cluster when the data isn't partitioned. With the prior configuration, this wasn't possible.

I believe this belongs in the repo rather than on a branch because similar types of tests might be useful in the future.

Release note: None

Release justification: workload-only change.

40802: workload: remove index hints from TPC-C r=RaduBerinde a=sploiselle

The heuristic planner benefitted from index hints in some TPC-C statements, but they're now vestigial with the new optimizer. I have removed them to alleviate some of the fussiness of manipulating TPC-C for things like PostgreSQL compatibility.

Release note: None

Release justification: workload-only change.

Co-authored-by: Sean Loiselle <himself@seanloiselle.com>
@craig
Copy link
Contributor

craig bot commented Sep 19, 2019

Build succeeded

@craig craig bot merged commit b81923b into cockroachdb:master Sep 19, 2019
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.

3 participants