https://www.activepieces.com logo
w
Hello! Potential Contribution to Tables - Features and Performance Question to the Activepieces team with respect to **Tables**: Is there any active work with respect to improving performance and features of them? I saw a post on the forum earlier this year referencing a desire to improve performance since the limits are low. I need higher performance and a better feature set so I've investigated the root causes and can see how to significantly improve Tables overall. I don't want to duplicate it though if something might be about to get released. If a contribution would be welcome here, then I'll draft up a design proposal and would love to get a quick review since it'd be my first contribution to the project. I do have a lot of experience in general though with similar issues/designs.
a
@wjsimmonds Welcome to Activepieces and thanks for considering contributing to the project! What would be the improvements?
w
Hey @ash, thanks! At present the tables are pretty limited, in your hosted version it's limited to 1500 records: https://community.activepieces.com/t/tables-limits-importing-csvs/9442 The reason for this from my initial glance is likely related to performance which is mentioned there - a lot of the work is done in-memory on the server itself using an EAV pattern instead of the database itself. The great benefit of that is it means that the underlying database schema doesn't need changing, but from performance/scaling it opens a lot of challenges and means can't use the database engine for what it's good for. I'll put together something properly in the next couple of days and share as there are a few different implementation options with different sets of trade-offs: But I can see a fairly easy way to create much more powerful but still easy-to-use operations available in terms of filtering/sorting etc. A couple of things to check from my side: - It would need to support both Postgres and SQLite I assume? - Depending upon whether permissions were present to create tables in Postgres for this and amend schemas - could leverage built-in features more. However, from a security perspective this is likely to be more nuanced - so was wondering if the current implementation was intentional because of this? Just quickly wrote the above informally whilst sat on a call, apologies for any mistakes!