Could you hire me? Contact me if you like what I’ve done in this article and think I can create value for your company with my skills.

April 30, 2009 / by Zsolt Soczó

Read-only filegroup, hogy ne lock-oljon az SQL Server? Nem.

Az egyik MCP vizsgán céloztak arra, hogy ha egy adatbázis valamely filegroupját read only-vá tesszük, akkor nem fog lockokat rárakni a szerver, hisz minek, úgyse lesznek módosító folyamatok.

Nos, ez elméletileg így lehetne, de nem így van. Ha az egész adatbázis read only, akkor viszont tényleg nem lockol, ami adhat némi teljesítmény nyereséget.

Másra azért jó:

Read-only filegroups, They provide you the following three benefits:

1. Can be compressed (using NTFS compression)
2. During recovery you don’t need to apply logs to recover a read-only file group
3. Protection of data from accidental modifications

Could you hire me? Contact me if you like what I’ve done in this article and think I can create value for your company with my skills.