# Performance of inline list

**URL:** <https://community.glideapps.com/t/performance-of-inline-list/32044>\
**Category:** Ask for Help\
**Created:** [September 20, 2021, 3:12pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044 "2021-09-20T15:12:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lin\_Altshuler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lin_altshuler/32/32591_2.png) [@Lin\_Altshuler](https://community.glideapps.com/u/Lin_Altshuler)\
**Post date:** [September 20, 2021, 3:12pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/1 "2021-09-20T15:12:23Z")

</div>

Hi Experts,  
I have 2 very large tables, over 5K rows and I need to have an inline list in one of the other.  
In terms of performance is it better to create a one to many relation and show the inline list this way or to show the table and filter it?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [September 20, 2021, 3:18pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/2 "2021-09-20T15:18:41Z")

</div>

I’m not 100% sure, but I don’t think it matters.  
Either way, both tables will be downloaded in their entirety to each users device (unless you’re using row owners).

Do you have to show the whole table in a single inline list?  
If not, it may be a worth considering building one or more relations with pre-filtered subsets of the list, then there would be less data for the device to render in a single list. But again, I’m not sure that it makes much difference.

---

<div class="post-metadata">

**Author:** ![Lin\_Altshuler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lin_altshuler/32/32591_2.png) [@Lin\_Altshuler](https://community.glideapps.com/u/Lin_Altshuler)\
**Post date:** [September 20, 2021, 3:20pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/3 "2021-09-20T15:20:35Z")

</div>

yes my relation is based on the signed in user. In this case it will only download the rows that are related, correct?  
However I cant use row owners because I have other user roles that need to access all the data.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [September 20, 2021, 3:31pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/4 "2021-09-20T15:31:04Z")

</div>

> [@Lin\_Altshuler](#):
>
> yes my relation is based on the signed in user. In this case it will only download the rows that are related, correct?

No. Relations are computed columns and all computed columns are built on the users device. So in order to build the relation, the device needs to download all data. This will always be the case unless you are using row owners.

---

<div class="post-metadata">

**Author:** ![Lin\_Altshuler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lin_altshuler/32/32591_2.png) [@Lin\_Altshuler](https://community.glideapps.com/u/Lin_Altshuler)\
**Post date:** [September 20, 2021, 3:40pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/5 "2021-09-20T15:40:06Z")

</div>

Is there a way to use row owners and still allow to other users see rows that don’t belong to them?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [September 20, 2021, 3:49pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/6 "2021-09-20T15:49:41Z")

</div>

No, but there are other options.

For example, you can have multiple row owner columns. This option can be useful when you have a small number of “priviledged” users. Just create a row owner column for each and populate with their email address. If the table is linked to a Google Sheet, arrayformulas can be used. Otherwise you’d need to populate the columns as each new row is added.

Another option (only if you’re using Google Sheets) is to make a read only copy of the table using query or arrayformulas, and just bring in the columns that need to be made public. This techique is quite commonly used to create a “Public Users” table where the primary User Profiles table is using row owners. It does of course double your row count for that table, so comes at a cost.

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [September 20, 2021, 4:14pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/7 "2021-09-20T16:14:06Z")

</div>

Good question!

If you only want to show for example a Top 10 List associated to sales, performance, profit, etc, I’d create that Top 10 List in my GS and later I will load it to my app to safe rows and improve performance.

Moreover if that data doesn’t change too fast and its updating isn’t a priority to be shown on your app (less than 5-10min).

But reading better your request it won’t work because you need that data based on the signed in user. 😢

Saludos

---

<div class="post-metadata">

**Author:** ![Lin\_Altshuler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lin_altshuler/32/32591_2.png) [@Lin\_Altshuler](https://community.glideapps.com/u/Lin_Altshuler)\
**Post date:** [September 20, 2021, 4:53pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/8 "2021-09-20T16:53:35Z")

</div>

Can I user RowID’s of Users as row owners instead of Emails?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 20, 2021, 11:24pm UTC](https://community.glideapps.com/t/performance-of-inline-list/32044/9 "2021-09-20T23:24:00Z")

</div>

I don’t think so. For row owners I believe only emails work.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/2/3241623fda97f2e9e5c8e0af9b370e279d35be4e.png)

> **[Row Owners](https://docs.glideapps.com/all/reference/security-and-per-user-data/row-owners)**
>
> A secure way to restrict access to certain rows
