Comments (1)
@Milo123459 Hiya -- thanks for the report! The first query you make after creating a cache performs what's called an "upquery", which is effectively a cache miss. When this happens, we need to traverse the dataflow graph for the query all the way to the base tables to compute the results for the query and stash them in the "reader map", which is the data structure that holds the cached data.
I did some digging, and in your example, most of the time during the "hang" is being spent inserting data into this reader map. There are some potential optimizations we can make here, so thanks for bringing this to our attention!
from readyset.
Related Issues (20)
- Support `DISTINCT` post-lookup aggregates
- Allow users connect with a database set
- More than one prepared statement in a transaction fails in PHP PDO
- MySQL Enum Search is not respecting collation
- Add MySQL support to DDL vertical tests
- Prevent autoparameterization for selected literals
- Test behavior of DML and STATEMENT
- Add parsing capabilities for Index Hints HOT 1
- Run domains in a threadpool HOT 1
- Add support for MySQL TRUNCATE TABLE
- Update Replication Offset at shutdown
- Replace `tower` with a more active alternative
- cache is created but unable to query data HOT 5
- `--replication-tables` and `--replication-tables-ignore` are not respected when connecting to a MySQL upstream
- MySQL 8.4 compatibility
- mysql-srv: Optimize buffer use reading from the client socket
- Provide darwin builds in release
- Add support for binlog_row_image NOBLOB
- Upgrade mysql_common to 32.3
- MySQL Lookup BINARY fields not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readyset.