Restore performance... backup 5 mins v/s restore 25 mins.
Hello,Is there guideline on how much time should it take to restore X amount of data. I have a database that take less than 5 minutes to backup (total time for all the required filegroups).The restore...
View ArticleREPLACE TEXT IN STORE PROCEDURE
I need to replace a text in my 420 procedures, some of them are long, and I do not want to replace the code of procedure is seen as a single line ..
View Articlesame command, very different durations
If two runs of the same command have very different durations, wouldn't you expect very different logical reads?----OK, the first question is why two runs of the same command should be different at...
View ArticleLog file shrunking
Hi All,This is a urgent request. we have sqlserver 2000 its old database. the log and data files filled the drive completely. what is the possible way .Should i shrunk the log file and what are the...
View ArticleSQL Server 2012: SQL Server Import and Export Wizard-(1) How can I find out...
Hi all,I never used the regular Microsoft SQL Server before. My computer Team just installed the Microsoft SQL Server 2012 in my "Windows 7" PC that is part of our "Windows" network LAN system. I...
View Articlewakslhwn.ldf. Verify that the file exists and that you can access it.
Hello,I am trying to install SQL Server 2008 R2 but I am getting an error:TITLE: Microsoft SQL Server 2008 R2 Setup ------------------------------ The following error has occurred: Source file not...
View ArticleWhere Backup Failed history get stored in system databases??
Is there any tables in msdb db or in other system db where backup failed history get logged except error log.I am using SQL Server 2008 R2.
View ArticleSQL Server 2012 Express: Azure storage-Can this 2012 Express do Windows Azure...
Hi all,I just saw "Azure Storage" in the "Connect" tag of SQL Server 2012 Express. Can this SQL Server 2012 Express do Windows Azure/Cloud Computing? I am very curious about this new, powerful IT...
View Articlesql full text search shows up on blocked process report
Ran the following SQL full text search on one of our larger repos.Select F.[KEY] AS KEYWORD, F.[RANK] AS KEYRANK FROM CONTAINSTABLE(O2545, FileText, @FileText, 50) F50 rows returned in two minutes 38...
View ArticleTrigger 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 Articlerenaming a system object
hi all,i have a user table that has been promoted to a system table a while back. In the property, I see that the table System Object = True.I tried looking for a way to revert this table back to a...
View ArticleGetting Started with SQL Server 2012 Express LocalDB: SQL Server installation...
Hi all,Yesterday, our Computer Team ran x64/SqlLocalDB.MSI to install SQL Server 2012 Express LocalDB in my C://Program Files/Microsoft SQL Server/110/LocalDB/Binn/ for me. This morning, I clicked on...
View ArticleSQL Portuguese Desktop Application on Polish Windows 7 Professional
Hi, I have a problem with one application in Portuguese installed on a Polish Windows 7 Professional. When I select any table, the fields doesn’t show up with the correct codepage. The database has the...
View ArticleHow to find current statement start time.
If a batch which consists of multiple statements is being executed I can find out the start time for the batch from exec_requests (SELECT start_time FROM sys.dm_exec_requests WHERE session_id = @SPID)...
View Article"resource_address" column in sys.dm_os_waiting_tasks. How to identify the...
Gents, Running SQL Server 2005 and identified a significant of WAITS on a latch (LATCH_EX).I'm trying to identify on which "resource" exactly the latch is being held. The [resource_description] only...
View ArticleJobs logged in the "Job Activity Monitor" but not in the "View History"
SQL Server 2005 Enterprise Ed,Hi guys,I have the following issue:There are some jobs running successfully. The execution is reported in the "Job Activity Monitor" highlighting the "Last execution" and...
View ArticleSQL Scrip to recreate a Database
I have a database that has grown to 200GB (due to many drop/create table statements, many delete/append data queries, etc.). Is there a way that I can create a script to recreate the database as a new...
View ArticleFull Text Search Populate Status - Processing notifications
Hi,I have a databse which is full text enabled. The SQL version is 2008 R2. There is one table in the database and that table has a varbinary(max) field which is full text indexed. The database size is...
View ArticleLogging in SQL server Logs.
In one of our production environment, we have observed applicaiton timing out. these time outs occur between 6:30 AM to 7:00 AM. As a result, server restart has to be done. Before restart, the resource...
View Articlewhy does PLE ever go down when we still have untouched RAM?
We upgraded the server last weekend from 12gb to 32gb.Part of the reason was low PLE numbers.So now the target pages number has gone up - but only to about 10gb. Well OK, maybe we have more RAM than...
View Article