How to check the size of SQL Error Log
The task is to check if the SQL error log and SQL agent error log size reach x MB, then cycle the logs. This is done programmatically and automatically, not using SSMS or other manual methods.I know...
View ArticleRLOG.EXE: Ho to get a graph display of exported perfmon data to database...
Hi, I have the result of a Perf Mon->[Data Collector Set] in a *.blg file. When I double click on *.blg files, the perfmon viewer displays all of the data in a nice PerfMon graph viewer. When I use...
View ArticleSQL 2005 latch waits
Hi,There are latch wait errors in our Sharepoint SQL database server logs. This is a SQL 2005 SP4 server on Windows 2003 R2 SP2 (64 bit) active/passive cluster with around 32GB RAM . There are no IO...
View ArticleSQL Connection memory usage is growing steadily
Issue:SQLconnection memory usage is growing steadily (8G after only 2 days). It can keep increasing and eventually eat all allocated memory and none process can be going on.System:SQL 2008 R2 on...
View ArticleWhat is the benefits of Multiple mdf files and ldf files ?
Hi,Does any benefits for using multiple data files and log files ?Which way it is useful ?.--Thanks-- Bhavesh Thakkar Sr.Database AdministratorMy BlogLinked In Profile
View ArticleOptions to get memory consumption breakdown in sql server engine
Hi,I assigned 20 Gig of memory to my SQL server and it is taking the full amount of assigned memory.What are my options to get a breakdown of how the 20 gig is being consumed inside SQL server?Thank you
View ArticlePowershell to import csv file
Hello all,Running sql 2008 sp1New to PowerShell. Can someone please check the syntax and tell me if something doesn't look right.Trying to load a csv file into a tableThe csv file is comma delimited...
View ArticleWhat is the best practice for database file growth configuration?
Hi:With SQL 2005 and above, instant disk initialization, and SAN that has SSD (solid State disk), fast disk and slow disk, what is the best practice for database file, log file auto growth...
View ArticleWhat all database operations are logged in transaction log
I would like to know that what all operations are used to logged in transaction log?Please also suggest if any blog or white paper for this details.advance thanks!Regards Vikas Pathak
View ArticleSQL Database engine question
Hi,I have windows 2003 x64 edition. It's a two node cluster(Active-Passive), The database engine has SQL 2008 SP1. Also there is another instance of SQL Reporting services(SQL 2008 R2 version) running...
View ArticleSQLIO - Question on IOs / Sec and MBs/sec
I am experienceing an issue with performance while creating database Also , I was testing the performance using SQLIO ( not at the same time of creating the database ).I checked against d: ( one of the...
View ArticleSQL SMS Database Engine
Hi,I just completed an installation of MS SQL 2012 on my PC. But I keep getting errors (i.e.testing the registered server failed. Verify the server name, login credentials, and the database) when I try...
View ArticleJob taking more time on two different servers with same specs
Hi I have restored my production database on another machine with same specification. when i ran a job on both machine . the duration of execution of job is significantly different.what could be the...
View ArticleCreating Clustered Index on Integer or Varchar columns, which is better...
Hi, Some one ask me the question Creating Clustered Index on Integer or Varchar columns, which is better performance?E.g I have a tableEmployeeEmployeeID varchar(10)Phone bigintName...
View ArticleDrop partition
In sqlserver 2005, If i have partitioned my table based on date for each month, how do I drop partitions having data older than 3 months. This is to do the archiving the old data as we don't want old...
View ArticleOracle long raw data in an oracle view were truncated when I select the view...
Hi,my issue was very strange. our SQL 2005 server needs to retrieve some data from an Oracle table, the oracle table contains a long raw datatype column. I created a linked server, run "select"...
View ArticleDBCC query in production server
Hi All,Let me know how can i check integrity of DB which is more than 500 GB size.Thanks
View Articlecannot connect to sql server
hey guys,I tried to move my model system database location to another disk in my local machine by using ALTER command and i was successful in doing so,after doing this i restarted my services andtried...
View ArticleDatabase mirroring connection error 4 'An error occurred while receiving...
We are running SQL Server 2008 R2 RTM database mirror high performance mode without the witness. We recently had several disconnections between the primary and the mirror. Each time lasted less than 1...
View Articlesqlagent service startup timeout
Hello,We're using SQL enterprise 2000 sp3 with windows server 2003 sp1 and sometimes when we reboot this server, sqlagent service cannot startup(30s timeout) but no any error state out(from sqlserver...
View Article