Need guidance on column orders in form views and performance impact of slices

I am using SQL Server for my database. I understand that right now there is no way other than creating a slice to manipulate column order in a form view. Before I go and create slices for my many key tables with this sole purpose, I would like to understand 3 things:

  1. Is this a fundamental limitation that cannot / will not ever be overcome within the platform? I have to guess that it is or it would seem to me that it would have been addressed long agoโ€ฆ

  2. What are the performance implications both within the editor and within my app of creating many, many slices? Based on prior exchanges with @praveen I understand that my app is way outside the typical bounds in terms of table count. I know it probably should/could be broken into โ€œappletsโ€ to address this fact, but assuming I donโ€™t do that is creating tens of slices going to negatively impact performance?

  3. If the answer to #2 is โ€œYes you numbskull, performance will likely degrade with lots and lots of slices!โ€ then would creating Views in SQL be a better alternative, and what unforeseen challenges might that then present?

I welcome any and all wisdom the community can provide on this matter.

0 3 273
3 REPLIES 3

Steve
Platinum 4
Platinum 4

It is fundamental. Iโ€™m not aware of any plans to change it.

Itโ€™s nearly impossible to predict, especially given the apparent complexity and size of your data set. Your best bet is performance testing.

I would think not, since these would be seen as separate tables by AppSheet, so there would be no opportunity to optimize anything between them. SQL views would likely drastically increase your appโ€™s memory footprint. Youโ€™d also have to be very careful to keep the app column definitions consistent between overlapping views and their underlying tables. Yikes!

Thank you, Steve. Glad Iโ€™m not the only one working on a Saturday!

Sounds like I should not hold my breath for an easy out and I definitely donโ€™t want to go down the SQL Views route!

Before I dive in and start cranking out slices and forms, has anyone out there in the community or on the AppSheet team done any such testing on a large app?

If you have a huge table (say over 10000 rows) and you are going to have separate self standing apps (say 5 or more) and an app launcher, itโ€™s not a bad idea to use SQL views.

Top Labels in this Space