Quantcast
Channel: SQLServerCentral » SQL Server 2016 » SQL Server 2016 - Administration » Latest topics
Browsing all 2648 articles
Browse latest View live

Design database

I worked in support environment and I don't have experience in design.  I would like to know how to design a database and what factors need to consider while designing a database.

View Article


What happens to Primary replica if secondary replica server did not come...

Hi Guys,I got a question about AG group.I have a AG group setup A-P with automatic failover (Async). What will happen to AG if the secondary server did not back online after patching? What is the...

View Article


Which data to baseline before and after adding an index

Hello experts,While troubleshooting a poorly performing query, I was able to have some success in development by adding a table index that was recommended in the execution plan. Now I hope to request a...

View Article

Can connect through SSMS but not SQLCMD

We have two SQL 2016 servers (13.0.5026.0, Windows Server 2016), we'll call them "Server1" and "Server2". They should be exactly the same yet this is what happens:Server1:-can connect through SSMS, no...

View Article

Account issues

How do we tackle rampant SA permission issues.We have many sql servers and 1000's of accounts which have been given SA permission without any scrutiny.Now we need to revoke SA from all of those...

View Article


BCP command in Linux through Putty

Hi Excerpts,I would require your help on below issue.I am new in MSSQL.My file is present in Linux server and SQL server is installed in Different server. Customer was excepting data from file (Which...

View Article

Adding SSISDB to AlwaysOn Availability group is not working

Hi thereI have an AlwaysOn Availability Group and am trying to add the SSISDB to it. I am following the instructions in this Microsoft doc:

View Article

Job schedule with availability groups ( 4 nodes )

Hello,We seem to be having an issue of a SSIS job running on all nodes instead of only the first node when not in a failover mode.It is spawning errors from the secondary nodes and we have even created...

View Article


User Permission Reporting

We would like to get a list of all db users and their permissions and report on them.  Are there any utilities that allow this to be done easily without having to run direct queries in SQL? I am...

View Article


Sql Server 2016 Service Pack 2 install hangs

We have a SQL 2016 server with SP1 CU2 (13.0.4422.0). When I run theinstall for Service Pack 2, the install hangs for hours.

View Article

e-commerce company, planning to start a sale offer in december

Hi Experts,We are a small e-commerce company, planning to start an offer in december. The offer would be online on some products. We are hoping many orders hitting the orders database. As a DBA, what...

View Article

SQL Server 2016 AAG HADR Endpoint possible contention?

By default, a SQL Server instance will have a single hadr endpoint on port 5022. On an AAG setup consisting 19 AAGs (>70 databases, 19 Applications). Some of these include SharePoint, SCCM and...

View Article

killed rolled back backup process which is not letting me to shrink the log...

The current size of the log file for a database is 2TereBytes. There is a killed rolled back backup process which is not letting me to shrink the log file. If I take the server offline and then bring...

View Article


Transferring database diagrams from one server/db to another server/db

Is there a way to do that? To transfer database diagrams from one server/db to another server/db.

View Article

Availability Groups on default and named instances with DR

Hi Experts,We have a below requirement to build sql servers with availability groups. Default Instance:Server1 (primary) , Server2 (sync) , Server3(async - DR),Server4(async-DR)Named...

View Article


Server not caching any plans

So I know memory pressure can cause SQL Server to push plans out of the plan cache but this is a bit extreme.  A very active SQL 2016 SQL Server has gone from working just fine with an average cache...

View Article

Encrypt Connection - how do I know what certificate is being used for the...

*When I connect using Trust Server Certificate - how can I see what certificate is being used?Using SSMS I can connect to the SQL server, and check "Encrypt Connection" if I do that it fails saying:

View Article


Backup

I need to take a  adhoc full backup on a prod server. Can I take the backup with out copyonly option with out interrupt the lan of the backup chain.

View Article

Simulating high load on the server

What kind of T-SQL query can I run on the server simulate high load on the server in order to make it nearly hang it or hang it (in order to stress test it, make it hot and loud, and see smoke coming...

View Article

Always on

What happens when listener goes down in always on

View Article
Browsing all 2648 articles
Browse latest View live