June 2007 - Posts

Technology is just amazing

Sometimes we get caught up in the technology we work with everyday and miss other amazing things that technology can do.

I just completed an Art class called 2-D Computer Imaging, where we learned Adobe Photoshop to create art. Our first project was to take a master painting and insert our own picture in place of the main subject, and insert additional items that are representative of ourselves, but to do so in a way that makes it appear to have been done by the original artist. I love the Impressionists, and used Paul Cezanne's Boy with Skull as my source painting.


Cezanne's Boy with Skull


After many hours of work I achieved the result.


Cezanne's Boy with Skull


I know it's not SQL Server specific, but this tool is really amazing!

Allen

Tech Ed 2007 - Thursday Highlights

Thursday was mostly a chalk-talk day. This isn't a bad thing because the chalk-talks are not recorded but the sessions are. Greg Low did a great session on SQLCLR for the DBA with some updated material from last year's presentation. After that I attended Michael Rys' session on Spatial data for SQL2008. They've implemented a system-defined UDT called Geometry, into which a variety of different sub-types can be loaded. By defining queries that compare one polygon with another and returning whether or not they intersect you can return specific data to your application. It's a new area for me and because I'm a map junkie I think it's interesting. I'll be watching this space in the future.

The next session was on Custom Reports in SQL Server Management Studio, presented by Paul Mestemaker. With the restriction that they can only be run from a client that is on SQL2005 SP2 or greater, and against a server and database running SQL2005 SP2 or greater, and the database has to be in 90 compatibility mode, and the report can have no sub reports, you can run most any report created in Reporting Services. It's not likely you'd want to run application reports from SSMS anyway, so having the ability to create your own reports to monitor your servers is very cool.

Bob Beauchemin presented an interesting session on tracking SQL Server through DDL triggers, event notifications and WMI events. I'm going to be spending a bunch of time in Books Online for this because I'd much rather have SQL Server tell me there's a problem than to have to go poking around to find one.

Lara Rubbelke delevered the last session of the day on High Performance Data Encryption, an area I still struggle with. I learned some neat techniques for finding encrypted data quickly, which can be useful in loss prevention scenarios, where you're watching patterns of behavior with sensitive data.

The Islands of Adventure party was wet (at least at the beginning) but fun. It nicely capped a great week at Tech Ed.

Allen

Tech Ed 2007 - Wednesday Highlights

Wednesday was a very long day, but a good one.

Al Comeau of Microsoft presented a session on security best practices in SQL Server. Most everything he mentioned I already knew, but it's a really nice checklist to have handy for setting up new servers.

Dan Jones' session on SQL Server 2008 Managability Overview provided a look at the new policy-based method for managing not just one server at a time, but groups of servers. This to me is really exciting, because it's the first time we'll have tools to manage servers the way we're expected to by our companies. You establish categories of servers, financial, web, manufacturing, etc. and define a set of server properties that are appropriate for each category. Then, when you're deploying servers, you define which category the server falls under and it is installed with that set of properties. When databases are created and are accessed, the ways they're used must comply with the rules set up for that category of servers. Another feature coming with Katmai is the automatic collection of performance statistics - it will be interesting to play with this feature to see how they capture and more importantly, how they use this information.

After lunch I attended a session on how Microsoft IT manages its databases. They already have an automation tool for their backup and maintenance strategy like I built (and described in my series of Simple-Talk articles), and that felt good. They use MOM (and now SCOM) for monitoring performance metrics.

A side note - during the afternoon, starting with the IT presentation, a severe thunderstorm came through Orlando, and the rain on the roof of the convention center was so strong it was hard to hear the presenters. Wow.

The next session was a chalk-talk on T-SQL enhancements in Katmai. There are new data types, including Date (yes, just date), Time, DateTimeOffset (for time zone management) and DateTime2 which can track a date/time value down to 100 nanoseconds. I got to this session a bit late and had to sit on the concrete floor, which made things "interesting" trying to get back up after an hour or so, but I made room next to me for Itzik Ben-Gan. Itzik's questions during the presentation were as much fun as the presentation. The new MERGE statement will be a nice feature to have in T-SQL, and will save a lot of code down the road.

The last presentation of the day was back with Kimberly Tripp with another demo fest, this time for disaster recovery, and I got to see how to get a table partitioned in place with the application still running. This was pretty amazing and I will be trying it in my test lab as soon as I get home.

The Microsoft Influencer party was held at Margaritaville, near Universal Studios. Because of the rain, and the long walk to get to the restaurant, I was soaking wet when I arrived. After getting some food (and a margarita, of course) we found a place to sit and eat. By the time we finished eating it seemed like the place was clearing out. I'm not sure if the weather kept attendance down, but I'm guessing that was a large part of it.

Time to go - another big day Thursday.

Allen

Tech Ed 2007 - Tuesday Highlights

LINQ is a new framework built into Visual Studio 2008 for standardizing data access in the development environment. I attended a session on Tuesday showing how straightforward it was. I'd been apprehensive about it for some time because, hey, I'm a database guy, ya know. I'm very impressed, and if it makes building better apps easier I'm all for it.

The Kimberly Tripp demo fest was fun, but I'd seen most of the demos in the pre-conference sessions on Sunday. The discussion of mirroring a database from a clustered server to a non-clustered mirror was good, though, because there's one problem that can be easily overlooked. If the primary server in the cluster fails, the cluster group moves to the secondary physical server, which has to go through standard SQL Server startup procedures. This can take 60-90 seconds easily, perhaps more. Meanwhile, the mirror and the witness servers don't see the primary (because it's busy failing over in the cluster). They make quorum and bring the mirror up as the principal database in the mirror, because their threshold is maybe 10 seconds. Now, the clustered server is back up on its secondary hardware and tries to come back up as the principal, but can't. The original mirror is now the principal database for the mirror set, and the database in the cluster is now the mirror. This may not be what you want to have happen.

I also attended a session (actually a chalk-talk) on the new Change Data Capture feature in SQL Server 2008. This is very cool stuff, and I was expecting it to be used primarily for auditing changes to critical data, but the team presenting the subject discussed how to use that change data to easily (and quickly) keep data warehouse data up to date, because only the changes to the source data are in the captured data. Very cool.

My last session (another chalk-talk) was with Paul Randle and Kimberly Tripp, in a Q&A session on VLDB maintenance. I'm still trying to get a handle on managing a few databases I have, one in particular that's over 130GB.

The evening was spent discovering a wonderful brewery (Orlando Brewing) in a warehouse area of Orlando, followed by dinner at a barbeque joint. Fun.

Allen

Tech Ed 2007 - Monday Highlights

Yesterday I attended a pre-conference session with Kimberly Tripp and Bob Beauchemin on High Availability solutions for SQL Server. It was a great session (how could it NOT be?) and I learned about some options I have on a VLDB application I have that will help me manage a table that's about 90GB.

Today's keynote was entertaining, with Christofer Lloyd coming out with the DeLorean from the Back to the Future series. The presentation was informative, if a bit rushed. It looks like Windows Server 2008 will have some great scalability features that will be useful in our environment.

Gert Drapers presented a session on Data Dude, and it helped me figure out how to solve a vendor software upgrade problem I've got, so I'm looking forward to getting back to take care of that problem. I attended Itzik Ben-Gan's presentation on Inside T-SQL. What that man can do with Transact-SQL never ceases to amaze me!

The highlight of the day was David Campbell and the SQL Server team presenting the overview session on SQL Server 2008 (Katmai). The new datatypes that allow you to intelligently store location data could have immediate impact on my company's trade-show attendee tracking, if we chose to implement it. I can see pricing booth space based on actual attendee visit data, collected via RFID tags on their badges. How cool is that?

Fernando Guerrero and I had an interesting conversation about how Solid Quality Learning has been growing, and the direction they're headed in the future. I wish them all the success in the world, and they deserve it.

Bob Beauchemin presented a chalk-talk on PowerShell and SMO, which I found interesting as well. Bob approaches SMO from a programmer's perspective, while I view it from an administrator's perspective. We had a good conversation about that after the talk.

I also met with Tony Davis of Simple-Talk.com and got my Author's shirt, and a very nice pen! Very cool. I'm really looking forward to joining him and a few others for a beer downtown Orlando tomorrow night.

You know, it's the people that I've met (and continue to meet) at TechEd as much as the technical content that make it worthwhile coming here each year.

Allen