Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

A curious case of a missing configuration group.

G’day,

I recently received a brand new windows 7 virtual machine for my every day work use and one of the first things that I did was install SQL SERVER 2008 developer edition on it.

As I’d expect, this was a pretty straight forward task and before long I had… Read more

2 comments, 476 reads

Posted in measure twice, cut once. on 12 May 2011

Catalog view or compatibility view?

G’day,

The recommended way to access SQL SERVER metadata is through the catalog views.

The challenge is to be able to distinguish between the catalog views and the compatibility views, because we always want to use the catalog views rather that the compatibility views.

The compatibility views basically… Read more

0 comments, 745 reads

Posted in measure twice, cut once. on 8 May 2011

Certifications – and a survey.

G’day,

There’s a lot of mixed opinions around about certifications.

Are they worth while, do they mean anything, do employers value them and the like.

I’m personally in the “certifications are definatly” worth while camp. For a few reasons,

  • Certifications test my knowledge to a certain standard and give me…

Read more

2 comments, 265 reads

Posted in measure twice, cut once. on 5 May 2011

How do you create or update stored procedures.

G’day,

Running object creation scripts into other environments is a big part of most DBA’s work – especially when a new system is being built in an agile manner. Stored procedures get created and altered all the time.

Very often I used to see code like this

IF EXISTS
(…

Read more

5 comments, 1,680 reads

Posted in measure twice, cut once. on 4 May 2011

Meme Monday – “I got 99 problems but a disk ain’t one”

G’day,

Apparently “Meme Monday” was started by Thomas Larock (Blog | Twitter) , as a way for getting people writing. I haven’t been tagged or anything, I just thought that I’d gate crash the party. It was also Tuesday (here in New Zealand), when I seen this weeks… Read more

1 comments, 216 reads

Posted in measure twice, cut once. on 2 May 2011

Checkpoints and the Lazy writer

Hi,

Both the lazy writer process and a checkpoint both push in-memory pages out to disk, however that’s where the similarity ends.

The reason that I’m blogging about that is because I can completely understand how people can confuse these two events – however they are totally different. This post… Read more

3 comments, 2,064 reads

Posted in measure twice, cut once. on 2 May 2011

DBA relationships – The data custodian

G’day,

As DBA’s, we all know how to manage security, some are more advanced that others but ensuring that the right people have the right access to the right information is an extremely large part of our jobs – at least it is for me any way.

I’m pretty sure…

Read more

0 comments, 612 reads

Posted in measure twice, cut once. on 28 April 2011

Connection strings and application name

G’day,

There are many things that developers and DBA’s can do to help their relationships run smoothly, most of them are relatively simply things – as this tip is today.

DBA’s often have to track down problems – often performance related – and they tend to use profiler for… Read more

0 comments, 567 reads

Posted in measure twice, cut once. on 27 April 2011

The developer / DBA relationship.

G’day,

A large part of my job involves liaising with developers. I spent the first 8 years of my IT career working as a developer before moving into database administration in 2008. Consequently,  I find this relationship to be one of the easier aspects of my job to manage  -… Read more

9 comments, 1,421 reads

Posted in measure twice, cut once. on 27 April 2011

A small facet of information

G’day,

I’ve blogged about facets before, but I just thought that I’d mention them again, as they came in quite handy today.

I was looking to change the default backup directory of my SQL instance.

Usually, I’d just change the value by editing the registry, either manually or with a… Read more

1 comments, 125 reads

Posted in measure twice, cut once. on 24 April 2011

PowerShell Tip – Custom windows for different tasks.

G’day

There seems to be a lot of articles around at the moment concerning the use of PowerShell.

I think this is great and I’m currently attempting to write a Powershell script for all of the activities that I perform daily on my databases.

However, anybody who has more than… Read more

1 comments, 345 reads

Posted in measure twice, cut once. on 22 April 2011

DBCC TraceOn – some processes are global.

Hi,

I was recently doing some testing as I thought that I’d experiment with the ghost clean up process.

I found that I needed to enable Trace Flag 661 to disable this process.
So off I went and ran the following code

DBCC TRACEON(661);
GO

I then stated inserting records… Read more

1 comments, 693 reads

Posted in measure twice, cut once. on 13 April 2011

So, what’s this heap thing?

G’day,

I’ve been asked a few times lately to explain what a heap is.

I’m quite happy to do this, but I generally inquire of the person who posed the question, what exactly they think a heap is.

It’s at this point that I seem to mostly get one of… Read more

10 comments, 636 reads

Posted in measure twice, cut once. on 10 April 2011

This appears to be a system procedure..but it isn’t!

G’day,

Recently, I was browsing through my database server when suddenly under the “System Stored Procedures” folder of the master database I seen a stored procedure that I knew had been written at my workplace. I knew this stored procedure never shipped with SQL SERVER 2008 and had not been… Read more

2 comments, 107 reads

Posted in measure twice, cut once. on 5 April 2011

View system object definitions

G’day,

You’ve probably all noticed that when you right click on a user database object in SSMS object explorer that you get a context menu. One of the options in that context menu gives us the ability to script the object out.

However, try the same thing on an object… Read more

0 comments, 238 reads

Posted in measure twice, cut once. on 3 April 2011

If you fire that trigger, make sure you have the correct ID

G’day,

I think it would be a fair bet to say that we’ve all used the @@IDENTITY function. It returns the last identity value that was generated by the statement – that’s what books online says.

Note that that statement says absolutely nothing about scope.

Generally, the scope will not… Read more

0 comments, 194 reads

Posted in measure twice, cut once. on 2 April 2011

Cluster failover – what’s the best way to get notified?

G’day,

I look after several clustered instances of SQL SERVER. One of the tasks that I do every morning is to check if any of those instances have failed over to a new node. I would prefer to have this monitored automatically, and that’s what this post is about –… Read more

2 comments, 584 reads

Posted in measure twice, cut once. on 27 March 2011

So you’re RAIDed, but are you protected?

G’day,

Occasionally, I hear things that surprise me. And one of the statements that I’ve heard lately that fits into that category is that if your database files are on a RAID volume that you don’t need backups.

Really!!!

Well, we hopefully all know what RAID stands for – Redundant… Read more

0 comments, 56 reads

Posted in measure twice, cut once. on 24 March 2011

Primary Keys – why accept the defaults.

G’day,

When I design a table in SQL SERVER, I like to have a reasonable understanding of how the table will be used so that I can implement good indexes up front – rather than waiting until production to performance tune.

Some of those choices will be

  • Where to place…

Read more

7 comments, 668 reads

Posted in measure twice, cut once. on 19 March 2011

Disaster Recovery Exposure - Part Two

 In part one, I gave a general overview of some of the things that may affect IT services in the event of a natural disaster, specifically an earthquake.

In this article I will look at how priorities may change and the speed at which they will change and…

Read more

1 comments, 78 reads

Posted in measure twice, cut once. on 15 March 2011

Newer posts

Older posts