Quantcast
Channel: SQL Server Database Engine Forum
Viewing all 15872 articles
Browse latest View live

SQL Dump

$
0
0

Hi,

I copiend SQL Dump file from PROD server to my laptop and while i try to run i am getting below warnings:

Unable to load image H:\MSSQLSERVER\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqllang.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for sqllang.dll
*** WARNING: Unable to verify checksum for mscorlib.ni.dll
*** WARNING: Unable to verify timestamp for sqlservr.exe
*** WARNING: Unable to verify timestamp for sqldk.dll
*** WARNING: Unable to verify timestamp for sqlmin.dll
*** WARNING: Unable to verify timestamp for IpcMonitor64_13.2.0.10.0.542191.dll
*** WARNING: Unable to verify timestamp for hkengine.dll
*** WARNING: Unable to verify timestamp for qds.dll


How to track the difference data column while comparing with 2 tables having same column names

$
0
0

I have 2 tables Snapshot table and temptable. temptable is holding copy of snapshot table before snapshot gets incremental load. My objective is to pull the Rowid & column and value which ever has difference compare to each other.

So I need Some code or the ways or articles to implement this.

Snapshot Table:

RowIDObject Column2 Column31            Jack   USA2            Ryan   GER

Temp Table:

RowIDObject Column2 Column31            Jack   USA2            Ryan   GER

Snapshot Table After Incremental load

RowIDObject Column2 Column31            Jack   UAE2            Ryan1   GER

I want to hold in a new table

RowID ColumnChanged ActualValue Updated Value1       Column3       USA         UAE2       Column2       Ryan        Ryan1

Note: I am using Azure SQL DB.

Performance counters missing for single database

$
0
0

Hi,

Performance counters are missing for a single catalog within my sql server instance.  I can see all the counters I expect to see, but in the list of instances, one catalog is missing.

For example, the "Data file size" counter is not available for this catalog.

I have tried unloading and reloading the counters as per various articles, but it made no difference: the catalog remained missing.

The catalog was created a week ago, but is completely standard.  In addition, I have created other catalogs in the same way in the past 3 months without this problem.

How can I resolve this?  It is a problem because we have 24/7 counter monitoring, which is now turned into 24/7 email alerting about counters missing...

Thanks for your help,

Question on audit

$
0
0

Hello,

The goal: to audit creating new server logins

The solution: create the SERVER_PERMISSION_CHANGE_GROUPaudit specification as described here

My actions:

1) create a new audit

2) create the new audit specification:

3) Enable 1 and 2
4) Create a new server login:

5) Query the audit file:

- No events after creating a new login...

On contrary, using GRANT operator gets registered in the log:

Why the creation of the new login has not been registered in the log?

Thank you in advance,
Michael

Questions on SQL Audit

$
0
0

Hello!

Thisdocument says:

"The SQL Server Audit feature enables you to audit server-level and database-level groups of events and individual events."

...and it does contain the list of atomic events but only for the database-level audit (Database-Level AuditActions) - for server-level audit there's only the list of action GROUPS (Server-Level Audit ActionGroups) and the audit server operation event classes are given for each audit group instead, for example:

SERVER_OPERATION_GROUP This event is raised when Security Audit operations such as altering settings, resources, external access, or authorization are used. Equivalent to theAudit Server Operation Event Class.

Anyway I don't seem to understand how the class description corresponds to the contents of the audit events being registered (event 33205) so

Q1: Is there a way to audit server-level actions instead of action groups?

Q2: Does any documentation on how to parse the audit event 33205 exist ?

Thank you in advance,
Michael

DB stuck in restoring

$
0
0

Hi guys, 

I have a db which is in restoring state, the restore started 20 hours ago. Usually the restore takes only one hour. If I run 

select * FROM sys.dm_exec_requests r CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) a 

I retrieve nothing. I guess that is something to do with the space allocation r with the auto-growth but I can access the db to check the setting.

Question 1: In order to stop the restore shall I stop SQL? Delete the db and restore it again?

Question 2: Is there a way to check the percentage restored (if there is any)?

Many Thanks

Actual Execution Plan shows 48 million rows. Same query and plan, same database different day shows 0 rows

$
0
0

I have a rather large query with a UNION ALL that runs at different customer sites all over the country. Last week the query became painfully slow at one site. Analyzing the "actual" query plan with Plan Explorer shows that when it scans the Clustered Index of a table with just over 1 million rows it shows estimated rows at over 390 million and actual rows at 48 million.

Today when I run the exact query (copy/paste command text), it runs as expected and the actual rows returns 0. (Estimated rows 381 million). Comparing the two query plans shows the one "bad?" clustered index scan as the only difference. 

My question is what would cause that type of issue? Could the index or table have been corrupted? Weekend database maintenance would have rebuilt all indexes, so I'm wondering if that was the cause. 

I need to report to the customer what happened, but I'm at a loss of what to tell them. 

Parallelism

$
0
0

I want to know how to check how many CPU used in the parallelism in the query plan ?

And what's gather streams/repartition streams ?


can one sql agent depend on another

MS SQL Server 2019 evaluation license expired (Error code 17051)

$
0
0

We have an installation of SQL Server CTP 2.2, "Evaluation", it has expired and the SQL service has stopped. We want to move to a production version of SQL server 2019 but it is not available yet, as far I know. We have tried to upgrade from Evaluation to Developer to get the SQL service back in run, but without any luck. The actual upgrade process went well, but the version is still Evaluation and SQL service cannot be started. What can we do to get the SQL server up and running again?

Thanks 

Max Worker Thread

$
0
0

Hi,

Whenever we run index mainteance job, it using max worker thead, because this SQL server is unresponse.

Is there any way we can put condition in SQL job to not use more that specified Thread? The job should stop if it reaches number of thread.

This SQL Server 2016 SP2 (Enterprise Edition)

Run 2 SQL Agent Steps In Parallel

$
0
0

Hello,

Is it possible to execute 2 STEPS within a SQL Agent Job to run in parallel?

Right now the option for each step is go to Next Step or Go To Step zzz.  Is it possible to go to multiple steps so steps can be fired off in parallel instead of sequential?  Is this limitation of the SQL Agent Job?  Sequential would waste a lot of valuable time as each step imports into different tables so no conflict.

Your help is appreciated!

Can table free space can be reclaimed ?

$
0
0

Hi Experts,

Need some background on this. I see some very big history tables in our database (like eg of 20 GB..)
For example, there is one history table is taking up to 26 GB in the database and still growing.
Spoke to development team to see if they can archive some records. So, they have deleted some rows but the table size remains the same. What is the reason behind it? and is there a way to reclaim free space of an object. Apart from shrink file is there anything we can do to release free space at object level?

Rows before deletion =17646067
Rows after deletion  =4201104



CREATE TABLE [dbo].[CONTROL_HIST](
    [PUB_PKEY] [bigint] NOT NULL,
    [DUNS_NMBR] [nvarchar](15) NULL,
    [WEBSITE] [nvarchar](1024) NULL,
    [CMPNY_TYP] [nvarchar](50) NULL,
    [SUBSDRY_IND] [nchar](1) NULL,
    [LOCATION_TYP] [nvarchar](50) NULL,
    [RANKING] [nvarchar](50) NULL,
    [GLB_PARENT_NM] [nvarchar](250) NULL,
    [GLB_DUNS_NMBR] [nvarchar](15) NULL,
    [REVENUE_GROWTH] [numeric](38, 0) NULL,
    [INCOME_GROWTH] [numeric](38, 0) NULL,
    [MARKET_VAL_USD_MILLION] [numeric](38, 0) NULL,
    [PRMRY_US_NAICS_CD] [nvarchar](500) NULL,
    [LINE_OF_BUSS] [nvarchar](50) NULL,
    [MINORITY_OWNED_IND] [nchar](1) NULL,
    [BEMFAB_MRKTBLTY] [nvarchar](50) NULL,
    [MATCH_GRADE] [nvarchar](50) NULL,
    [CONF_CD] [nvarchar](50) NULL,
    [DUNS_NMBR_SDMR] [nvarchar](50) NULL,
    [BUSINESS_NM] [nvarchar](250) NULL,
    [TRDSTYL_NM] [nvarchar](250) NULL,
    [CARRIER_ROUTE_CD] [nvarchar](50) NULL,
    [GEO_CD_ACCURACY] [nvarchar](50) NULL,
    [CEO_FULL_NM] [nvarchar](200) NULL,
    [SALES_VOL_LOCAL_CURR] [nvarchar](50) NULL,
    [SALES_VOL_LOC_CURR_REL_CD] [nvarchar](50) NULL,
    [CURRENCY_CD] [nvarchar](50) NULL,
    [YEAR_STARTED] [bigint] NULL,
    [SMB_IND] [nchar](1) NULL,
    [OWNS_RENTS_CD] [nvarchar](50) NULL,
    [SQ_FOOTAGE] [numeric](38, 0) NULL,
    [GLB_ULT_IND] [nchar](1) NULL,
    [GLB_ULT_DNB_CNTRY_CD] [nvarchar](64) NULL,
    [GLB_ULT_STATE_PRVNC_ABBRV] [nvarchar](64) NULL,
    [DOM_ULTI_DUNS_NMBR] [nvarchar](15) NULL,
    [DOM_ULT_BUS_NM] [nvarchar](250) NULL,
    [DOM_ULT_DNB_CNTRY_CD] [nvarchar](64) NULL,
    [HQ_DUNS_NMBR] [nvarchar](15) NULL,
    [HQ_PARENT_BUS_NM] [nvarchar](250) NULL,
    [HQ_PARENT_DNB_CNTRY_CD] [nvarchar](64) NULL,
    [HQ_STATE_PRVNC_ABBRV] [nvarchar](64) NULL,
    [MAJOR_INDSTRY_CTGRY] [nvarchar](256) NULL,
    [THREE_YR_GRWTH_PC_SALE_VOL] [numeric](38, 0) NULL,
    [THREE_YR_GRWTH_PC_EMP] [numeric](38, 0) NULL,
    [THREE_YR_BASE_SALES_AMT] [numeric](38, 0) NULL,
    [FIVE_YR_GRWTH_PC_SALES_VOL] [numeric](38, 0) NULL,
    [FIVE_YR_GRWTH_PC_EMP] [numeric](38, 0) NULL,
    [FIVE_YR_BASE_SALES_AMT] [numeric](38, 0) NULL,
    [FIVE_YR_BASE_EMP_CNT] [numeric](38, 0) NULL,
    [FRST_EXEC_FULL_NM] [nvarchar](200) NULL,
    [FRST_EXEC_MRC_CD] [nvarchar](50) NULL,
    [SEC_EXEC_FULL_NM] [nvarchar](200) NULL,
    [SEC_EXEC_MRC_CD] [nvarchar](50) NULL,
    [THIRD_EXEC_FULL_NM] [nvarchar](200) NULL,
    [THIRD_EXEC_MRC_CD] [nvarchar](50) NULL,
    [PRMRY_NAICS_1_1_CD] [nvarchar](50) NULL,
    [REF_ORG_ID] [nchar](14) NULL,
    [PRMRY_ADDR_LN1] [nvarchar](200) NULL,
    [PRMRY_ADDR_LN2] [nvarchar](200) NULL,
    [PRMRY_CITY] [nvarchar](200) NULL,
    [PRMRY_STATE_CD] [nvarchar](64) NULL,
    [PRMRY_STATE_NM] [nvarchar](200) NULL,
    [PRMRY_POSTAL_CD] [nvarchar](50) NULL,
    [PRMRY_COUNTY] [nvarchar](200) NULL,
    [PRMRY_COUNTRY] [nvarchar](64) NULL,
    [MAILING_ADDR_LN1] [nvarchar](200) NULL,
    [MAILING_ADDR_LN2] [nvarchar](200) NULL,
    [MAILING_CITY] [nvarchar](200) NULL,
    [MAILING_STATE_CD] [nvarchar](64) NULL,
    [MAILING_COUNTY] [nvarchar](200) NULL,
    [MAILING_POSTAL_CD] [nvarchar](50) NULL,
    [MAILING_COUNTRY] [nvarchar](64) NULL,
    [PHONE] [nvarchar](100) NULL,
    [NET_INCOME_USD_MILLION] [nvarchar](50) NULL,
    [EMP_GROWTH] [nvarchar](50) NULL,
    [TOTAL_ASSEST_USD_MILLION] [nvarchar](50) NULL,
    [LATITUDE] [nvarchar](50) NULL,
    [LONGITUDE] [nvarchar](50) NULL,
    [IMMEDIATE_PARENT_DUNS] [nvarchar](20) NULL,
    [TOTAL_EMP_CNT] [nvarchar](50) NULL,
    [EMP_SITE_CNT] [nvarchar](50) NULL,
    [INTERFACE] [nvarchar](100) NULL,
    [HSH_KEY] [nvarchar](255) NULL,
    [SRC_PRIMARY_KEY] [nvarchar](255) NULL,
    [SOURCE_SYSTEM] [nchar](14) NULL,
    [TARGET_SYSTEM] [nvarchar](100) NULL,
    [PUBLISH_COMMENTS] [nvarchar](100) NULL,
    [PUBLISH_STATUS] [nvarchar](200) NULL,
    [PUBLISH_CODE] [nvarchar](200) NULL,
    [PUBLISH_MESSAGE] [nvarchar](4000) NULL,
    [RETRY_COUNT] [nvarchar](100) NULL,
    [BATCH_ID] [nvarchar](100) NULL,
    [MDM_ID] [nchar](14) NULL,
    [DATE] [datetime2](7) NULL,
    [PUBLISH_EVENT_TYPE] [nvarchar](100) NULL,
    [MULE_BATCH_ID] [nvarchar](100) NULL,
    [ENTITY_TYPE] [nvarchar](100) NULL,
    [CEO_PREFIX] [nvarchar](50) NULL,
    [CEO_FRST_NM] [nvarchar](64) NULL,
    [CEO_MID_NM] [nvarchar](64) NULL,
    [CEO_LAST_NM] [nvarchar](64) NULL,
    [FIRST_EXEC_PREFIX] [nvarchar](50) NULL,
    [FIRST_EXEC_FIRST_NM] [nvarchar](64) NULL,
    [FIRST_EXEC_MID_NM] [nvarchar](64) NULL,
    [FIRST_EXEC_LAST_NM] [nvarchar](64) NULL,
    [SEC_EXEC_PREFIX] [nvarchar](50) NULL,
    [SEC_EXEC_FRST_NM] [nvarchar](64) NULL,
    [SEC_EXEC_MID_NM] [nvarchar](64) NULL,
    [SEC_EXEC_LAST_NM] [nvarchar](64) NULL,
    [THIRD_EXEC_PREFIX] [nvarchar](50) NULL,
    [THIRD_EXEC_FIRST_NM] [nvarchar](64) NULL,
    [THIRD_EXEC_MID_NM] [nvarchar](64) NULL,
    [THIRD_EXEC_LAST_NM] [nvarchar](64) NULL,
    [DOM_ULT_STATE_PRVNC_ABBRV] [nvarchar](64) NULL,
    [MAILING_STATE_NM] [nvarchar](200) NULL,
    [FAM_HIERARCHY_LVL] [nvarchar](5) NULL,
    [OUT_OF_BUS_IND] [nvarchar](5) NULL,
    [STANDALONE_IND] [nvarchar](5) NULL,
    [FAM_TREE_COUNT] [int] NULL,
    [STOCK_TICKER_NAME] [nvarchar](100) NULL,
    [SALES_VOLUME_US_DOLLARS] [nvarchar](60) NULL,
    [CEO_AGE] [nvarchar](50) NULL,
    [COMPETITOR1_ORG_NM] [nvarchar](256) NULL,
    [COMPETITOR2_ORG_NM] [nvarchar](256) NULL,
    [COMPETITOR3_ORG_NM] [nvarchar](256) NULL,
    [COMPETITOR4_ORG_NM] [nvarchar](256) NULL,
    [COMPETITOR5_ORG_NM] [nvarchar](256) NULL,
    [COMPETITOR1_ORG_EMP_CNT] [nvarchar](20) NULL,
    [COMPETITOR2_ORG_EMP_CNT] [nvarchar](20) NULL,
    [COMPETITOR3_ORG_EMP_CNT] [nvarchar](20) NULL,
    [COMPETITOR4_ORG_EMP_CNT] [nvarchar](20) NULL,
    [COMPETITOR5_ORG_EMP_CNT] [nvarchar](20) NULL,
    [COMPETITOR1_ORG_SHARE_CAP] [nvarchar](20) NULL,
    [COMPETITOR2_ORG_SHARE_CAP] [nvarchar](20) NULL,
    [COMPETITOR3_ORG_SHARE_CAP] [nvarchar](20) NULL,
    [COMPETITOR4_ORG_SHARE_CAP] [nvarchar](20) NULL,
    [COMPETITOR5_ORG_SHARE_CAP] [nvarchar](20) NULL,
    [COMPETITOR1_ORG_REVENUE] [nvarchar](50) NULL,
    [COMPETITOR2_ORG_REVENUE] [nvarchar](50) NULL,
    [COMPETITOR3_ORG_REVENUE] [nvarchar](50) NULL,
    [COMPETITOR4_ORG_REVENUE] [nvarchar](50) NULL,
    [COMPETITOR5_ORG_REVENUE] [nvarchar](50) NULL,
    [HOOVERS_IND_CD] [nvarchar](50) NULL,
    [DNB_STANDARD_IND_CD] [nvarchar](50) NULL,
    [DNB_STANDARD_IND_CD_DESC] [nvarchar](256) NULL,
    [FEIN_TAX_IND_NUM] [nvarchar](150) NULL,
    [FORMER_BUSINESS_NM] [nvarchar](256) NULL,
    [INCORP_YEAR] [nvarchar](120) NULL,
    [IND_CD_SALES_PERCENT] [nvarchar](10) NULL,
    [IND_CD_SALES_PERCENT_2] [nvarchar](10) NULL,
    [IND_CD_SALES_PERCENT_3] [nvarchar](10) NULL,
    [IND_CD_SALES_PERCENT_4] [nvarchar](10) NULL,
    [IND_CD_SALES_PERCENT_5] [nvarchar](10) NULL,
    [IND_CD_SALES_PERCENT_6] [nvarchar](10) NULL,
    [IMMEDIATE_PARENT_NM] [nvarchar](256) NULL,
    [IMMEDIATE_PARENT_COUNTRY_CD] [nvarchar](50) NULL,
    [IMMEDIATE_PARENT_POSTAL_CD] [nvarchar](64) NULL,
    [IMMEDIATE_PARENT_ADDRLN_1] [nvarchar](240) NULL,
    [IMMEDIATE_PARENT_STATE_CD] [nvarchar](64) NULL,
    [IMMEDIATE_PARENT_STATE_ABBRV] [nvarchar](64) NULL,
    [IMMEDIATE_PARENT_CITY] [nvarchar](64) NULL,
    [US_SIC_CD] [nvarchar](50) NULL,
    [US_SIC_CD_DESC] [nvarchar](256) NULL,
    [PRMRY_STOCK_EXCHANGE_IND] [nchar](1) NULL,
    [PROFIT_OR_LOSS_AMNT] [nvarchar](50) NULL,
    [PROFIT_OR_LOSS_GROWTH_RATE] [nvarchar](20) NULL,
    [SALES_GROWTH_RATE] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD_2] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD_3] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD_4] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD_5] [nvarchar](50) NULL,
    [SECONDARY_SIC_CD_DESC] [nvarchar](256) NULL,
    [SECONDARY_SIC_CD_DESC_2] [nvarchar](256) NULL,
    [SECONDARY_SIC_CD_DESC_3] [nvarchar](256) NULL,
    [SECONDARY_SIC_CD_DESC_4] [nvarchar](256) NULL,
    [SECONDARY_SIC_CD_DESC_5] [nvarchar](256) NULL,
    [STOCK_EXCHANGE_CNTRY_CD] [nvarchar](50) NULL,
    [STOCK_EXCHANGE_NM] [nvarchar](256) NULL,
    [THRD_PARTY_ASSESMENT] [nvarchar](256) NULL,
    [THIRD_PARTY_ASSESMENT_RNK] [nvarchar](20) NULL,
    [TOTAL_EQUITY_AMOUNT] [nvarchar](50) NULL,
    [UK_SIC_CD] [nvarchar](50) NULL,
    [FEMALE_OWNED_IND] [nchar](1) NULL,
    [DOM_ULT_DNB_POSTAL_CD] [nvarchar](50) NULL,
    [DOM_ULT_DNB_ADDRLN_1] [nvarchar](240) NULL,
    [DOM_ULT_DNB_STATE_CD] [nvarchar](64) NULL,
    [DOM_ULT_DNB_CITY] [nvarchar](64) NULL,
    [GLB_ULT_DNB_POSTAL_CD] [nvarchar](50) NULL,
    [GLB_ULT_DNB_ADDRLN_1] [nvarchar](240) NULL,
    [GLB_ULT_DNB_STATE_CD] [nvarchar](64) NULL,
    [GLB_ULT_TOT_EMP_CNT] [nvarchar](10) NULL,
    [GLB_ULT_CITY] [nvarchar](64) NULL,
    [MARKET_SEG_CLUSTERS] [nvarchar](256) NULL,
    [NON_MARTKETABLE_REASON_TXT] [nvarchar](256) NULL
)

Thanks,
Sam

SQL Server 2016 installation error - The system cannot find the file specified.

$
0
0

Hi, I am facing issue while installing sql server 2016 developer edition on windows server 2016 

log details from details.txt file .. any help

(01) 2019-08-21 11:58:20 SQLEngine: : File versions : ['C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Install\sqlscriptdowngrade.dll':2015.2015.5026.0], ['C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlscriptdowngrade.dll':(non-existing)].
(01) 2019-08-21 11:58:20 SQLEngine: : Version-copying file from 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Install\sqlscriptdowngrade.dll' to 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlscriptdowngrade.dll'.
(01) 2019-08-21 11:58:20 Slp: SlpConfigAction.ExecuteAction(actionId: SqlEngineDowngradeDLLConfigAction_install_confignonrc_Cpu64) completed
(01) 2019-08-21 11:58:20 Slp: Checkpoint: INSTALL:CONFIGNONRC:SQL_ENGINE_CORE_INST
(01) 2019-08-21 11:58:20 Slp: Completed Action: SqlEngineDowngradeDLLConfigAction_install_confignonrc_Cpu64, returned True
(01) 2019-08-21 11:58:20 Slp: ---- Flush datastore cache before calling configuration action 'SqlEngineConfigAction_install_confignonrc_Cpu64'
(01) 2019-08-21 11:58:20 Slp: ----------------------------------------------------------------------
(01) 2019-08-21 11:58:20 Slp: Running Action: SqlEngineConfigAction_install_confignonrc_Cpu64
(01) 2019-08-21 11:58:20 Slp: Action Data:
(01) 2019-08-21 11:58:20 Slp:   Feature = SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64
(01) 2019-08-21 11:58:20 Slp:   Scenario = install
(01) 2019-08-21 11:58:20 Slp:   Timing = ConfigNonRC
(01) 2019-08-21 11:58:20 Slp:   ConfigObjectType = Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate
(01) 2019-08-21 11:58:20 Slp:   FeatureName = SQL_Engine_Core_Inst
(01) 2019-08-21 11:58:20 Slp:   FeatureCpuType = Cpu64
(01) 2019-08-21 11:58:20 Slp:   FeaturePackageId = sql_engine_core_inst
(01) 2019-08-21 11:58:20 Slp:   SlipstreamInstall = 1
(01) 2019-08-21 11:58:20 SQLEngine: : Action Scenario: Install, Feature Scenario: Install, Resolved Scenario Install 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT Service\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT Service\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT Service
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT Service
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.ActiveNode = 
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.IsActiveNodeUpgraded = False
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.Version = 
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.IsDefaultInstance = True
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.InstanceId = MSSQL13.MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.ReferenceInstanceId = MSSQL13.MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.InstanceName = MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: container.SqlServerServiceName = MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --ProductProperties: Retrieving product properties from local node.
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get registry value ProductCode
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get registry value Language
(01) 2019-08-21 11:58:20 SQLEngine: --GroupProperties: Loading group properties from local machine.
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get registry value SQLGroup
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get registry value SQLPath
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: Dumping Effective Properties for new instance.
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: InstanceId = MSSQL13.MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: InstanceName = MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: IsDefaultInstance = True
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: SqlServerServiceName = MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --EffectiveProperties: IsExpressSku = False
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: Dumping Install Properties
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: EnableRanu = False
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SecurityMode = SQL
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: LoginMode = 2
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SqlCollation = SQL_Latin1_General_CP1_CI_AS
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SqlAdminAccounts = RXLUSA\570000928
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SqlServiceStartupType = Automatic
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SqlAccount = NT Service\MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: SqlInstantFileInit = False
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: AddCurrentUserAsSQLAdmin = False
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: TempDbFileCount     = 4
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: TempDbFileSize      = 8
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: TempDbFileGrowth    = 64
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: TempDbLogFileSize   = 8
(01) 2019-08-21 11:58:20 SQLEngine: --InstallProperties: TempDbLogFileGrowth = 64
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: Dumping Registry Properties
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: SqlServiceRelativeRegPath = System\CurrentControlSet\Services\MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: CompleteInstanceRegPathByName = SOFTWARE\Microsoft\MSSQLServer
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: CompleteInstanceRegPathById = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: ReferenceInstanceRegPathById = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: MSSQLServerInstanceRegPath = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQLServer
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: ReferenceMSSQLServerInstanceRegPath = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQLServer
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: SetupInstanceRegPath = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 SQLEngine: --RegistryProperties: ReferenceSetupInstanceRegPath = SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:20 SQLEngine: --ProductProperties: Dumping Product Properties
(01) 2019-08-21 11:58:20 SQLEngine: --ProductProperties: ProductCode = 51574d2c-de28-4441-bdc2-967f0ffc0918
(01) 2019-08-21 11:58:20 SQLEngine: --ProductProperties: LCID = 1033
(01) 2019-08-21 11:58:20 SQLEngine: --GroupProperties: Dumping Group Properties
(01) 2019-08-21 11:58:20 SQLEngine: --GroupProperties: SqlEngineGroupSid = S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003
(01) 2019-08-21 11:58:20 SQLEngine: --GroupProperties: SqlEngineGroupNameFromSid = NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --GroupProperties: SqlEngineGroupNameFromSidNoDomain = MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: Dumping Directory Properties
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: DataRootDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: SystemDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: InstallSqlInstanceDir = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: DefaultDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: DefaultLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: BackupDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Backup
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: TempDbDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: TempDbDataDirectories = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: TempDbLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: ErrorLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Log
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: TemplateDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Template Data
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: SqlInstanceBinnDir = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: SqlInstanceTemplatesDir = C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Templates
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: MasterDbPath = 
(01) 2019-08-21 11:58:20 SQLEngine: --PublicBasedDirectoryProperties: MasterLogPath = 
(01) 2019-08-21 11:58:20 SQLEngine: --SqlEngineSetupPrivate: Install: ConfigNonRC(Prepare) : Engine Configuration
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'UpdateOrInstall_SqlServiceCheckExists'
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 SQLEngine: --SqlService: Updating sql service 'MSSQLSERVER'
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set binary file for service MSSQLSERVER, binary file "C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlservr.exe" -sMSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Invoking ChangeServiceConfig Win32 API
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set description for service MSSQLSERVER, description Provides storage, processing and controlled access of data, and rapid transaction processing.
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set display name for service MSSQLSERVER, display name SQL Server (MSSQLSERVER)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Invoking ChangeServiceConfig Win32 API
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set service sid type for service MSSQLSERVER, serivce sid type SERVICE_SID_TYPE_UNRESTRICTED
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get service start mode for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Invoking QueryServiceConfig Win32 API for buffer size
(01) 2019-08-21 11:58:20 Slp: Invoking QueryServiceConfig Win32 API with AllocHGlobal buffer
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Returning service start mode Automatic
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-80
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'ChangeServiceSecuiryt'
(01) 2019-08-21 11:58:20 SQLEngine: --SqlEngineSetupPrivate: Applying SDDL to Service 'SQLWriter' SDDL: D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open service handle for service SQLWriter
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close service handle for service SQLWriter
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to close SC Manager
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set security descriptor for service SQLWriter, security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to normalize security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set security descriptor for service SQLWriter, security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to normalize security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;NP;0x00020011;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to merge service security settings for service SQLWriter
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to persist service security settings for service SQLWriter
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-80
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'AddRightsToInstanceSID'
(01) 2019-08-21 11:58:20 SQLEngine: --SqlEngineSetupPrivate: Adding User Rights/Privileges 'SeServiceLogonRight, SeAssignPrimaryTokenPrivilege, SeChangeNotifyPrivilege, SeIncreaseQuotaPrivilege' to server SID NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to add account rights to user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to modify account rights for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get policy handle for server 
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open policy handle
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-80
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-32-558
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to initialize user group Performance Monitor Users
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to check if user group Performance Monitor Users exists
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to open root DirectoryEntry object for local computer
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to check if container 'WinNT://RHUDEVSQLDB04,computer' of group exists
(01) 2019-08-21 11:58:20 Slp: Sco: User group Performance Monitor Users exists
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to determine if user is a member of user group Performance Monitor Users, user name NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to check if user group Performance Monitor Users exists
(01) 2019-08-21 11:58:20 Slp: Sco: Root DirectoryEntry object already open
(01) 2019-08-21 11:58:20 Slp: Sco: User group existence already verified - returning true for Performance Monitor Users
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT SERVICE
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT SERVICE
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to see if user NT SERVICE\MSSQLSERVER exists
(01) 2019-08-21 11:58:20 Slp: Sco.User.OpenRoot - Attempting to get root DirectoryEntry for local computer
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to look up AD entry for user NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object
(01) 2019-08-21 11:58:20 Slp: Sco.User.LookupADEntry - Attempting to find user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: User NT SERVICE\MSSQLSERVER located
(01) 2019-08-21 11:58:20 Slp: Sco: User NT SERVICE\MSSQLSERVER is already a member
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account from sid S-1-5-80
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get account sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to get sid for user account NT SERVICE\MSSQLSERVER
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'SetSecuritySysDir'
(01) 2019-08-21 11:58:20 SQLEngine: --SqlEngineSetupPrivate: Setting Security Descriptor D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003) on Directory C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to set security descriptor for directory C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL, security descriptor D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to normalize security descriptor D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to replace account with sid in security descriptor D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:P(A;OICI;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:20 SQLEngine: --MofRegistration: Validating Instance Name 'MSSQLSERVER' of MOF
(01) 2019-08-21 11:58:20 SQLEngine: --MofRegistration: Transforming MOF file C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof to C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof.transformed
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'ReplaceStringMof'
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to replace string in file, source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof', output file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof.transformed'
(01) 2019-08-21 11:58:20 SQLEngine: --MofRegistration: Installing WMI MOF
(01) 2019-08-21 11:58:20 SQLEngine: : Checking Engine checkpoint 'InstallWmiMof'
(01) 2019-08-21 11:58:20 Slp: Sco: Attempting to install MOF file
(01) 2019-08-21 11:58:20 Slp: Running: C:\Windows\system32\WBEM\mofcomp.exe "C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof.transformed"
(04) 2019-08-21 11:58:21 Slp: Microsoft (R) MOF Compiler Version 10.0.14393.0
(04) 2019-08-21 11:58:21 Slp: Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
(04) 2019-08-21 11:58:21 Slp: Parsing MOF file: C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\Sqlwep-uni.mof.transformed
(04) 2019-08-21 11:58:21 Slp: MOF file has been successfully parsed
(04) 2019-08-21 11:58:21 Slp: Storing data in the repository...
(04) 2019-08-21 11:58:26 Slp: Done!
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL13.MSSQLSERVER\Setup
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to get registry value Version
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: Registering performance counters for service 'MSSQLSERVER'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to set service name MSSQLSERVER
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to set ini file full path C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlctr.ini
(01) 2019-08-21 11:58:26 SQLEngine: : Checking Engine checkpoint 'PerfmonServiceKey'
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: Checking whether the SQL Engine service registry key exists 'System\CurrentControlSet\Services\MSSQLSERVER'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to open registry subkey System\CurrentControlSet\Services\MSSQLSERVER
(01) 2019-08-21 11:58:26 SQLEngine: : Checking Engine checkpoint 'PerfmonServiceKeyFlush'
(01) 2019-08-21 11:58:26 SQLEngine: : Checking Engine checkpoint 'PerfmonRegister'
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: Creating perfmon registry key at 'System\CurrentControlSet\Services\MSSQLSERVER'
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: Comparing file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp64\sqlctr130.dll' to file 'C:\Windows\system32\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: The files are different or some of them are missing
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to RobustCopy source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp64\sqlctr130.dll' to target file 'C:\Windows\system32\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to VersionCopy source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp64\sqlctr130.dll' to target file 'C:\Windows\system32\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: File 'C:\Windows\system32\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll' does not exist
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to copy file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp64\sqlctr130.dll' to file 'C:\Windows\system32\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to get security descriptor for file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp64\sqlctr130.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Returning security descriptor O:SYG:SYD:AI(A;ID;FA;;;SY)(A;ID;FA;;;BA)(A;ID;0x1200a9;;;BU)(A;ID;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: Comparing file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp32\sqlctr130.dll' to file 'C:\Windows\SysWOW64\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 SQLEngine: --PerfmonRegistration: The files are different or some of them are missing
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to RobustCopy source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp32\sqlctr130.dll' to target file 'C:\Windows\SysWOW64\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to VersionCopy source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp32\sqlctr130.dll' to target file 'C:\Windows\SysWOW64\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: File 'C:\Windows\SysWOW64\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll' does not exist
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to copy file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp32\sqlctr130.dll' to file 'C:\Windows\SysWOW64\perf-MSSQLSERVER-sqlctr13.2.5026.0.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to get security descriptor for file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\DllTmp32\sqlctr130.dll'
(01) 2019-08-21 11:58:26 Slp: Sco: Returning security descriptor O:SYG:SYD:AI(A;ID;FA;;;SY)(A;ID;FA;;;BA)(A;ID;0x1200a9;;;BU)(A;ID;0x1200a9;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to register performance counter perf-MSSQLSERVER-sqlctr13.2.5026.0.dll, symbol install path C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn, counter prefix service name SQLServer
(01) 2019-08-21 11:58:26 Slp: PerfCounter service name: MSSQLSERVER
(01) 2019-08-21 11:58:26 Slp: PerfCounter original INI template file: C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlctr.ini
(01) 2019-08-21 11:58:26 Slp: PerfCounter temporary INI file that will be registered: C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\perf-MSSQLSERVERsqlctr.ini
(01) 2019-08-21 11:58:26 Slp: PerfCounter Library file name: perf-MSSQLSERVER-sqlctr13.2.5026.0.dll
(01) 2019-08-21 11:58:26 Slp: PerfCounter Open function: OpenSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter Collect function: CollectSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter Close function: CloseSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter symbol file install path: C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn
(01) 2019-08-21 11:58:26 Slp: PerfCounter counter test/help prefix: SQLServer
(01) 2019-08-21 11:58:26 Slp: PerfCounter unregister first before registration
(01) 2019-08-21 11:58:26 Slp: PerfCounters will be unregistered for service name: MSSQLSERVER
(01) 2019-08-21 11:58:26 Slp: PerfCounter temporary INI file that will be removed: C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\perf-MSSQLSERVERsqlctr.ini
(01) 2019-08-21 11:58:26 Slp: PerfCounter calling unlodctr: 'MSSQLSERVER'
(01) 2019-08-21 11:58:26 Slp: PerfCounter the registered temporary INI file not specified or not existing, skip deleting it.
(01) 2019-08-21 11:58:26 Slp: PerfCounter deleting registry key: HKLM\System\CurrentControlSet\Services\MSSQLSERVER\Performance
(01) 2019-08-21 11:58:26 Slp: PerfCounter writing to registry key: HKLM\System\CurrentControlSet\Services\MSSQLSERVER
(01) 2019-08-21 11:58:26 Slp: PerfCounter creating registry key: HKLM\System\CurrentControlSet\Services\MSSQLSERVER\Performance
(01) 2019-08-21 11:58:26 Slp: PerfCounter creating value: Library = perf-MSSQLSERVER-sqlctr13.2.5026.0.dll
(01) 2019-08-21 11:58:26 Slp: PerfCounter creating value: Open = OpenSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter creating value: Collect = CollectSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter creating value: Close = CloseSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp: PerfCounter munging INI tempate: 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlctr.ini' -> 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\perf-MSSQLSERVERsqlctr.ini'
(01) 2019-08-21 11:58:26 Slp: Sco: Attempting to replace string in file, source file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\sqlctr.ini', output file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\perf-MSSQLSERVERsqlctr.ini'
(01) 2019-08-21 11:58:26 Slp: PerfCounter calling lodctr: 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Binn\perf-MSSQLSERVERsqlctr.ini'
(01) 2019-08-21 11:58:26 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2019-08-21 11:58:26 Slp: ----------------------------------------
(01) 2019-08-21 11:58:26 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2019-08-21 11:58:26 Slp: Inner exceptions are being indented
(01) 2019-08-21 11:58:26 Slp: 
(01) 2019-08-21 11:58:26 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2019-08-21 11:58:26 Slp:     Message: 
(01) 2019-08-21 11:58:26 Slp:         The system cannot find the file specified.
(01) 2019-08-21 11:58:26 Slp:         
(01) 2019-08-21 11:58:26 Slp:     HResult : 0x84bb0001
(01) 2019-08-21 11:58:26 Slp:         FacilityCode : 1211 (4bb)
(01) 2019-08-21 11:58:26 Slp:         ErrorCode : 1 (0001)
(01) 2019-08-21 11:58:26 Slp:     Data: 
(01) 2019-08-21 11:58:26 Slp:       WatsonData = SQLCTR130.DLL@OpenSQLPerformanceData@CollectSQLPerformanceData@CloseSQLPerformanceData
(01) 2019-08-21 11:58:26 Slp:       DisableRetry = true
(01) 2019-08-21 11:58:26 Slp:     Inner exception type: System.ComponentModel.Win32Exception
(01) 2019-08-21 11:58:26 Slp:         Message: 
(01) 2019-08-21 11:58:26 Slp:                 The system cannot find the file specified.
(01) 2019-08-21 11:58:26 Slp:                 
(01) 2019-08-21 11:58:26 Slp:         HResult : 0x80004005
(01) 2019-08-21 11:58:26 Slp:         Error : 2
(01) 2019-08-21 11:58:26 Slp:         Stack: 
(01) 2019-08-21 11:58:26 Slp:                 at Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.LoadPerformanceCounter(String symbolInstallPath, String counterPrefixServiceName)
(01) 2019-08-21 11:58:26 Slp:                 at Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.RegisterPerformanceCounter(String libraryFileName, String openFunction, String collectionFunction, String closeFunction, String symbolInstallPath, String counterPrefixServiceName)

Is msdb.dbo.backupset Truncated During Server Restart or Services Restart

$
0
0

Hello,

I just discovered the msdb.dbo.backupset table after reading Alejandro Cobar's article on viewing database growth.  I was excited to have an easy tool for viewing growth over time.  When I viewed entries in the table, we only data as of a date around a server restart or SQL Service restart.

I've found no documentation as to whether data in that table is lost after a server or service restart.  Is the data truncated or is it possible there is some setting that controls data in this table based on a retention policy.

Thanks in advance!



Install SQL Server 17 full version offline

$
0
0

Hi

Can someone please point me to the link to download and install offline SQL server V17 EE evaluation version

For a security reason our server did not have any insternet connections

Best regards


Mohamed B.


What does the databases_log_file_used_size_changed XE event actually measure?

$
0
0
does anyone know what the databases_log_file_used_size_changed XE actually measures? how do i get meaningful information from the "count" which really just appears to be a counter of times the internal space has been used. i'd like to know _how much_ is used

Server is really slow

$
0
0

Users cannot access the database when they are running Code since CPU usage is high (75%). But looking at the Resource Monitor sqlserver.exe usage is high and one of the datafile Name.mdf is reading 111,674,191 B/Sec). When I restart the server the same Name.mdf file reads 27,070,503 B/Sec. Not sure, how to resolve this issue? Please share your thoughts. It is a 2012R2 server.

sp_xml_removedocument erroring out

$
0
0

I am getting following errors in sql server:

Msg 6624, Level 16, State 7, Procedure sp_xml_preparedocument, Line 1

XML document could not be created because server memory is low. Use sp_xml_removedocument to release XML documents.

 

I ran following command that I saw on a msdn forum post:

DECLARE @docHandle INT
DECLARE
 @error INT
 
EXEC sp_xml_preparedocument @docHandle OUTPUT, 
N'<root><child/></root>'
SET @error = 
@@ERROR
IF @error =
 0
BEGIN
  EXEC
 sp_xml_removedocument 
@docHandle
END


http://qa.social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/0f69b277-e052-4b86-8709-ffa5fbc3bdc4

 

 

any thoughts how to resolve this issue? thanks


SQL Pro

Document stored procedures.

$
0
0

Hi experts,

I manage a sql server instance with hundreds of SPs/functions, with almost no comments/documentation. Even the names of the SPs/functions aren't really descriptive.

I wanted to go to each SP/function and document it.

Is there a formal classification of SPs/function? I wanted to divide them in "classes" like ( yes,no), for like:

  • returns results.
  • update/delete/insert data.
  • input parameters.


I also thought of describing which tables the SP/function touches, and briefly stating what the it does... What is the standard documentation? is there one?

Viewing all 15872 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>