Instant File Initialization - (IFI) sub-section, please add the "SQL Server Launchpad" service to the list of services filtered out

Open
#167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
sql
Domain
databases

Research direction

Start by locating the "Instant File Initialization" (IFI) sub-section and its current SQL query. Review how the query filters SQL Server services, then update it so the SQL Server Launchpad service is excluded as requested. Confirm the revised query selects the intended SQL Server service without including SQL Server Agent or Launchpad.

Written by the indexing model from the issue text.

Description

Within the "Instant File Initialization" (IFI) sub-section, please filter out the "SQL Server Launchpad" service.

Current

SET @sqlcmd = N'SELECT @IFIStatusOUT = instant_file_initialization_enabled FROM sys.dm_server_services WHERE servicename LIKE ''SQL Server%'' AND servicename NOT LIKE ''SQL Server Agent%''';

Revised

SET @sqlcmd = N'SELECT @IFIStatusOUT = instant_file_initialization_enabled ' + ' FROM sys.dm_server_services ' + ' WHERE servicename = ''SQL Server' + ' (' + cast(@@SERVICENAME as sysname) + ')' + ''' '

Here is a screen shot

Dominant language
Jupyter Notebook
Stars
1.6k
Forks
749
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/tigertoolbox

All issues in microsoft/tigertoolbox

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.