Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Library
Created by Guest
Created on Jun 21, 2018
Merged idea
This idea has been merged into another idea. To comment or vote on this idea, please visit SPF-I-4975 To have an opportunity to control size of the DXP files which are stored into the Spotfire Libraries..

Set max file size limit for files saved to the library Merged

Is there a way to limit how much data is embedded at a system/server level? We are looking for an overall way to stop users from abusing embedded data, and breaking the usage pattern of using proper databases (whereas they can currently attempt to replicate all of their data into Spotfire DB)

  • Guest
    Reply
    |
    Jun 25, 2018

    I agree this will be a useful feature and gets my vote. Having said that you can easily police this rule by using a database query:

    SELECT items.ITEM_ID,

    items.ITEM_PATH,
    ROUND(LENGTH(data.DATA)/1024/1024, 0) AS MB_SIZE,
    items.CHILD_CREATED_DATE_TIME AS ITEM_CREATED_DATE_TIME,
    items.CHILD_CREATED_BY_NAME AS ITEM_CREATED_BY_NAME,
    items.CHILD_MODIFIED_DATE_TIME AS ITEM_MODIFIED_DATE_TIME,
    items.CHILD_MODIFIED_BY_NAME AS ITEM_MODIFIED_BY_NAME,
    items.PARENT_CREATED_DATE_TIME AS FOLDER_CREATED_DATE_TIME,
    items.PARENT_CREATED_BY_NAME AS FOLDER_CREATED_BY_NAME,
    items.PARENT_MODIFIED_DATE_TIME AS FOLDER_MODIFIED_DATE_TIME,
    items.PARENT_MODIFIED_BY_NAME AS FOLDER_MODIFIED_BY_NAME
    FROM SPF_LIBRARY_ITEMS_FLAT_V items,
    LIB_DATA data
    WHERE items.ITEM_ID = data.ITEM_ID
    -- Item using more than 50 MB
    AND ROUND(LENGTH(data.DATA)/1024/1024, 0) > 50
    ORDER BY 3 DESC

     

    You can get the SPF_LIBRARY_ITEMS_FLAT_V view definition here:

    https://community.tibco.com/wiki/tibco-spotfire-metadata-queries#toc-4

    Thanks