-
Notifications
You must be signed in to change notification settings - Fork 8
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
[FEATURE] Possibility to specify secondary index for Symbol
#29
Comments
This is unsupported by the ILP protocol currently. We could add extra steps to send queries over HTTP/PG to create/drop tables with specific schemas, which would require a little extra configuration from the user to support. We will also be creating a revised protocol for the clients which can have a detailed header. In the meantime, you will need to send the commands yourself. I used to do this with a timed script to drop and rebuild the database, which would run once a day. You can specify the index directly on the Is the query slow because for some symbols, it has to scan too far back in the dataset? If so, we will soon be releasing materialised views with SAMPLE BY support. In the next iterations of this feature, we will be looking to support LATEST BY too, which would help to resolve this issue by another means. |
Oh, understood. Probably we fix it in the meanwhile adding also the I think you already know it but this cause a lot of boilerplate in our apps because we need every time two dependencies, two connection strings, two different implementations to inject every time. For the performance case we aren't seeing big improvements. I don't know what's the right place to only spoke about our case with someone. |
Understood! Maybe we can connect on the QuestDB Public Slack and go through your performance issue in more detail? |
Today we are encountering the same problem for the partitioning topic, we are not able to specify the partitioning using this implementation. By default it is set to day. |
We started using QuestDb in our production environment to store also historical EOD market data.
About that we are experiencing slow queries when asking for "the first available data for that symbol":
so we tried to add the index for symbol column and now we are performing some tests (even if it seems that it doesn't solve the performance problem).
Shortly we recreate the
eod_1d_raw
table every day and now we need to create the associated index also.Can you please add a way to specify we want the symbol index on table creation extension methods chain?
The text was updated successfully, but these errors were encountered: