Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics

ODBC Driver 17 for SQL Server - Linked Server failure

I have a problem where my linked server works for about 12 minutes and then fails.  Sorry I do not have the failure message at this point, but I can get it tomorrowI h

View Article


Read Only Routing on QlikSense Application

For our BI we have QlikSense application which is connecting to Listener in Always on but still connection to Primary . Is there any change needs to be done other than specifying...

View Article


What are the immediate after-effects of changing the read_only_routing_url...

When I make changes to the READ_ONLY_ROUTING_URL or READ_ONLY_ROUTING_LIST settings on the servers in my HA group, does this have any immediate performance consequences?  Can I do it on a live system,...

View Article

MSSQL Server 2014 Freezes every time RAM get's to 79GB

We have the Enterprise version 12.0.2000 running on:Windows 2012 R2 Standard 64 Bit8x16GB Micron 16GB DDR4 2Rx4 (128 GB of RAM)2.6GHz Intel Xeon-Haswell (E5-2690-V3-DodecaCore)2.6GHz Intel Xeon-Haswell...

View Article

Transactional Replication

I have DB mirroring configured to DR location from Server A --> B. Also replication configured from Server A --> C. If i have situation to do fail-over the Principle server would be B. Just...

View Article


Verify Read Only Routing using Profiler

How can I verify the readonly routing is working fine with Profiler?I connected to listener using Application Intent=Read Only and ran a select query but the hit is going to primary server only when...

View Article

SQl 2014 instance is DOWN all USER databases will not restore and SQLAGENT...

VMware ESXI 6.5Windows 2012 R2 Data Center Cluster 2 NodesSQL  2014 EnterpriseI have iSCSI drives used for failover all works well.Last night I got an alert saying my "E" drive was filing up.I opened...

View Article

VM Snapshot before SQL Server upgrade

I have recently been tasked with handling our SQL Server instances after being involved in DB2 for 10 years, so SQL Server is a bit different from what I was used to and this may seem a very b

View Article


SQl 2014 Database records have bad data how to clear

SQL 2014 Cluster 2 Nodes on Windows 2012 R2 Server both are VMs on ESXI 6.5 Hostsall working well.I have a database that has bad data and I need t remove the bad data from each...

View Article


SQL Files Won't Open Outside of SSMS

Hello!  I found some info on the web here:

View Article

sql job taking more time

Hi All, Need some advice on troubleshooting sql jobs.We have a ongoing performance issue on one of our Production server.  Application teams says when Jobs kicked off from an application, is taking...

View Article

Transactional replication latency issue

Hi,We configured Transactional replication. Suddenly in the replication monitor the current average performance it is showing as critical. I inserted tracer token .From publisher to distributor it is...

View Article

sys.dm_db_index_usage_stats skews results if a filter is placed on the tables

I was trying to find out when a table was last used using the sys.dm_db_index_usage_stats system table.I was trying to clean up unused tables.After placing a Filter on the tables in SSMS to view tables...

View Article


Backup and Recovery strategy on VLDBs

Hi All, How to manage backups on VLDBs or Database sizing 50GB-1TB. What are the options available to take backups on Production systems and how to plan for restore in case of a disaster? We are using...

View Article

Maintenance on VLDBs

Hi All, What are the different options available to run maintenance on VLDBs with large tables and performing Index Rebuilds, Update stats etc... How to run them without affecting the production...

View Article


limited permission

I have a created new login.I want this new login to have limited permission - the ability to execute X number of stored procedures - nothing else.How do I go about this?

View Article

Alwayson failovers

Hi All, Is there any good link/blog which discusses ALWAYSON failover scenarios? Thanks, Sam

View Article


SQL Instance report using Redgate.

Hi,I am new to Red gate monitoring tool.I need to give below reports for SQL Instance using red gate.Can you please guide me how to do that.||Audit Server Specification Changes (CPU, RAM, IP)|||Audit...

View Article

shrink databases

Hi All, Which one is good to use while shrinking ? DBCC SHRINKFILE()DBCC SHRINKDATABASE()I know shrinking is bad, however if I may have to use which one is good and WHY?Thanks, Sam

View Article

Server Name with a Backslash

I am trying to duplicate a user environment that has a sqlserver with the name MFSFT646\ABO. When I attempt to create a server with this name on my development server, it tells me this is an Invalid...

View Article

Loading CSV file into Multiple tables

Hi,I have to load the data from .csv file into few sql server tables which have referential integrity also.What's the best way to load data without any referential integrity or other issues.Is it...

View Article


is TLS enabled on sql server

how to confirm if TLS is enabled on SQL server

View Article


Prelogin packet SQL 2014 SP3 CU2

I hope someone can help me with this.  I am getting the below error my SQL Error log:The prelogin packet used to open the connection is structurally invalid; the connection has been closed. Please...

View Article

Mirroring

I have database mirroring configured from Server A(principal) to Server C(mirror). However, i am thinking to do another DB mirroring from Server B(Principal). Is it okay to configure mirroring from...

View Article

using Resource governor on Always on High Availability SQL Server 2014

Hi All, I Am currently working on a project to implement Resource governor on our Database servers, we are running SQL server 2014 in AlwaysOn High Availability. i have all this configured on Node one...

View Article


Deleting rows in SQL 2014

Hi,in a stored procedure, amongst other things  I have some code to delete a user based on their user ID. This proc is called from a C# application I am writing. It worries me when deleting records...

View Article

Mirroring issue, no role switching

I sat up last summer a mirrored instance of our main databases. In the last two month, we had twice issues on the main server and the roles never switched. I have little logs and no idea why it didn't...

View Article

DeadLock its own Process

Getting 100+ deadlock by same process and on sp_executesql. Can experts shed some light on why this is happening.<deadlock>  <victim-list />  <process-list>    <process...

View Article

Compare two tables from two different SQL servers

Hi,I have two SQL servers both running 2014. My objective is to check if a field (Username) in Server A Table tbl_Users exists in Server B Table tbl_Users. If there is a match then append current date...

View Article



Migrate SQL Cluster nodes from Physical to Virtual (VMware)

We are planning to virtualize few SQL cluster environments(FCI) as part of data center migration. What are the best options for this move with planned downtime or minimal downtime.Environment: Windows...

View Article

DB Mirroring

As a part of application upgrade process, it would create bunch of objects and the data insertion would be made. We have replication and DB Mirroring configured.I am not expecting this would cause any...

View Article

Permissions

I have user needs permission to be able to create,modify,delete tables and views in particular database. I know db_owner would be the option. Checking if there is any option other than db_owner role?

View Article

Limit Size of Tables

I'm looking for a way to put a cap on the size of newly created tables or adding data to existing tables. I do not want the developers to be able to create/grow a table larger than xGB. A trigger at...

View Article


System Memory

I have system (win2012 r2) with 32GB, out of which 26 is allocated to SQL Server 2014 EE,  I ran system perfmance report that gives me warning of excessive paging, My question is how do I identify if...

View Article

Is it possible to change an Audit to show up as a warning in App Log instead...

The project I'm working on requires us to audit the database instance for various events. Role changes, permissions changes, database object changes, etc. We configured the Audit to write these events...

View Article

Indexing and trimming options for very large heap table

I am pretty new to this, so my apologies for any SQL-related misstatements and confusions.I have inherited an application that dumps events into a table with the following structure:recordid (bigint,...

View Article


Copy database

Copy database is failing with time out expired. Is there a way to increase the time out period for copy database to different server? The db size is 15GB. I know the recommended size to copy database...

View Article


How to change cluster time out setting.

Hi,We configured 2 node cluster. Every early morning 1 am the secondary node is coming out from fail over cluster membership.We had a deep dive on this issue and it seems that while firing the Veeam...

View Article

Upgradation of sql

I want to upgrade SQL  2012 to SQL  2014  where the databases are configured in replication , what is the procedure to upgrade ?

View Article

SQL Agent Job

I am looking to see if there is a better way that SQL Agent job to finish job1 and then kick of the job2 after it finishes the Job1, I have 10 hr maintenance window, before the  next business day...

View Article