Running the App Portal data sync multiple times per day can support up-to-date information, but it’s also resource-intensive and may affect site performance. During each sync, the system pulls all users and computers from the Configuration Manager database and updates the App Portal database accordingly.
This article explains how to reduce performance impact by limiting sync operations to only recently created records. It also provides example custom sync queries and other configuration tips to improve efficiency.
1. Use custom sync queries for users and computers
You can modify the User ID and Computer ID sync queries to only include records created within the last 24 hours. This reduces the number of records processed during each sync.
Custom user ID sync query
IF DATENAME(weekday, GETDATE()) IN (N'Saturday', N'Sunday')
SELECT vru.ResourceID AS UserResourceID FROM v_R_User vru ORDER BY vru.Name0
ELSE
SELECT vru.ResourceID AS UserResourceID
FROM v_R_User vru
WHERE vru.Creation_Date0 >= DATEADD(day, -1, GETDATE())
ORDER BY vru.Name0;
Custom computer ID sync query
IF DATENAME(weekday, GETDATE()) IN (N'Saturday', N'Sunday')
SELECT vrs.ResourceID
FROM v_R_System vrs
WHERE vrs.Netbios_Name0 IS NOT NULL
ORDER BY vrs.Netbios_Name0;
ELSE
SELECT vrs.ResourceID
FROM v_R_System vrs
WHERE vrs.Creation_Date0 >= DATEADD(day, -1, GETDATE())
AND vrs.Netbios_Name0 IS NOT NULL
ORDER BY vrs.Netbios_Name0;
These queries run a full sync on weekends and a delta sync Monday through Friday, allowing older records to be updated during off-peak hours.
For more information about entering custom sync queries, refer to the Entering Common Deployment Technology Settings section of the App Portal Administration Guide.
2. Increase the sync page size
You can further reduce sync time by adjusting the sync page size:
- Navigate to the Common tab in the Administration settings.
- Set the Sync Page Size to a value between 5,000 and 10,000 records.
This change increases the number of records processed per batch during synchronization. You can learn more about this setting in Common Tab.
3. Restart the ESD service
After applying any changes to sync queries or page size:
- Restart the Flexera ESD Service on the App Portal server.
- Confirm that sync operations resume as expected with improved performance.
Related Articles
Forcing a Single User, Computer or User Computer Relationship to Sync in App Portal 11Number of Views Enable Verbose Logging in App Portal 10Number of Views App Portal error in Database synch:Invalid column name 'DisplayName0' 14Number of Views Issues Resolved in App Portal 2017 R1 13Number of Views Understanding How App Portal Accounts It's Licenses 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago