Dear community experts.
I have an issue with inodes in our backups , especially postgres .
wc -l gives me 642258
642258 .........../20250507-010211F/__default__/postgres/SharedServices_pg_dump.dmp/blobs.toc
The issue is that it looks that there are orphaned largeobjects.
I suspect the export and import of reports.
Daily we export and import our reports.
We delete the old ones, but it looks like this does not correctly delete the large objects.
We use 'sas-viya transfer export ' and 'sas-viya transfer delete'.
sh-4.4$ vacuumlo -n SharedServices
Connected to database "SharedServices"
Test run: no large objects will be removed!
Checking content_data_oid_no in files.file_content
Checking content_bin in transfer.large_object
Checking content_bin in transfer.map_object
Checking object_content_txt in transfer.package_object
Checking object_summary_txt in transfer.package_object
Checking error_txt in transfer.transfer_export_job
Checking request_txt in transfer.transfer_export_job
Checking error_txt in transfer.transfer_export_task
Checking error_txt in transfer.transfer_import_job
Checking request_txt in transfer.transfer_import_job
Checking error_txt in transfer.transfer_import_task
Checking model_xml_doc_oid in workflow.wf_definition_model
Checking message_json_doc_oid in workflow.wf_history_event
Would remove 447798 large objects from database "SharedServices".
Regards
Dik.
Hi Dik,
The transfer packages are stored in the SharedServices PostgreSQL database and can only be deleted using the SAS CLI, rather than through any of the GUIs. There is a great post from AllenCunningham which provides much more detail here: Managing SAS Viya Transfer Packages.
TDLR;
'Transfer List' will show you all packages:
./sas-viya transfer list
'Transfer Delete' will then delete a specific package:
./sas-viya transfer delete --id <package_id>
To delete multiple packages you can use Python Tools for SAS Viya, listtransferpackages.py allows you to create a CSV file with filters which can then be used as input into deletetransferpackages.py to delete multiple packages.
Thanks,
Jack
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.