-
Notifications
You must be signed in to change notification settings - Fork 91
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
cockroachDB extremely long query due to Array(UUID()) #1005
Comments
Another interesting note:
|
@Jacky56 You are doing everything right on the table definition and querying Piccolo. I think the problem is how |
@sinisaos Thanks for looking into this. Hopefully |
hello all,
Assume we have a simple
Post
table:When I perform a
Post.objects().run_sync()
orPost.select(Post.all_columns()).run_sync()
the query is extremely slow.But when I leave out querying
users_mentioned: Array(UUID())
such asPost.select(Post.uuid).run_sync()
the query speeds are as expected (empty table).From looking at my cluster, it performs a very complex query (10s+) each time I request for the
Array(UUID())
datatype:Performing a query without piccolo such as:
works fine/speed as intended.
please send help if I am doing anything wrong
The text was updated successfully, but these errors were encountered: