Recommend SQL database backup for db size 1TB
Database file grow - while maintenance (updateStats/rebuild)
hi all,
we have table "TABLE1" contains 1.15billon records. recently we purge this table by deleting records with required dates,
now we have records 0.77 billon.
now when ever i made maintenance activity on this below table, i saw the datafile & file grow upto 250GB,
how can i handle this? why this happen?
Maintenance query: (Ola script)
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [_WA_Sys_00000006_1387E197] WITH FULLSCAN
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [_WA_Sys_00000004_1387E197] WITH FULLSCAN
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [_WA_Sys_00000003_1387E197] WITH FULLSCAN
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [_WA_Sys_00000001_1387E197] WITH FULLSCAN
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [ix_TABLE1_aid] WITH FULLSCAN
UPDATE STATISTICS [Databsename].[dbo].[TABLE1] [PK_TABLE1] WITH FULLSCAN
ALTER INDEX [PK_TABLE1] ON [Databsename].[dbo].[TABLE1] REBUILD PARTITION = 42 WITH (SORT_IN_TEMPDB = OFF, ONLINE = ON)
PK: ts,id
Non-clustered index: aid,ts
SQL Managed Backup Log Events
Hello,
I have a couple of virtual machines in Azure that run SQL. Recently I noticed that Managed Backups were not being performed. I would like to be alerted that a Managed Backup has failed to run. I am wondering if anyone knows of an Event ID either from any of the following that indicates that a backup failed:
- VM Application Log
- VM System Log
- Azure Log Analytics (OMS)
- Some other location
If I know an Event ID then I can take the appropriate steps to setup notifications and remediation.
Thank you for any help you might be able to provide,
Matt
SQL Dump
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
Failed to run resource governor classifier user-defined function
Hi.
When I use Resource Governor, Sometime I see an error:
2019-08-28 15:19:00.38 spid151 Process ID 153 was killed by hostname SERVERNAME, host process ID 6252.
2019-08-28 15:19:00.38 spid153 Error: 10982, severity: 16, state: 1.
2019-08-28 15:19:00.38 spid153 Failed to run resource governor classifier user-defined function 'dbo.RGGroup'. Last error 3602, state 135. See previous errors in SQL Server error log from session ID 153 for details. Classifier elapsed time: 0 ms.
RG settings see below:
Function:
CREATE FUNCTION [dbo].[RGGroup]() RETURNS SYSNAME WITH SCHEMABINDING AS BEGIN DECLARE @WorkloadGroup AS SYSNAME SELECT TOP 1 @WorkloadGroup = CASE WHEN IS_SRVROLEMEMBER ('rgAdminUsers') = 1 THEN 'PoolAdminUsersGroup' WHEN IS_SRVROLEMEMBER ('rgDWHUsers') = 1 THEN 'PoolDWHUsersGroup' WHEN IS_SRVROLEMEMBER ('rgDNSUsers') = 1 THEN 'PoolDNSUsersGroup' ELSE 'default' END; RETURN @WorkloadGroup END
Pools:
CREATE RESOURCE POOL PoolDNSUsers WITH ( MIN_CPU_PERCENT = 0, MAX_CPU_PERCENT = 20, CAP_CPU_PERCENT = 20, MIN_MEMORY_PERCENT = 0, MAX_MEMORY_PERCENT = 20 ); CREATE RESOURCE POOL PoolDWHUsers WITH ( MIN_CPU_PERCENT = 0, MAX_CPU_PERCENT = 90, MIN_MEMORY_PERCENT = 0, MAX_MEMORY_PERCENT = 90 ); CREATE RESOURCE POOL PoolAdminUsers WITH ( MIN_CPU_PERCENT = 0, MAX_CPU_PERCENT = 100, MIN_MEMORY_PERCENT = 0, MAX_MEMORY_PERCENT = 100 ); USE [master] GO /****** ******/ CREATE WORKLOAD GROUP [PoolDNSUsersGroup] WITH(group_max_requests=0, importance=Medium, request_max_cpu_time_sec=0, request_max_memory_grant_percent=25, request_memory_grant_timeout_sec=0, max_dop=0) USING [PoolDNSUsers], EXTERNAL [default] GO /****** ******/ CREATE WORKLOAD GROUP [PoolDWHUsersGroup] WITH(group_max_requests=0, importance=Medium, request_max_cpu_time_sec=0, request_max_memory_grant_percent=40, request_memory_grant_timeout_sec=0, max_dop=0) USING [PoolDWHUsers], EXTERNAL [default] GO /****** ******/ CREATE WORKLOAD GROUP [PoolAdminUsersGroup] WITH(group_max_requests=0, importance=Medium, request_max_cpu_time_sec=0, request_max_memory_grant_percent=100, request_memory_grant_timeout_sec=0, max_dop=0) USING [PoolAdminUsers], EXTERNAL [default] GO
RG:
USE [master] GO ALTER RESOURCE GOVERNOR WITH (CLASSIFIER_FUNCTION = [dbo].[RGGroup]); GO ALTER RESOURCE GOVERNOR WITH (MAX_OUTSTANDING_IO_PER_VOLUME = DEFAULT); GO ALTER RESOURCE GOVERNOR RECONFIGURE; GO
Requests are killed under the account, which falls into the pool "PoolAdminUserGroup".
When Resource Governor is disabled - all fine.
What could be the problem?
DB stuck in restoring
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
can one sql agent depend on another
MS SQL Server 2019 evaluation license expired (Error code 17051)
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
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)
Can table free space can be reclaimed ?
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
Is msdb.dbo.backupset Truncated During Server Restart or Services Restart
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!
What does the databases_log_file_used_size_changed XE event actually measure?
Install SQL Server 17 full version offline
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.
Server is really slow
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.
Document stored procedures.
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?
Data Transfer Issue
best way(s) to plumb scheduling software to sql agent
Hi we run std 2017. we are looking at some distributed scheduling software that would probably plumb to sql agent.
We already understand the pros of cons of simply scheduling sql agent vs using a scheduling tool.
The scheduling software interfaces with just about everything including windows. what middleware should we plan on leveraging to allow the scheduling software to interface with sql agent? OSSQL? I'm assuming this scheduling software employs clients on machines like our sql server. If it matters, our agents do various things including running ssis pkgs from both the catalog and file system but I don't think this is really an ssis question.
sys.dm_database_encryption_keys returns no rows
SQL 2017 RTM
Windows OS 2016
Query for sys.dm_database_encryption_keys returns no rows. I am trying to find out if encryption has been enabled.
Source: https://www.sqlshack.com/how-to-monitor-and-manage-transparent-data-encryption-tde-in-sql-server/)
SELECTDB_NAME(database_id)ASDatabaseName,encryption_state,
-Jeelani
Jeelani Kamal - Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you
Database Mail Log Error
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2019-09-09T12:13:42). Exception Message: Could not connect to mail
server. (No such host is known).
)
Can telnet from the server to Port 25, Only one profile exists, other mail related settings look complete.
Is there any default password for Basic Authentication? I do not know the password. AV is not an issue since other server can send email.
understanding of sql os terms
Hi SQL Experts,
Can anyone tell me what are the meanings of below terms in layman terms. Later I can go through documentation.
Wanted to study SQL OS and I am little confused with these terms.
1. Pre-emptive scheduling
2. non-Pre-emptive scheduling
3. Yielding
4. Non-yielding
Thanks,
Sam