Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12963 articles
Browse latest View live

sp_lock question

HiI am investigating intermittent speed issues. I have just run sp_lock on our production system and found that a certain object id has 2501 separate rows of type KEY and PAGE lock with a GRANT...

View Article


Differential backups from Copy Only full backups

abc

View Article


Database consolidation

HiI am planning to consolidate peace meal deployment of databases. My question is that if I have one clustered dedicated MS SQL database server and its physical resources are run out then what is the...

View Article

SQL SERVER 200 R2 INSTALLATION PROBLEM

Hi, i'm unable to install the Microsoft SQL Server 2008 R2 on my system,below is the error which is poping up. Please help me out. And also,my log file too. TITLE: Microsoft SQL Server 2008 R2 Setup...

View Article

Automatic shrink job

Dear All,I wanted to create a job in SQL which would automatically shrink a Transactional log file or files when the transactional log backup gets to a particular size please?Thank you in advance!

View Article


Can I index a RowVersion column

HiIn order to track changes in tables I was going to add a RowVersion to each affected table. Then at a certain point in time take the max rowversion used in the table and store it. Some time in the...

View Article

Query with JOIN to CTE on large table never completes, same query rewritten...

Hello, first time poster, please let me know if more information is needed.I have a query that joins two tables (defined below) with a CTE, the Reading table contains ~7billion records and is...

View Article

backup and restore history

 How to find out at what time the database had been restored and backup in simple way in production server?

View Article


I need email whenever database state change in mirroring.

Hi,I  am using SQL server 2005 SP1 in Windows server 2003. I need email whenever database state change in mirroring. As per below link I cannot enable Service Broker setting for user database while its...

View Article


How to find Software version using a copy of software without installing

How to find Software version using a copy of software without installing

View Article

New 2014 Cardinality Estimator changes compile duration from nothing to infinity

We have a data warehouse that we recently upgraded to 2014 (Enterprise).Since the upgrade we are experiencing enormous compile times on most of our queries (2014 compatibility level only). Requesting...

View Article

Resource database

HI Team,if it's possible to attach the resource database .mdf and .ldf file ?note: in resource database what information it contain like what are the objects and schema it having.

View Article

SQL Server 2014 Failover Cluster Instance with mount point

Hi all,I've a fresh installation of SQL Server 2014 Enterprise on Windows Server 2012R2. I've setup de Windows Server Failover Cluster and the validation test has been successfully passed. I use...

View Article


Check My SQL Server Configuration for good perfomance

I would likeoneconsultation inthreesettingsSQLservers thatI haveto avoidperformanceproblems.the three server are the same installation:Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Copyright...

View Article

Image may be NSFW.
Clik here to view.

Rebuild Index - Change free space per page percentage setting in Maintenance...

Hi everyone ,  On one of Database I did setup for Rebuild Index using Maintenance plan and put 80% in change free space per page percentage option. and thought that will set up Fill factor 80% for all...

View Article


Group policy -- Limit Developer Access to prod

I was asked to see if it's possible to prevent developers from using BIDS/SSDT, Visual Studio, SSIS or third-partytool to pull data from production servers. It's ok for developers to us SSMS for read...

View Article

WHY WE NEED TO ADD PORT NUMBER 1433 TO TCP/IP PROTOCOL INSTEAD OF UDP PROTOCOL

HELLO EVERYONE,WHILE INSTALLING SQL SERVER I HAD ENCOUNTERED A WARNING MESSAGE REGARDING  WINDOWS FIREWALL. AFTER SOME RESEARCH , I GOT TO KNOW THE STEPS TO TROUBLE SHOOT. IT SAYS I NEED TO GO TO...

View Article


PREEMPTIVE_OS_FILEOPS waits during restore

We received a new server running Windows 2012 and SQL Server 2012 SP1. When we are restoring a database 3.5TB in size split into 24 Data Files and 1 Log file. It takes somewhere between 50-80 minutes...

View Article

Image may be NSFW.
Clik here to view.

SQL Server sqlservr.exe is taking more memory than Max server memory in Task...

My dear All,One of my server we have set the Max server memory to 24GB and min server memory for2GB and left 8gb for OS on the last month. But 3days onwards we are observing that in theTask manager...

View Article

function to return a table - clear table every time I run the funcion

hello all,I have one function that returns a table, how I can clear the table each time I run the function, it is possible?regards

View Article
Browsing all 12963 articles
Browse latest View live