Table Partitioning with sliding window
Hi All,we planning to create partitioning on existing tables. The partitioning is on date column, there should be one partition for each year. Creating of new partitions should be automated, and also...
View ArticleSimple instructions for setting up an alias...
Hello all. After two days of unsucessfully trying to create an alias; I need assistance. This SHOULD be a simple thing to do, but I'm missing something.My environment consists of: A server running...
View ArticleXtended events and clr with data access trace
There is a sql statement which uses a table valued clr function which inside opens another context connection ( using (var connection = new SqlConnection("context connection=true")) ) and using another...
View ArticleIOPS for specific DB
Hi Guys,I would like to measure the IOPS for one specific DB on my MSSQL server. I could not find a profiler setup for it, and after some search I only found solution for measuring the Disk, or the...
View ArticleDM views such as dm_os_performance_counters - how to read the results and...
Anyone got a link they would like to share on how to read and interpret the results of dm_os_performance_countersToday I ran into some performance issues with SQL slowing to a crawl for a few...
View ArticleCould not allocate a new page for database 'XXXX' because of insufficient...
Dear All,I have a SQL Server 2008 (SP1) Database (Size600GB). It has more than 25 Data files and more than 5 LDF Files.My issue is most of the times whenever I tried to created new indexes or...
View ArticleHow to find Hidden Space/Char in SQL Server?
Hi Folks-I want to find out the hidden space or any hidden char using SQL Query? Please help me
View ArticleHow to Apply the patch...
hi ,we are using active & passive clusters here how to apply the patch..if any possible give me ans step by step......Regards,Chandu
View Articlexp_delete_file extremely slow on a server - Wait_Info...
I am looking at one server where xp_delete_file is extremely slow to delete files.One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.The wait_info is...
View ArticleSearch for table names with date in the name
Hi, I have some tables with names like: table20130301 table20130302 table20130303 and so on, one table for each day.I need to extract this date from the table name. then this date is to be compared to...
View ArticleThe OLE DB provider "MSDASQL" for linked server "MYSQL" supplied invalid...
I had a running openquery as follow in MSSQL SERVER.SELECT * FROM OPENQUERY(MYSQL, 'CALL GASP_sales_tl_performance_summary(''2013-03-01'',''2013-05-01'')')When i Execute this open Query will get an...
View ArticleTCP Endpoint Channel Communication Directly Between 2 Servers
Hello,I am not sure of the correct way to ask my question so here is what I was thinking but I am not sure it is possible.I have 2 server 2012 boxes each with SQL 2012 installed. I have created a 2 GB...
View ArticleSQL 2000 - randomly stopped - file permissions
Have a SQL 2000 database instance with 4 databases. 2 are fine, but 2 randomly stopped. Detached and reattached them and the are back in "Read-Only" mode and when I try to change them to writable I get...
View ArticleInconsistent metadata in tempdb
I am periodically receiving the following error message in SQL Server 2012 Standard SP1: "No catalog entry found for partition ID 4683802261943549952 in database 2. The metadata is inconsistent. Run...
View ArticleProblem in connecting to sql server started in single user mode in cluster...
Hi,I have restore master DB. But when i am starting sql server in single user mode by putting -m in startup parameter then after restarting SQL Service not able to make connection to sql server becoz...
View ArticleRange key lock Serializable isolation level
As per the below article,range’ lock on the ‘next’ key that is outside the range....http://blogs.msdn.com/b/sqlserverstorageengine/archive/2006/05/26/range-locks.aspxHere want o know why only next key...
View ArticleRDB (Resource DB) backup
Please help on how to configure a backup for "RDB" database on SQL Server 2012 Enterprise editionI am aware that we can't schedule this backup using tools available in SQL server 2012.
View ArticleSQL2012 SP1 - Errorlog message: Failed to allocate BUFs:...
Hi all,recently i have received following errors in my errorlog: Failed to allocate BUFs: FAIL_BUFFER_ALLOCATION 1this error is followed by: Memory Manager KB...
View ArticleSQL Server- Large Pages Use WITHOUT trace flag 834
I read Bob Ward's post on SQL server and Large Pages (http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx). He mentions that even without trace flag 834...
View Articlehow to Run multiple instances trace from a single trace script
hi..I have few SQL Servers and each servers got multiple instances.I have scripts which can Run for a single instance and generating the required result.Now my requirements is i need one scripts which...
View Article