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)
- add the count of connections to show readyset status HOT 2
- Move health agent to different port (remove root user from system.d service)
- Move supported regions to environment variables
- Add support to change replication tables on the fly HOT 1
- Support MySQL reset connection (COM_RESET_CONNECTION)
- test issue - sync HOT 2
- Dual stack binding HOT 1
- Query Support Checker Tool HOT 1
- Update Cluster Types
- Document using Railway w/ReadySet HOT 4
- `show caches` breaks after seeing cached query alias HOT 2
- Caches recreated with wrong query string after backwards-incompatible upgrade
- Provide a more clear error when snapshotting a non-supported version of a database
- Group and Vectorize Filter node operations
- JIT compiled code for efficient fused filter evaluation operation HOT 1
- Show ReadySet Status improvements
- Include an instance specific unique ID in logs
- Query ID is treated as an identifier in some SQL extensions and a string literal in others
- 'show readyset status' shows Incorrect DB connection value when connecting to an Aurora instance
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.