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 Articledatabase 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 ArticleMonitor 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 ArticleUnable 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 ArticleCan 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 ArticleHow 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 ArticleDynamic 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 ArticlePerfmon 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 ArticleChangeTracking 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 ArticleHow 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 ArticleHow 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 Articlesysjobactivity 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 ArticleSQL 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 Articlewill 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 ArticleSQL 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 ArticleSQL 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 ArticleSQL 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 ArticleReclaiming 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 Articlesql 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 ArticleRandom 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