Different behaviour of dbcc freeproccache and option (recompile)
Hi all,I have a parametrized query, which ran 1sec until we changed MAX DOP from 0 to 1. The change had been recommended by microsoft support due to other issues on this server. The server has 8...
View Articlesys.sysaltfiles and sys.database_files showing different physical file names...
Hi All,I restored a database from our PROD instance to reporting instance. While restoring through ssms i have selected the appropriate path in the "restore as" option and also selected standby mode....
View ArticleProblem with two jobs affiliated with a sql script
Hello --I am testing a script called dbWarden on our 2008R2 standard server. The URL for the script in question is the following:http://sourceforge.net/projects/dbwarden/I have executed the script, and...
View ArticleError while Publish Lync Topology
HiI have install Lync Enterprise and SQL Developer Edition each on a virtual Server. Now I'd like to publish my first topology. This works fine, until it creates the Database on a second Server. They...
View Articleazman + SQL Server 2008 : Access Denied
Hi,I am trying to create a new Authorization store with Azman with SQL Server 2008 R2 on Windows Server 2008 Server machine. However, when i try to do that, i get an error from Azman : "Can not create...
View ArticleLogshipping issue
Hello,I have currently setup logshipping in our staging. And now I am planning to move the database data and log files on the primary server to a different drive. To perform this activity I plan on...
View ArticleI need help to change the black font color of the query window area where is red
I need help to change or edit the black font color of the below image where my sstabottom toolbar is RED. I looked at tools=>Options=> environment=>Fonts and colors any help Change my status...
View ArticleCheck SL database performance and clean cache from RAM and CPU
Hi All,One database having used in a application and it is consuming RAM and CPU, I need to a query to check RAM usage and CPU usage by database to check which database is consuming more resource and...
View Articledbcc checkdb using hint OPTION(MAXDOP = 1024)?
Hi experts, Is it possible to change maximum degree of parallelism for dbcc checkdb command?We run SAP on SQL and the global setting of DOP is 1 and this is the recommended setting.However, I would...
View Articlesharepoint environment issue
I had took backup of the share point and SQ L and restore in different servers but share point is mapping to the old database how can i change it to the new (restored data base). share point and Sql...
View ArticleOptimum DR strategy for Datawarehouse DBs.
We have a SQL Server 2008R2 servers with Datawarehouse DBs which gets populated by SSIS packages for ETLs. The database sizes are around 380GB - 400GB. The ETLs run throughout the night and load the...
View ArticleRecovery model for Datawarehouse databases
Hi We are building up a new Datawarehouse environment where there will be lot of of Inserts/Updates/Deletes will be happening. i would like to know what is the recommended recovery model for databases...
View ArticleMissing Index DMVs suggesting index additions that already exist????
Hi all.I have a missing index view utilising the views sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_groups and sys.dm_db_missing_index_details. I have stumbled across a suggestion from...
View ArticleSql Server login failure error: 18456 with Windows account and sa account
Hi All,I am using Win 2008 R2,SQL Server 2008R2When i try to connect to SQL Server i am getting error 18456. Previously i have installed Active Directory and immediatly i haved un installed it. After...
View ArticleReducing size of files
We have a database in SQL server 2008 that grew to 2,5GB and we try to make it smaller. We have deleted unused data and now the actual space is below 1 GB, however the data file is still 2,5GB. I have...
View ArticleConnecting to SQL2000 DB from SQL2008 Linked Server
Hi im trying to Access one Table of SQL 2000 from SQL 2008for that i have created Linked Server in SQL 2008,It is showing all the Catalaogs also,but when im trying to access using the Query it is...
View ArticleDeadlock captures: "FETCH API_CURSOR..." but not query behind it......
This article shows how to "unmask" the sql query behind a FECTH API_CUSORhttp://www.sqlskills.com/blogs/joe/hunting-down-the-origins-of-fetch-api_cursor-and-sp_cursorfetch/that is shown in a deadlock...
View Articlehow to change the default shrink size of logfile?
how to change the default shrink size of log file?when i go to shrink option its showing am option reorganize pages before releasing unused space. where i can see default size set to 220MB in one of my...
View ArticleMemory / virtual memory problem on Win2K8 server
Greetings everyone ! This kind of trouble and question. I have Windows 2008 R2 Standard server installed on VM host on 1 vCPU (4 cores), 5120MB vRAM and 600GB vHDD virtual machine. Server acts as SQL...
View Article