-
Notifications
You must be signed in to change notification settings - Fork 108
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
Could not find view q_...
, query caches not being created
#36
Comments
Hey @elhardoum thanks for opening an issue! Yes, assuming you're running ReadySet in explicit caching mode, you have to explicitly cache queries. You can see info on how to do this here: caching docs If you're in implicit mode, ReadySet will cache all queries that are supported. Could you check which mode you're using by doing (it's the It would also be helpful to see the output of |
Sorry, this is not a bug, when I posted this I couldn't run those custom SQL commands on either MySQL shell (same for now). Not much luck with the documentation. |
Are there any other errors in the logs that you're seeing? If you see I'd like to help you get this working! I'm happy to help you troubleshoot this and see where we can improve the documentation. |
@alanamarzoev I tried to run similar code as OP in docker swarm, it is not working. I am getting this error,
This is the docker config,
|
Hey @aarjan, could you try adding |
Also, @aarjan, I'd suggest tweaking a few other env variables for readyset. For example, your Here's what I would recommend for the readyset
Also, if you use All of these CLI options are now in our docs at https://docs.readyset.io/reference/cli/readyset/, in case that helps. We're also working on adding a docker compose file to the docs. |
Thank you @alanamarzoev, it worked as a charm. I was try so many other combination but couldn't figure it out. Thank you @jseldess for your suggestions. That docker-compose file was a major missing in the docs. I had to browse through every github issue to get answers. |
Will get those docs online asap, hopefully by the end of today. |
I can't get it to work on docker containers running on local machine (MacOS intel chip). So far, the MySQL database snapshot works but queries aren't cached, I had gotten a variety of errors, but the most common ones are about views not found.
Here's my setup:
Do I have to define the query caching patterns somewhere? Swapping the
query-caching
flag options fromreadyset -h
doesn't work.Some common error messages:
The text was updated successfully, but these errors were encountered: