Genel
SQL Server ve Perform Volume Maintenance Task

SQL Server ve Perform Volume Maintenance Task

Merhaba arkadaşlar,

Bugün daha önce SQL Server 2017 Kurulumunda (LİNK ) kısaca bahsettiğim ‘Grant Perform Volume Maintenance Task Privilege to SQL Server Database Engine Service’ den bahsedeceğim.

Şimdi SQL server kurulumu yaparken bu seçenek tik li gelmez yani opsiyoneldir. Önceki versiyonlarda SQL kurulumunda böyle bir seçenek gelmezdi SQL 2016 ile birlikte gelen bir opsiyondur.

Önceden napıyorduk gidip local editörden ‘perform volume maintenance tasks’ a gelip SQL Server DB Engine e verdiğimiz kullanıcıyı ekliyorduk.

Alttaki resimde de görüleceği gibi şimdi bu seçeneği tiklediğimiz zaman kendisi bu işlemi otomatik yapıyor.

Ve DB engine e verdiğimiz kullanıcı kendisini ekliyor buraya.

Şimdi bunları anlattık ama bize bu işlem ne kattı diyeceksiniz.

Bu özellik aslında arka planda ‘Instant File Initialization’ olarak geçer.

SQL Server da atıyorum ki restore işlemi yapacaksınız yada database i büyüteceksiniz diyelim normalde bu ayar olmadan bu işlem şöyle gerçekleşiyor;

SQL bana 50 gb alan lazım diyor işletim sistemi tamamdır hacı o iş bende diyip 50 GB lık alanı 0 larla doldurup SQL e tahsis ediyor.

SQL de bu böyle mi verilir diyip 0 ları silip kendi datasını yazmaya başlıyor. Handikap ı görüyorsunuzdur.

Bu ayarı yaptıktan sonra SQL artık yazacağı alanı kendisi yönetiyor anlık olarak temp dosyası şişti diyelim yeni bir dosya oluşturması yada dediğim gibi restore alma işlemi backup alma işlemi data dosyalarında yapılan otomatik büyüme (Auto Growth) daha hızlı bir şekilde SQL tarafından gerçekleştiriliyor.

Alttaki sorgu ile sizin SQL serverınız da aktif olup olmadığını kontrol edebilirsiniz. Eğer aktifse alttaki gibi bir sonuç verecektir.

SELECT @@SERVERNAME AS [Server Name] ,

RIGHT(@@version, LEN(@@version) – 3 – CHARINDEX(‘ ON ‘, @@VERSION)) AS [OS Info] ,

LEFT(@@VERSION, CHARINDEX(‘-‘, @@VERSION) – 2) + ‘ ‘

+ CAST(SERVERPROPERTY(‘ProductVersion’) AS NVARCHAR(300)) AS [SQL Server Version] ,

service_account ,

instant_file_initialization_enabled

FROM sys.dm_server_services

WHERE servicename LIKE ‘SQL Server (%’

İşinize yaraması dileğiyle J

Share this Story

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Bu site, istenmeyenleri azaltmak için Akismet kullanıyor. Yorum verilerinizin nasıl işlendiği hakkında daha fazla bilgi edinin.

The Hacker News

  • DeepSeek App Transmits Sensitive User and Device Data Without Encryption
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 14:58

    A new audit of DeepSeek's mobile app for the Apple iOS operating system has found glaring security issues, the foremost being that it sends sensitive data over the internet sans any encryption, exposing it to interception and manipulation attacks. The assessment comes from NowSecure, which also found that the app fails to adhere to best security practices and that it collects extensive user and

  • CISA Warns of Active Exploits Targeting Trimble Cityworks Vulnerability
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 12:52

    The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has warned that a security flaw impacting Trimble Cityworks GIS-centric asset management software has come under active exploitation in the wild. The vulnerability in question is CVE-2025-0994 (CVSS v4 score: 8.6), a deserialization of untrusted data bug that could permit an attacker to conduct remote code execution. "This could

  • AI-Powered Social Engineering: Reinvented Threats
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 11:10

    The foundations for social engineering attacks – manipulating humans – might not have changed much over the years. It’s the vectors – how these techniques are deployed – that are evolving. And like most industries these days, AI is accelerating its evolution.  This article explores how these changes are impacting business, and how cybersecurity leaders can respond. Impersonation attacks:

  • Microsoft Identifies 3,000 Leaked ASP.NET Keys Enabling Code Injection Attacks
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 11:01

    Microsoft is warning of an insecure practice wherein software developers are incorporating publicly disclosed ASP.NET machine keys from publicly accessible resources, thereby putting their applications in attackers' pathway. The tech giant's threat intelligence team said it observed limited activity in December 2024 that involved an unknown threat actor using a publicly available, static ASP.NET

  • India’s RBI Introduces Exclusive "bank.in" Domain to Combat Digital Banking Fraud
    by [email protected] (The Hacker News) on 7 Şubat 2025 at 10:32

    India's central bank, the Reserve Bank of India (RBI), said it's introducing an exclusive "bank.in" internet domain for banks in the country to combat digital financial fraud. "This initiative aims to reduce cyber security threats and malicious activities like phishing; and, streamline secure financial services, thereby enhancing trust in digital banking and payment services," the RBI said in a