If the ClientStorageData table appears unusually large, the first step is to determine whether the size is due to a high number of rows or if individual rows contain large JSON payloads. This article provides a method to analyze the size of the JsonData column to help identify the cause.
You can use the following SQL query to examine the size of the JsonData column for each row. This query returns the top 100 rows with the largest JSON data entries, showing the size in bytes.
The DATALENGTH function returns the size of the JsonData column in bytes. This helps determine whether the table's size is driven by a few large entries or a large volume of smaller ones.
SELECT TOP (100) [ClientId]
,[ScriptName]
,[ScriptRunUTCTimeStamp]
,[DataReceivedUTCTimeStamp]
,[DaysToRetain]
,[JsonFileName]
,[JsonData]
,FORMAT(DATALENGTH([JsonData]),'### ### ### ##0')
FROM [SnowInventory].[inv].[ClientStorageData]
order by DATALENGTH([JsonData]) descRelated Articles
Oracle Verified - The inventoried data (status.json file) is not complete according to the expectations 16Number of Views Oracle Verified - The inventoried data (java_scan.json file) is not complete according to the expectations 13Number of Views Snow Data Update Job fails with the error "Could not complete cursor operation because the table schema changed after the … 70Number of Views 'Failed to update json data Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required' whe… 12Number of Views How to change the log file size in both Data Platform and User Console server 11Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago