Select to view content in your preferred language

Get Feature Data Storage Usage

460
2
06-20-2023 10:26 AM
Labels (2)
mpboyle
Regular Contributor

Is it possible to get the usage and availability of the Feature Data Store within AGO using the Python API?  Below is a sample of the usage and availability I see when signed in as an admin to our AGO Organization.

I don't see this as a property of within the arcgis.gis module.

mpboyle_3-1687281816414.png

 

 

 

0 Kudos
2 Replies
NicholasGiner1
Esri Contributor

Hi there - could this be what you are looking for?  These items were added in the 2.2.0 release on 9/25.

https://developers.arcgis.com/python/guide/release-notes-220/

NicholasGiner1_0-1696445069928.png

 

0 Kudos
mpboyle
Regular Contributor

@NicholasGiner1 

I'm curious how the percent storage metric works?  If I use this metric using an average per hour over one day, I'm getting 4.0 as a result.  However, if I look at the feature data storage in the AGO interface, I see 1%.  Is there are reason I'm getting 4.0 returned?...I get the same if I use min or max.

AGO Interface --- 1% usage

mpboyle_0-1699903998553.png

 

Python API --- 4% 

mpboyle_3-1699904548410.png

 

If I return the feature storage, I get a value that aligns with the AGO interface, around 4.20GB once you convert MB to GB (4,305/1,024 = 4.20).  If I then divide this by the 500GB shown in the AGO interface, I get the 1% usage.

mpboyle_2-1699904308317.png

 

 

 

0 Kudos