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

When I am running this below index rebuild it is increasing transaction log...

When I running this below index rebuild it is increasing transaction log size so much ...while actually reorganize incraeses the space...USE [xyz] GO ALTER INDEX [PK_Applications] ON...

View Article


Trigger Inserted and Updated Table

Hi Team,I have a vendor application where a table with 1 million rows get updated without a where condition (all rows). This table is having an update/insert/delete trigger.Inside the trigger there is...

View Article


Auto headers in any new sql script

ctrl + New, new blank window will open to write sql script same time I expect below comment as header appear automatically in sql 2005/08 R2 is it...

View Article

Image may be NSFW.
Clik here to view.

Split Sort Collapse and CDC __$operation and __$update_mask

We have a (many actually) table with cdc turned on. I noticed in an update I did not specify exact keys as below the query plan shows a split sort collapse operation and interestingly cdc table shows...

View Article

SQL Server Monitoring - resources

Hi allHaving taken an audit of our production server that has 4GB of RAM, I have noticed that the SQLServr.exe process is using 3.3GB of it.  I am compelled to ascertain why this is using so much RAM....

View Article


Browser Service Hangup

Hi,I have one instance of Microsoft SQL Server 2008 Enterprise Edition (64-bit) running on windows 2008. Database engine, agent service and browser service shows running in services.msc. I cannot login...

View Article

Extreme disk usage on SQL partition

Is it normal or safe for the X: SQLDATA Partition to sustain an Active time of 98 to 100 % and a disk queue length of from 4 to 500 when no one is logged into GP?Cluster info: HQ-erp has 2 applications...

View Article

Granting user defined role to dbo

Hi,I have one login say test and executed:use <db name>gosp_changedbowner testI have user defined role role1 in this database.I want to grant role1 to test. Now test has user dbo in the database....

View Article


SQL Server 2008 mystery backups

Hello,Each night a single db is backed up to C:, eventually filling up the C drive and bringing things to a halt. I can't find the source of the job that is creating this backup. It looks to be a mix...

View Article


SQL Server occasionally refuses new connections for short periods

I have an application that has been running for years.  Starting in early January, I've started seeing connection errors when simple queries run against the database.  This only happens to maybe one...

View Article

Microsoft OLE DB Provider for SQL Server cannot get all the schemas?

I use MS SQL Server 2008 for Database Development. Now, I need to get all the tables in SQL Server via OLE DB For SQL Server. However, after querying, only one system table called sysallocunits is...

View Article

What fraction of SQL installations are in use by major version, e.g. 7.0,...

Does anyone have any idea of the current fractions of installations by major version, e.g. 7.0 and earlier, 2000, 2005, 2008, 2008R2, and 2012? It would be useful to know how far back we should...

View Article

Windows OS differences for SQL 2012?

Hi all, We are looking to update the DB for one of our products to SQL 2012 (Currently SQL 2008 on Windows 2008R2).  I have been looking for information on whether there is any advantage to installing...

View Article


what is the difference between ADMINISTER BULK OPERATIONS vs bulkadmin

what is the difference between ADMINISTER BULK OPERATIONS vs bulkadmin?  Are they same?When I query the following table to see the server role assigned to a login, I see above 2 different names.  Do...

View Article

PAGEIOLATCH_EX Wait type on insert

Hello All,I am noticing a lot of PAGEIOLATCH_EX wait types whenever there is an insert into a table.  I have the clustered index primary key on a GUID. I wanted to know if this was a disk issue and ran...

View Article


Re:Dead Lock Issue...

HI friends,i am facing one main issue.DEADLOCKS I HAVE ONE DATABASE 'A' THIS 'A' DATABASE GETTING MORE DEADLOCKS ,THIS 'A' DATABASE  SIZE IS 200 GBI AM REBUILD THE EACH TABLE AND RUN THEUPDATESTATS...

View Article

Image may be NSFW.
Clik here to view.

High Hard Faults /Sec and free mem

My Sql Server 2012  is running on server 2008. 72 Gb  RamThe db memory settings are 30 GB Min and 64 GB Max (max for standard version)The SSAS is set to min 7 GB and max to 60 GB.When i have lots of...

View Article


Any automated script or tool for DMV analysis and generate optimization scripts?

Hi,Is there any automated script (or tool) that analyzes all DMVs, create a list of recommandations and produce/recommend optimization scripts?Thank you,

View Article

SQL Server 2008 detected a logical consistency-based I/O error

Hi, guys!I am using the SQL Server 2008 under Windows 2008 + SP2 and got the following error in the event viewer recently:SQL Server detected a logical consistency-based I/O error: incorrect checksum...

View Article

stolen pages and total pages

We have a SQL Server instance, max memory set to 10gb on a 12gb (VM) server, and these are the numbers I get from the buffer manager, with the plan cache thrown in for good luck.  Does that seem about...

View Article
Browsing all 12554 articles
Browse latest View live


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