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
While loading data for TPCC benchmark, we see that the data loading starts off at ~1300 ops / sec and then drops to ~100 ops / sec within a few minutes and stays at that level. Total time to load data ends up being 2+ hours.
We should investigate what causes the throughput to drop 10x. I've attached a screenshot of data loading metrics.
The first spike is when I tried loading data with 1 thread and the second spike is loading data with 4 threads. It's also interesting to note that there is no difference in speed while using 1 thread and 4 threads.
The text was updated successfully, but these errors were encountered:
Summary:
During foreign key check we write read intents even in case of snapshot isolation.
But it was not reflected in YBOperation::wrote_data, so those intents were not cleaned on transaction commit/abort.
This diff fixes the issue.
Test Plan: ybd --gtest_filter PgMiniTest.ForeignKey*
Reviewers: timur, jason, mikhail
Reviewed By: mikhail
Subscribers: ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D7680
While loading data for TPCC benchmark, we see that the data loading starts off at ~1300 ops / sec and then drops to ~100 ops / sec within a few minutes and stays at that level. Total time to load data ends up being 2+ hours.
We should investigate what causes the throughput to drop 10x. I've attached a screenshot of data loading metrics.

The first spike is when I tried loading data with 1 thread and the second spike is loading data with 4 threads. It's also interesting to note that there is no difference in speed while using 1 thread and 4 threads.
The text was updated successfully, but these errors were encountered: