Why OS Paging is high while restoring database in SQL Server?
Posted on 2009-05-12
1. Windows 2003 Enterprise X64 SP2
2. 4 dual core processor
3. 32 GB RAM
4. Page file size: 48GB
SQL has been allocated 26 GB of RAM as MIN and MAX server memory. Lock pages in memory is already enabled for the SQL account. Backup file size is around 30GB and stays in a different server. The moment restore starts, OS paging goes high as above 5000 with high page faults/sec and cache fault/sec. Page file usage never goes beyond 2%. Available MBytes dips only a few MBs, say 9-12MB as noticed. SQL Server working set size also remains same, but the procedure cache dips as long the restore operation goes and jumps back to normal immediately after restore is done. Disk is not a bottlenect which has already been identified.
Can anyone help me understand why is it happening with the solution?