Quantcast
Channel: SQL Server Database Engine Forum
Browsing all 15872 articles
Browse latest View live

Query Store option

One option in query store I get very confused . Statistics Collection Intervalwhat does it acutally do ? the default interval is 60mins. so which mean every 60 mins the execution plan will gather once?

View Article


Why clusterless AG in sql 2017 not a DR option?

I would like to know why clusterless AG in sql 2017 not a DR solution? Is there a reason that i am missing?I am ok with async & no auto failover - It's like one type of mirroring option of...

View Article


SQL Server 2019 CTP 3.0 repair and unistall.

Hi!I have SQL Server 2017 installed and I tried install SQL Server 2019 side by side.I made mistake and selected Default Instance for SQL Server 2019. Sql Server installation failed.and now I am trying...

View Article

minimum permissions in order to issue checkpoint and dropcleanbuffers

Hi we run 2017 standard.  What is the minimum permission(s) our dba needs to give me in order to run checkpoint followed by dbcc dropcleanbuffers on a dev server?  I have already read the do's and...

View Article

Database Status: Suspect vs Recovery Pending.

what's the different between database status Suspect vs Recovery Pending. ???what's are the different causes for both Suspect vs Recovery Pending. ???

View Article


Image may be NSFW.
Clik here to view.

Low performance in ApexSql recovery

Hi every one,I have server for recovering data with apexsql recovery software.the configuration of server is :Hardware4 Core 2.0 GHz CPU ( 2 Socket + 2 Core ) 8 GB memory100 GB disk spaceSQL ServerSQL...

View Article

version store space not being released

This morning I tried to shrink a DB file after dropping about 70g of data from it. I ran DBCC SHRINKFILE(1,x) where x was the size I wanted to shrink to. X was slightly larger than the used space in...

View Article

There is insufficient system memory in resource pool 'internal' to run this...

Hi All,I'm running SQL 2014 SP3 and after July 2019 patching I'm seeing lots of errors relating to memory issues i.e.  There is insufficient system memory in resource pool 'internal' to run this...

View Article


SQL alwayON on machines with two SQL instances

I have two SQL servers with two instances each (2012 and 2016), both machine are in windows 2012 fail over cluster. I am able to have the named instance (2016) created Alwayson group and the listener...

View Article


SQL server patching practice

I am wondering how everyone does in their environment, my situation is, we have SQL servers hosting vendor's application databases, many of them are due for patching, but we need vendor's agreement to...

View Article

Finding columns to join from database that has no relationships between...

Hello -I am working with a database that does not have a database diagram.  When I try to create one, it doesn't show any relationships at all.  I need to join tables.  Looking for matching columns in...

View Article

implicit RTRIM

Hello, I would just like to point out a strange behavior of SqlServer. In some contexts makes an RTRIM not requested, which leads to absurd behaviors such as the following. COMPARISON (operator "=")....

View Article

After a database restore there are a 4 tables that are missing

After a database restore there are a 4 tables that are missing.How could this happen?The tables do not have that much data:name                                        rowsAA_tbl_Velocity...

View Article


Image may be NSFW.
Clik here to view.

How to find logs to show why an application alters and drops a database but...

I have SQL Job that runs a SPROC everyday. Basically what it does is to sync our Production database to our Offline database. The SPROC Alter, Drop then Create the database on those servers, 200 in...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2016 remote access denied

I have two VM with an SQL server on each and I need to connect to both SQL servers from each machine, either from SSMS and with PowerShell script.Also, today I don't manage to do that I'm always...

View Article


Backup and restore a partition of a database

In a partitioned database, can we backup a partition and restore it?

View Article

SQL Database Error 924 – Database is already open and can only have one user...

In a Java-application I am working on, I have an updater, which updates the db structure whenever a new version is started for the first time.  This updater is executed in single user mode, to ensure...

View Article


TDE- question!

Hi All,We have SQL server 2016 and windows server 2016, we have generated the private key with openssl and get  certificate signed with our local security team,then we have imported/exported the...

View Article

cross db union all - will each select run in parallel or serially?

Hi we have 20 databases sitting on the same 2017 standard instance. We are thinking about issuing 20 selects separated by union all to extract data from each.Will the selects run in parallel (and...

View Article

Replication - Subscriber DB changing Drive

hi,we have ServerA  -  DatabaseA  for  subscriber  ( transaction replication)DatabaseA  is in Drive  D:we plan to  move this database into F: (which is high-throughput drive).how to accomplish this...

View Article
Browsing all 15872 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>