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

How to find permissions on all the tables of a database of one login.

How to find permissions on all the tables of a database of one login.Thanks

View Article


database issue

Hi,   Autogrow of file 'database_log' in database 'database_name' was cancelled by user or timed out after 16411 milliseconds. Use ALTER DATABASE to set a smaller FILEGROWTH value for this file or to...

View Article


Monitor ressource governor workload group fails as data collection ?

Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...

View Article

Unable to create filegroup for filestream implementation on SQL Server 2008...

Hi,While trying to create a filegroup of a SQL Server 2008 instance with the following query, we get the following error message:Query: ALTER DATABASE MyDB ADD FILEGROUP MyDBFileGroup CONTAINS...

View Article

Image may be NSFW.
Clik here to view.

Can be stored procedures without cache?

Hello Guys!Today one procedure in my company after job for recompile, was no cache stored when I find with this select:SELECT [cp].[refcounts]  , [cp].[usecounts]  , [cp].[objtype]  , [st].[dbid]  ,...

View Article


How to drop non-clustered indexes from offline filegroup

Hi,We are simulating a recovery test and splitting the data so that clustered indexes will be stored on primary filegroup and secondary indexes will be stored on secondary filegroup. So we used the...

View Article

Dynamic SQL

 Hi, How good are Dynamic SQL queries for SQL Server's better peformance ? I m just asking because I got a request from one of our developers to tune a stored proc that he develped. It has 800 lines...

View Article

Image may be NSFW.
Clik here to view.

Perfmon is reporting very high "waits started per second". What are possible...

Win 2008r2 Enterprise.  SQL 2008R2.Included is a screenshot of the perfmon capture.  Notice the Wait Stats section at the bottom and the high waits starts per second.  What causes could explain this...

View Article


ChangeTracking auto cleanup problem

I use ChangeTracking in SQL 2012 and IsAutoCleanup is true. But my settings have no effect on the actual situation. I put 1 hour, 5 hours, 10 minutes, 2 minutes, 40 minutes, but the cleaning is always...

View Article


How to tell if a job is hung up or being blocked? no blocks seen with sp_who2

Ive started a job on a server that I have inherited, by right clicking on it and starting it.Its still running, and has not errored yet, but Im thinking it should have finished by now.How can I tell if...

View Article

How to tell if statistics are causing problems

Is there a system view I can query to tell me if there is something wrong with statistics for a database which might cause strange problems with a procedure?

View Article

sysjobactivity cannot insert duplicate

We have a job which runs through ok, but right at the end it (presumably) tries to update sysjobactivity to say success. Upon attempting to do this it looks like it's failing (with error below in error...

View Article

SQL Server 2005 64-bit 100% CPU

 We just did a conversion from SQL Server 2000 SP4 32 bit to SQL Server 2005 64 bit SP2 9.0.3042.0.  We have 16G of memory on the new box as well. We had no CPU/memory issues on the 32 bit box. We...

View Article


will Partition help if the large table has lot of Inserts and Updates

Hi All, We have a very large table it is about 100 GB and we are planning for partationing. The current scenario is this Large table will have lot of updates and inserts, currently we are like facing a...

View Article

SQL Server 2008 Memory Usage details

Server configuration : Windows 2008 64-bit & SQL Server 2008 64-bit environment with 14 Gigs of Memory.Max. Server Memory set to 11 Gigs.- The task manager is showing sqlservr.exe is consuming all...

View Article


SQL Server 2012 - Missing or lost transaction and no errors to show what went...

I have 2 missing records in SQL server and I am trying to identify the problem that caused this issue. New records are inserted using a Stored Procedure, which will return an error code to the...

View Article

SQL Compression performance issue

I have 2 identical databases. I have page compressed all tables and indexes in one of them. This gave me around a 40-50% saving in terms of storage.Now when I run the same query (select only) against...

View Article


Reclaiming 2TB in a SQL Server 2008R2 database ( non-log file) shrinkdb

We have a very large SQL Server 2008R2 database (4TB).  Recently we were able to compress some of the xml files located within the database.  This reduced the actual database size to 1.5TB.  But the...

View Article

Image may be NSFW.
Clik here to view.

sql server services starting problem..

HI team,when i try to start the sql server services i am facing the bellow error, please give a answer...

View Article

Random Error: A network-related or instance-specific error occurred while...

Over the weekend around 2am in the morning we started receiving the following error from all of our web applications accessing a particular SQL Server: A network-related or instance-specific error...

View Article
Browsing all 12554 articles
Browse latest View live


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