New Tools....

by swjohnson 11/10/2008 3:44:00 PM

I am always on the lookout for new tools and when they are free...you can't really complain!

Here are some new ones that are rather interesting so make sure and check them out!

SQL Server 2005 Express Profiler  is a free profiler for the Express Edition of SQL Server.

SQL Scripter is a data export and scripting utility for MS SQL Server.

SSMS Tool Pak  is an Add-In that gives the Management Studio some neat features such as CRUD generation and a whole host of neat little featuers that MS left out.

Sentrigo Hedgehog Standard is a free host-based software solution for real-time database monitoring, auditing and breach prevention.

Red-Gate Log Shipping Monitor is a free tool for collating and summarising SQL Server Log Shipping activity.

I also have a list of several others over at my main website so stop over there and see the full list. 

Shortcut to run a command line statement within SSMS...

by swjohnson 11/10/2008 9:41:00 AM

I have been doing a lot of data migration and disaster recovery synchronization lately and had a need to run DOS commands quite frequently.  It was a pain to switch from SSMS to the command window or prompt and then run the DOS command or even more interesting the batch files I just exported.  So I found a way to run it from within SSMS.  

Type in your command and make sure to prefix it with two exclamation points !!  Then click the SQLCMD button on the tool bar and then hit Execute (F5) and voila, it runs! 

7-Zip and Acronis Disk Director save the day...

by swjohnson 10/28/2007 5:21:00 PM

Ok, this isn't directly related to SQL Server but it did help me with moving some data around. 

Recently I inherited yet another SQL Server (2000 with no Service Paks...ouch!) and of course my first call of the day is a user saying that they heard that I took over the server and it is experiencing performance problems.  You just have to love your job some days. 

Upon doing some basic investigation, I saw the C partition was at a roomy 100MB on a good day.  Ok, we all know that isn't enough.  The D partition had about 400GB and both were on the same RAID 5 volume.  Ok, pretty simple, I will just use my Acronis Disk Director Server to resize the partitions and we are back in business. 

Ok, I am neurotic but not crazy so I wanted to make a backup. This server contained one database on the D partition that was 123GB in size.  My first thought was to stop SQL server and copy to a network share but that would take a fair chunk of time and I didn't want to take that long.  I also know that a SQL Backup would take just as long. 

My next thought was to contact the network team and have them do a Symantec's Veritas Backup Exec backup of this database but again that was going to take about 8-10 hours and we wouldn't have enough space to install the local SQL agent.   Still too much down time. 

My next thought was to install Red-Gate's SQL Backup as we use that on our other servers and get a pretty decent compression out of it for our daily backups, but unfortunately, we didn't have enough free space on the c partition.

My next thought was to detach the database and Zip it to something more manageable.  I have been an ardent user of WinZip since the very early years (DOS...remember that?) but after doing some test that was still going to take about 7-8 hours.  Better but still too long as I wanted to get to other things today. 

A few days ago, my network team raved about a new program called 7-Zip and they said it was free and really really awesome...his words not mine.  So I gave them a call and had the install in a few minutes. This baby was small (818K) so it was going to be able to install in the small space we had. 

After playing around with the application a bit, I started my compression and I choose the fastest speed to see how long it would take.  According to my estimated it would take about 4 hours to compress my 123GB database. 

I started it up and let it run.  It was crunching away and was quite impressive although the interface could use some work.  It took my 123GB database and in 3.75 hours it had a compressed file of 9.4GB.  Yes, that is not a typo.  I was floored myself.  Now I could easily copy the compressed file to the network and get on with the repartitioning.  

A few simple clicks for the Acronis Disk Director Server and we were back in business and I could really start to find out the cause of their performance problems.

SQL Internal Viewer...

by swjohnson 7/20/2007 5:14:00 PM

What are you talking about?  No, we aren't talking about looking inside the box.  But have you ever wanted to see what the internals of what SQL is doing.  Well Danny Gould did and this is a little utility he came up with to learn more about the internals and how data is physically allocated, organized and stored. 

Basically he has created a tool that takes all of the information from Shared Global Allocation Map (SGAM), Global Allocation Map (GAM), Index Allocation Map (IAM), Pages, Extents...and so on and creates a graphical depiction of your memory.   Then you can hover over that visualization and it will tell you what that section of memory is allocated to.  Then if you want you can click on it and it will open the Page Viewer which is a hex dump of the header information, data dump, offset table and row interpretation.  From there you can click again and drill down to the various elements that make up a row, including the internal structure and data values.

Check it out!  SQL Internals Viewer

More cool free tools...

by swjohnson 7/2/2007 5:13:00 PM

The good folks just south of me in Kansas City at ClearData Consulting have created a new (beta) utility called ClearTrace. 

This tool imports SQL Server 2000 and 2005 trace (and profiler) files into SQL Server and displays summary performance information.  It is designed to provide the same performance summary as Read80Trace but in a graphical environment and for SQL Server 2005.  Remember this is beta but it pretty handy!

Another tool that I just saw but haven't had a chance to try yet is SQL DMVStats by Tom Davidson.

DMVstats 1.0 is an application that can collect, analyze and report on SQL Server 2005 DMV performance data. (Microsoft SQL Server 2005 provides Dynamic Management Views (DMVs) to expose valuable information that you can use for performance analysis.) DMVstats does not support Microsoft SQL Server 2000 and earlier versions.

Main Components The three main components of DMVstats are:

  • DMV data collection
  • DMV data warehouse repository
  • Analysis and reporting.

Data collection is managed by SQL Agent jobs. The DMVstats data warehouse is called DMVstatsDB. Analysis and reporting is provided by means of Reporting Services reports.

Enjoy!

Free Tools from Idera...

by swjohnson 6/29/2007 5:11:00 PM

Idera has some free tools for the taking. 

SQLSafe Freeware Edition:  Idera’s SQLsafe Freeware Edition is free SQL Server database backup and recovery tool based on our award-winning SQLsafe product. SQLsafe Freeware Edition gives you a really high-performance backup and recovery engine, a scriptable interface (command line and XSP) and the ability to backup and compress any size and any number of databases, all for free.

SQLCheck:  SQLcheck is a free performance monitoring tool for SQL Server databases. It provides basic performance information about one SQL Server and runs as a secure screensaver or on demand.

SQLPermissions:  Idera’s SQLpermissions is a freeware tool for copying or moving logins and permissions settings across SQLservers. SQLpermissions automates the time consuming job of configuring logins and permissions on one server to match another by generating a customizable TSQL script to do this for you. SQLpermissions also offers the flexibility to move one login or a group of logins and apply permissions across all databases on the target server, or a single database.

Some new SQL tools...

by swjohnson 6/24/2007 5:11:00 PM

I don't know about you but I am always on the look out for new tools...so it was nice to see two new ones come out. 

1.  RSS Reporter from xSQL software. This is a FREE (for a limited time) utility that creates RSS feeds for your jobs.  The RSS Reported is installed on a server running IIS – any user that has credentials to connect to certain SQL Server instances and view job information can create a profile on the RSS Reporter. The profile for each user contains a list of SQL Server instances, the authentication method, necessary credentials for connecting to each instance, and basic configuration settings. RSS Reporter connects to all the SQL Server instances in the profile and automatically generates a set of predefined RSS Feeds. The user can then subscribe to and read those feeds from any connected device.

2.  Kernel Recovery for SQL by Nucleus Data Recovery.  Kernel Recovery for SQL – data recovery software recovers data from the corrupt Microsoft SQL Server 2000 and 2005. The corrupt, damaged .mdf database files are effectively repaired and data is recovered from them.

Tables, Views, triggers, stored procedures are easily recovered and the damaged unique keys, primary keys and foreign keys are also repaired by Kernel Recovery for SQL - data recovery software. The sql recovery software effectively recovers the deleted records, partly damaged records which get saved in separate batch files. The database rebuilding batch is created automatically by Kernel recovery for SQL with which the database can be easily recreated and the user can again work on it.

I haven't had a chance to play with either one but they do offer some interesting solutions to problems.


Calendar

<<  December 2008  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar