Sizing Guide
Introduction
Use this guide to plan the servers and storage for a migration-center installation on either an Oracle or PostgreSQL database. Estimate the object count, content size, metadata complexity and number of simultaneous migration jobs.
The hardware configurations below are initial estimates, not tested capacity limits.
The Installation Guide and Database Administrator’s Guide contain a full description of the system requirements and installation steps for all migration-center components. This document does not substitute them but completes it with information that might be of importance for getting the best migration-center performance.
Targeted audience
This document is targeted specifically to the technical persons that are responsible with installation and configuration of migration-center components.
CPU and RAM
Here is a breakdown of the CPU cores and RAM needed, deppending on the size and complexity of the migration project.
Objects values refer to the maximum number of objects kept the migration-center database, where each version and update counts as a separate object. Use these bands for initial estimates. Select a larger configuration if complex rules or simultaneous jobs need more resources.
The values show vCPU(cores) / total host RAM.
Small: few simultaneous jobs, simple attribute mappings
< 5 million
4 / 16 GB
2 / 8 GB
4 / 8 GB
1
Typical: simultaneous scans and imports, transformations with multiple steps or mapping lists
> 5 million
< 50 million
8 / 32 GB
4 / 8 GB
4 / 16 GB
2 - 4
Demanding: several active migration sets, many attributes or repeating values, large mapping lists or complex rules
> 50 million
16 / 64 GB
4 / 16 GB
8 / 32 GB
4 or more
Select resources for each component based on its workload. More objects increase database storage and can slow queries without enough RAM.
Transformations and validation run in the database. Scanners and importers content processing run on Jobservers. Additional Jobservers help simultaneous scans and imports only if the database, network, source and target systems can process the additional work. Large files and connector batch sizes can also increase Jobserver memory requirements.
Single machine install
For a small one machine deployment a 8 vCPU / 32 GB RAM is a good initial configuration for a shared host.
For production, use separate database and Jobserver hosts if their workloads cause resource shortages. Shared content storage gives different Jobservers access to the same exported files. Separate databases can isolate teams or migrations. Object count alone does not determine the number of databases.
Storage
The storage needed varies for each migration-center component deppending on the specific migration needs.
WebClient
5 GB for application files, temporary files and logs.
Jobserver
5 GB for application files and logs. See specific connector requirements for any needed extra space.
Database
See Database Server section below.
Content staging
See Content staging section below.
Database Server
The migration-center database keeps all source and target metadata, configuration, states, history and reports. Document content is stored separately.
Count all objects kept together, including selected versions, scanned folders, relationships stored as separate objects, and delta updates. Then use this formula for an initial metadata storage estimate:
Estimate metadata bytes from a sample of typical objects. Include attribute names and all values, including repeating values. Do not include file content.
Example:
For 800,000 objects with an average source metadata of 5,000 bytes per object.
Metadata
5 × 800,000 × 5,000 bytes = 20 GB
Additional history and reports, database working space and recovery logs
15 GB (an example estimate to check with the DBA)
Free space
15 GB (or 30% of the total capacity)
Total database storage
50 GB usable (without database software and external backups)
The additional 15 GB is an example, not a default for every project. For another workload, add the metadata estimate and additional space. Divide the result by 0.70 to keep 30% free. All examples use decimal GB and TB.
Content staging
The scanners extract the content from source systems and store it in the specified location. The recommendation here is to have a dedicated fileshare to keep all content accessible to all your jobservers under a UNC path.
Start with the actual size of the content to migrate. Include selected versions, renditions and attachments. Document count does not reliably show content size.
If you keep all exported content until migration acceptance, include space for all exported content plus free space.
If you migrate in groups, include space for the largest amount kept at the same time. Include groups that overlap. Use their actual size in bytes.
If the connector uses existing files or performs an in-place migration, a separate content copy is not always necessary.
Example:
For a migration where all exported content takes 2 TB and you need to keep it until finalizing the migration, provide at least 2.5 TB of usable staging storage. This gives 0.5 TB of free space for any re-runs of scanners. If the connector creates large additional packages or content copies, include separate space for them.
Database configuration
For each database there are vendor specific configuration that you should consider to ensure they actually make use of the hardware resources available and perform as expected.
Oracle
Ask the database administrator to calculate memory and disk requirements for simultaneous operations.
Memory: Include both SGA and PGA in host RAM. Transformations need process memory and cache.
Disk: Include TEMP, UNDO, redo logs, archives and recovery files. Include both
FMEMC_DATAandFMEMC_INDEX, with available disk space for autoextension.
Refer to Oracle memory management and performance configuration.
PostgreSQL
Refer to PostgreSQL documentation for memory, query planning, WAL and autovacuum. Use the documentation for your installed version.
Here are example settings for a dedicated database VM with 8 vCPU and 32 GB RAM.
shared_buffers
Start with 25% of VM RAM. Keep memory available for the operating system and other database operations.
8GB
effective_cache_size
Estimate the combined database and operating system cache available to queries. This setting does not allocate memory. Reduce it if other memory use leaves less cache available.
24GB
work_mem
Memory per sort or hash operation, not per connection. Increase only if temporary disk writes slow queries and enough RAM remains available.
8MB
maintenance_work_mem
Memory for operations such as vacuum and index creation. Increase only if maintenance needs more memory.
512MB
autovacuum_work_mem
Memory per autovacuum worker. Include all simultaneous workers in the memory estimate.
256MB
max_wal_size
Increase if the server log reports frequent checkpoints caused by WAL growth. Allow additional disk space. This is not a hard disk limit.
4GB
Several query operations, sessions and parallel workers can each use work_mem. Hash operations can use more through hash_mem_multiplier. Do not calculate work_mem from RAM divided by max_connections alone. Larger max_wal_size values can also increase crash recovery time.
Include disk space for temporary files, maintenance, WAL and archives. Frequent updates need space for obsolete row versions until vacuum makes that space available again.
Keep autovacuum enabled. Check that it removes obsolete row versions and updates table statistics during migration. If it cannot keep up, ask the database administrator to adjust thresholds or worker capacity for the affected tables.
Set max_connections to cover WebClient and Jobserver connection pools, plus administration access. Additional connections or parallel workers do not automatically improve performance. Start with the default parallel worker settings and adjust them only after a test shows a benefit.
Apply settings in postgresql.conf or the managed service configuration. A change to shared_buffers requires a PostgreSQL restart. Reload the configuration for other settings in this table. Use SHOW to confirm effective values, for example, SHOW work_mem;.
Test simultaneous scans, transformations and imports. Check available RAM, swapping, temporary disk writes, checkpoint frequency and processing rates. Change one setting at a time and repeat the test. Avoid memory increases if the VM already swaps or has memory errors.
Last updated
Was this helpful?

