Log file almost full!
Gurus,I have a transaction long and the log file is almost full! (95%). The DB is in simple recovery. I tried to shrink the log file and it does not get down. Any ideas apart from adding more disk...
View ArticlePerformance issue removing NDF files
I inherited some databases where the previous DBA added 1GB data files when space was needed. I decided to remove files from one of the databases. There was over 50 data files and most were 1GB. I...
View ArticleData Buffers and VMware
I have virtualized a bare metal db machine. The vm host is esxi 5.5. The disk subsystem, as it pertains to sql, on vmware is much faster than bare metal. However, cashed operation is taking much...
View ArticlePerfmon clarification
Hi,I have a server with 48 cores and im trying to captue the current usage of cpu for sql server through Perfmon. Im also taking the total cpu usage by system. In comparing both im seeing the total...
View Articlepc bogs down when running longer, more voluminous queries
Hi we run 2012 enterprise.I'm noticing that when running longer and higher column count queries locally, other parts of my computer (os w7 professional, 64 bit, 8gb) start getting sluggish. I started...
View ArticleUnable to run PowerShell script from Agent Job
I am having a very difficult time doing something that seems very simple. I have created a powershell script that simply moves the backup files in the default SQL backup directory to a different...
View ArticleThe time has come! Step up SS DBE Gurus! Your community needs heroes like you!
TechNet Gurus... we salute you!You're awesome, and we know it!Your knowledge uploads and nifty info nuggets are our life blood at TechNet Wiki.Every awesome article that gets an award is just the...
View Articlesys.dm_db_index_physical_stats
sys.dm_db_index_physical_stats has some modes. limited, sampled, detailedwhen using limited , some information are null in the result. using sampled and detailed all results come out.I found in...
View ArticleSQL Server has encountered 7666 occurrence(s) of I/O requests taking longer...
Any help on below error:SQL Server has encountered 7666 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [T:\DATA\tempdb.mdf] in database [tempdb] (2). The OS file handle...
View ArticleGhost Records
Hi Experts,What's the main reason behind Ghost Cleanup Task.Have gone through Paul Randal series.1) In index case, when we delete records they are ghosted up.but in case of Heap, we have to specify...
View ArticleImport data from excel 2003 that contains images
Hi,I want to import data from excel file to SQL Server, the excel file contains a column that contains image. when I finished importing I found its column is null. I did a lot of search and figured out...
View ArticleTemp tables and transaction log
Hi All,I am on SQL 2000.When I am inserting(or updating or deleting) data to/from temp tables (i.e. # tables), is transaction log created for those DML operations?The process is, we have a huge input...
View ArticleStored Procedure Last Execution
Hi,Is there a way to tell when a Stored Procedure was last executed in SQL Server 2005?I saw a dmv that lists only the procedures that are in cache, but I wonder if is there a way to track all the...
View Articlesql server database backup
I am newer to sql server.so can u help me how to backup and restore SQLServer databases using ssms in sql server 2012
View ArticleCan I restore a database on a development server but leave the existing...
So I want to periodically refresh a development server with the backups from a production server for multiple databases. I can grab the backup file(s) from disk, copy them down and perform the restore...
View ArticleBackup issue with change tracking future on
Hi,I found that lot off people has this backup issue with change tracking future on. We applied Microsoft fix but error still remains. We get messages:Failed to flush the commit table to disk in dbid 5...
View ArticleError when running Openrowset
Hi guys,I'm trying to run this query on my machine remotely accessing our database using ssms. My laptop is 64 bit."select * from OpenRowset('Microsoft.Jet.OLEDB.4.0','Excel 8.0;...
View Article'Could not allocate space for object 'dbo.SORT temporary run storage'
Hello all,I’m trying to transfer/transform some data from one table to another, both on the same database. The source table holds 92M records.To do so I'm using the next statement: INSERT INTO...
View ArticleI want to get the table name and database name in which these indexes exist...
I have the object id of indexes which needs to rebuild organize.I want to get the table name and database name in which these indexes existThanks
View ArticleMaintenance Plan task loging
Hi all. I am creating a maintenance plan which may have mixture of T-SQL task and build-in task like reorg, rebuild tasks...I would like to log each task output to seperate files. Is it possible to do...
View Article