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 ArticleRead 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 ArticleWhat 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 ArticleMSSQL 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 ArticleTransactional 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 ArticleVerify 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 ArticleSQl 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 ArticleVM 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 ArticleSQl 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 Articlesql 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 ArticleTransactional 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 Articlesys.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 ArticleBackup 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 ArticleMaintenance 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 Articlelimited 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 ArticleAlwayson failovers
Hi All, Is there any good link/blog which discusses ALWAYSON failover scenarios? Thanks, Sam
View ArticleSQL 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 Articleshrink 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 ArticleServer 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 ArticleLoading 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 ArticlePrelogin 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 ArticleMirroring
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 Articleusing 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 ArticleDeleting 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 ArticleMirroring 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 ArticleDeadLock 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 ArticleCompare 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 ArticleMigrate 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 ArticleDB 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 ArticlePermissions
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 ArticleLimit 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 ArticleSystem 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 ArticleIs 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 ArticleIndexing 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 ArticleCopy 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 ArticleHow 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 ArticleUpgradation 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 ArticleSQL 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