Allow remote access - what do i loose if i disable?
HI,Inherited some DB's with 'allow remote connections'.Company does not use a VPN, We use an RDP gateway to access from home.I know allowing remote access is a security risk, but would I still be able...
View ArticleAutomatically detect new databases , add to availability group and assign...
HI There,i have a SQL server setup whereby always on is configured but an application is to create new databases on the fly. rather than have an email come in highlightring a new database has been...
View ArticleDBCC Check DB performance issue
I have dbcc checkdb running on a 2 GB database but it takes about 1 minute to complete. In sys.dm_exec_requests i see DBCC is in running state and i don't see any wait type when i query...
View Articlepaswword of the master key
Hello everyoneWho has an idea please on the usefulness of having a master key passwordI explainedI created the master key by indicating their password [code language="sql"]create master key
View ArticleRelease reserved space by data files
Hello, I have a weird situation with one production database. I found it very large when I started working for my company, can't identify when it grew so large and by which operation. It is consisted...
View ArticleUpgrade edition of SQL Server 2016 SP1 from Developer to Standard
Hi allHaving a strange issue. We have a production server which incorrectly got installed with Developer edition. The upgrade path is supported according to this article:
View ArticleData Collection - Server Activity History No Data Available
I have set up Data Collection on 2 different SQL 2016 SP1 Server. The Report Server Activity History shows on both no data availabe for %CPU, Disk I/O, and Network Usage. Only Memory Usage and SQL...
View ArticleTDE enabled but database backups don't *appear* to be encrypted
I have a database that is using TDE and this can be confirmed through:[code language="sql"]SELECT CASE database_id WHEN 2 THEN 't
View ArticleWAIT STATS Advice
Morning Guys,I have a very simple statement that does a select into a new table with no predicates. I want the whole of TableA to be replicated (data only) into TableB:[code language="sql"
View ArticleSSIS 2016 - SQL Server Standard vs Enterprise Ed
Hello Folks,We are planning to create a dedicated server for SSIS. SQL 2016 will be used for this. But I'm confused on selecting the edition of SQL, Enterprise or Standard. Please shed some light on...
View ArticleUpgrading SSIS Solution from 2014 to 2016
Hi, I'm testing out an upgrade of our ETL solution from SSIS 2014 to 2016. These are the steps I've taken: - I installed Visual Studio 2015 (V14.0.25431.01 Update 3). - I opened my ETL solution in...
View ArticleHigh waits for pagelatch_up, pagelatch_ex, pagelatch_ex
Hi,I'm seeing high waits for pagelatch_up, pagelatch_ex, pagelatch_ex waits and seeing 40 to 50 blocking sessions in SQL server 2016. ETL jobs are running INSERT statementsI have applied CU8 for SQL...
View ArticleSQL Server 2016 developer edition- is it completely free for non-prod?
Is SQL server 2016 developer edition completely free for non-production environment? Is there any restriction or limitation of use in test environment? This will act as test environment not only for...
View ArticleUpdate Statistics Question
Hello everyone,We have a table in our database that contains 80 million records. The statistics are rebuilt at 3 am every day. By 9 am upwards of 50K records have been added to this table and the...
View ArticleSQL Server 2016 - Tran log growing huge
Forum,We recently deployed a new server SQL 2016 (first)and built an Availability group, now the problem is the TRN log files are growing huge. I have tran logs backed up hourly(is it a best practice...
View ArticleUpgrading from SQL Server 2016 SP1 to SP2
Hi,I'm running SQL Server 2016 SP1 (specifically SP1-CU4) Developer on my development machine. I had downloaded the full SQL Server 2016 SP2 Developer ISO recently to put on another development...
View ArticleSQL Server Memory - Very High LazyWrites/sec
I am running into very weird issues. I have min memory set to 200 GB and Max set to 1.3 TB, server has physically 1.5 TB RAM. I see very good PLE about 4000 however every few seconds or so...
View ArticleLogin History to find when a user was last login?
Is there any feature to see when a user lets say "sa" using a program name lets say "SSMS" used to connect to a particular SQL Server. Is there any built-in feature available in SQL Server 2016 onward...
View ArticleSQLOLEDB vs SQLNCLI11
I am little confused. When i query sys.syservers i see provider name as 'SQLOLEDB' for some and 'SQLNCLI11' for some. We migrated from 2008R2 to 2016. Is there a good way to actually check which driver...
View ArticleSome users showing in error log as attempting to open a database they do not...
We use AD groups, SQL Server 2016. One AD group (with over a dozen users) that doesn't have any permissions/privileges to a EmployeeDB, has just 3 users show in the error log where every time they open...
View Article