Rebuilding/Reorganize indexes based on avg_fragmentation_in_percent right...
On weekly basis I rebuild all indexes of a database. Due the continuously grow of the database size the duration of the rebuild operations exceeds the available maintenance window of 5 hours.Therefore...
View ArticleProblem attaching a database
Hello, I have made a database in SQL Server 2005 Developer edition. I tried to attach it to a SQL Server 2005 Express Edition but I coundn't. I can attach and dettach it to the developer edition...
View ArticleFullscans / second reaches "critcial" state according to 3rd party monitoring...
We have a third party monitoring tool that claims our production sql server has reached a "critical" number of full scans\sec. Assuming this is true how can I determine what database(s)\table(s) are...
View Articleupdate performance
i am trying to update 300, 000 records using a join and a condition, it takes around 11 min, the time is too lons, i want it to be in seconds,the schema of two tbles is given below:pat hospid...
View ArticleJust how well does SQL Server use a three-field clustered PK?
We have a little utility table, "little" with about 100k rows, that has a PK with three fields, then half a dozen other fields. This morning at 4AM two ETL jobs managed to deadlock over it. We can't...
View ArticleReORG causing Transaction log grow in simple mode
sql server 2008 R2 , sp1, 64 bit enterprise edition.My database is in simple recovery model.It is a publisher.While running reorg on a big table , transaction log grows big . When I checked...
View Articlethe TEMPDB properties in the "Files" option show the "Initial Size (MB)" as...
Also, when I look on the file system, the tempdb mdf file is 27GB.... So why is the files option showing 8MB????Also, this query says it is 8MB as well, but on the file system it shows up as 27GB? We...
View ArticleSQL Dump File Help Needed
Hi All,I need some help identifying the issue with this query I'm running, whenever I run a particular query using the below optimize for statement, it generate the error below and a dump file(OPTIMIZE...
View Articlesys.dm_db_missing_index_details does not contain indexes recommended by the...
Sometimes a user will complain about their query performance to which I'll copy the query to SSMS and then run the Estimated Execution Plan feature to see what the Optimizer is doing. Occasionally the...
View ArticleTPC-E test on SQL Server 2012 high runnable task count
I know I probably shouldn’t be replying to this old thread, but I’m crossing my fingers that Jonathan Kehayias will see activity on this old thread and respond…I’m using Quest Benchmark Factory to run...
View ArticleEvent ID: 17055 - Source: MSSQLSERVER
I have a SQL 2000 server that recently began throwing the message below in the Event Log at every transaction or full backup event: The description for Event ID ( 17055 ) in Source ( MSSQLSERVER )...
View Articlesysft_FTCatalog shows offline, even there is no full text indexes on tables
Hi,Recently one of database server was restored from entire system restore (disk backups) after crash. All database were was restored by attach and reattach methods by vendors. After this we are able...
View Articlecontent
Hi all,what content contain the ldf in sql server?what content contain clustered index in sql server?
View ArticleSYS processes, sql_handle, stmt, stmt_start,stmt_end
Hi ALLAre there any method to have processes, sql_handle, stmt_start,stmt_end and the real tsql in the same table?
View ArticleIndex fragmentation and index page usage
In the posthttp://social.technet.microsoft.com/Forums/en-US/149142c3-0f49-4e7d-9281-dc1767b3e87e/sptvalues-3rd-party-sql-monitor-and-index-fragmentationit was suggested that index fragmentation on user...
View ArticleSQL Server limits rows added to a table
Hi,I need to append over 50 million rows to a table in a database. Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows. There is no error raised. We have to manually...
View ArticleSQL Server DB datafile shrinking has failed?
Hi All,I have shrinked DB datafile like wise use siteshare3appindusGoDbcc shrinkfile(siteshare3appindus2,10169)GoBut it has failed It has given the following error .could not adjust the space...
View ArticleRename SA account
Hi All, I am sure many would have needed to do this (DISABLE/RENAME SA as per some audit requirement) By default, all system DBs are owned by SA. I am going to rename the SA account. After this, I know...
View ArticleSQL Error: Event ID 17052 - SQL Agent terminated unexpectedly and restarted...
Hi,We have a problem on our SQL 2005 Server. It is a Std Ed. (9.00.3068.00). It is running on Windows Server 2003 R2 w/SP2 in a Workgroup (Not part of a domain).It happened four times in the last one...
View ArticleAcceptable PageIO latch waits
Here is what I am showing for pageiolatch waits I was just wondering if there are guidelines around what is acceptable. I do know that memory contention is not an issue. Any help is...
View Article