# Row usage when two apps using the same datasource

**URL:** <https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249>\
**Category:** Ask for Help\
**Created:** [July 10, 2022, 9:54pm UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249 "2022-07-10T21:54:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 10, 2022, 9:54pm UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/1 "2022-07-10T21:54:18Z")

</div>

I have a client portal and an admin portal.  
Both us the same Excel sheet.

This is what I see under my row usage stats:

 ![Screen Shot 2022-07-11 at 7.51.00 am](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/1/11ea62a0bfa832535c895937f293569dfbc1e272.png)

Is this expected? Since both apps are updating the some datasource I assumed that the rows would only be counted as usage for one app.

---

<div class="post-metadata">

**Author:** ![Rachael\_Ouwejan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rachael_ouwejan/32/40815_2.png) [@Rachael\_Ouwejan](https://community.glideapps.com/u/Rachael_Ouwejan)\
**Post date:** [July 10, 2022, 11:13pm UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/2 "2022-07-10T23:13:41Z")

</div>

Each app will have different row usage depending on what is used within the app.

> [@500 Row Limit - What Counts?](https://community.glideapps.com/t/500-row-limit-what-counts/19702/3):
>
> We count all of the rows used in your app. We count none of the rows not used in your app.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 11, 2022, 1:38am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/3 "2022-07-11T01:38:23Z")

</div>

Thanks, I understand what you’re saying.

Are you able to define what “used within the app” means?

Examples:

- I add a purchase in app 1. I guess that counts in app 1.
- I view that same data when I log into app 2 (admin portal). If I edit that data does it then count in app 2 as well?

---

<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:** [July 11, 2022, 2:40am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/4 "2022-07-11T02:40:26Z")

</div>

> [@blairrorani](#):
>
> Are you able to define what “used within the app” means?

I find the easiest way to understand it is to consider tables instead of rows.  
If a table is referenced _anywhere_ in your app, then _all_ rows in that table will be counted against your quota. Filtering & Row Owners have no impact on row count, the only thing that matters is whether or not a table is referenced.

Example:

You have a table with 1000 rows. You don’t display that table directly using any lists, but you do build a relation to it from your User Profiles table, and then use a Lookup column to fetch a value from the table. This means that the table is referenced, and so all 1000 rows will be counted.

And to address your example…

> [@blairrorani](#):
>
> I add a purchase in app 1. I guess that counts in app 1.

Yes.

> [@blairrorani](#):
>
> I view that same data when I log into app 2 (admin portal). If I edit that data does it then count in app 2 as well?

If you’re viewing the data via the 2nd app, the entire table counts towards the row count for that app.

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [July 11, 2022, 4:42am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/5 "2022-07-11T04:42:14Z")

</div>

There really is no problem here, because Glide counts row usage limits PER Project (App or Pages), and not PER TEAM as seen in this little screen snippet:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/f/bf8c75ec3ff614e2d866f84f2db5964ca5f7e462.png)

So you really only have to be concerned with the UPDATES – which are shared between all Projects in the Team.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 11, 2022, 5:24am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/6 "2022-07-11T05:24:32Z")

</div>

Yes that all makes sense.  
The context of my original question was when rows are “double counted” when two apps use the same data source.

I think someone answered it in terms of app 1 or 2 referencing a table in which case all that table’s rows count towards that app.

Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 12, 2022, 12:12am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/7 "2022-07-12T00:12:56Z")

</div>

What if I have a tab in my sheet with 5001 rows that I never reference (who knows why?)  
then would none of those rows count as used?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 12, 2022, 12:35am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/8 "2022-07-12T00:35:31Z")

</div>

If that sheet tab is not used by your app in ANY way, then no, it will not be counted towards your row quota.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [July 12, 2022, 12:56am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/9 "2022-07-12T00:56:14Z")

</div>

Makes sense thanks 😊

Perhaps the pricing page could make this clearer? Initially it looks like the rows in your sheet are what are counted. It is more nuanced that that so could be made clearer. “Used” is hard to explain if you haven’t built in Glide before.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 13, 2022, 12:57am UTC](https://community.glideapps.com/t/row-usage-when-two-apps-using-the-same-datasource/44249/10 "2022-07-13T00:57:07Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
