-
Notifications
You must be signed in to change notification settings - Fork 52
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
Table => Max records? #1507
Comments
I could add an option to show only the first N records in the ui table, but then the ui table node needs to determine which records does the ui table needs to show:
That feels somehow a bit wrong to me. Imho the ui table should show all records that you pass to him, otherwise you have an incomplete view (which I personally wouldn't trust). It seems to me that it is better to filter away the unnecessary records while querying, or after querying in a separate node (which is a bit more less performant). But that in both cases you pass to the ui table node only the records that you want to show. However I assume you have already thought about those options I assume? |
Since @xX-Nexus-Xx is using the table in append mode I wonder whether the requirement is to drop rows from the front as new rows are added at the end, once a limit is reached. I can see that being useful in some cases. |
@colinl Yes indeed that seems to be a good use case. I had interpreted it incorrectly: that he loaded a massive amount of records at a time, and appended all of those to the ui-table in some kind of batch processing flow... I will add this feature as soon as I have time. @Steve-Mcl you can assign this one to me. |
@bartbutenaers , thank for considering. In most of my use-cases I fill a FiFo buffer and use the "REPLACE" option, but there are certain zenarios where the "APPEND" option is easier (not necessarily better) and than a max record count would be ideal ;) thx a lot |
To be clear on the specification, are we saying:
|
@Steve-Mcl By default the limit is In replace mode the limit will also be available, but it wouldn't do anything since the number of rows doesn't change. |
@xX-Nexus-Xx
That would save me some time... Thanks!! |
Description
Hi, I'm using your table to show a history of events and commands.
I used the 'Append' action to see the full history. I had several of these views (e.g. per Room, per Sensor)
Unfortunately, I ended up with (10+)thousands of records per table (persistent storage), resulting in a huge memory usage and resulting in a very laggy/unresponsive environment.
Is there an option to specify the number of records (or max memory usage) .. or can this feature be added ?
thanks for considering
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: