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

PowerShell Usage in DBA Work – Case Study 7/7

Reading/scanning SQL Server Logs is a required DBA work item in all my work environments. I know there are lots different ways, mostly are using undocumented xp_readerrorlog or sp_readerrorlog.   Even in PS way, this xp_readerrorlog is wrapped as a sql command in the PS script. Actually, with PS and Regular… Read more

1 comments, 1,692 reads

Posted in DBA Philosophy on 24 March 2013

PowerShell Usage in DBA Work – Case Study 6/7

SQL Server SMO is a great resource for DBAs, unfortunately, before PowerShell, it is a pretty deep learning curve to get familiar with SMO. The beautify of PS is its own discovery capacity. This is best described in the Keith Hill’s free ebook (http://rkeithhill.wordpress.com/2009/03/08/effective-windows-powershell-the-free-ebook/). So in short, we… Read more

0 comments, 1,840 reads

Posted in DBA Philosophy on 23 March 2013

PowerShell Usage in DBA Work – Case Study 5/7

One challenge in a super-multiple server (say a few hundred servers) environment is to know what sql services (SSRS/SSAS/SSIS/Engine/Agent etc) are installed and what their versions and the startup accounts are.

Case Scenario: (SQL Service Inventory)

We are managing hundreds of physical servers in our environment, most of the servers… Read more

0 comments, 716 reads

Posted in DBA Philosophy on 20 March 2013

PowerShell Usage in DBA Work — Case Study 4/7

One common surprise I have encountered in almost all my DBA environments is that a sql job that usually runs <x> minutes, sometimes can take <2x> minutes or even more time to finish.

Case Scenario: (Monitor / alert long running sql jobs)

We have hundreds of sql instances supporting many… Read more

0 comments, 645 reads

Posted in DBA Philosophy on 17 March 2013

PowerShell Usage in DBA Work — Case Study 3/7

As a DBA, sometimes we may need to demonstrate to some stakeholders when a sql server instance was last rebooted, i.e, just to prove the sql instance weekly/monthly availability . I know there are quite a few blogs / posts online talking about how to do this check, such as… Read more

1 comments, 838 reads

Posted in DBA Philosophy on 14 March 2013

PowerShell Usage in DBA Work — Case Study 2 / 7

 

As a DBA in a complex environment, we frequently need to backup various environment information. One of the backups is to script out the configurations / objects, for example, scripting out replication,  jobs, policies and policy conditions etc. Almost all of these scripting work can be done via SSMS,… Read more

1 comments, 798 reads

Posted in DBA Philosophy on 10 March 2013

PowerShell Usage In DBA Work — Case Study 1 / 7

 

I have been blogged non-technical topics for too long and it is time for me to return to my favourite technical topics now.

I plan to write seven real-world cases where I feel PowerShell solution is much more efficient than pure T-SQL one, hopefully these cases can stir some… Read more

0 comments, 749 reads

Posted in DBA Philosophy on 6 March 2013

Where Should Database Administration Go?

 

For the past 5 or 6 years, we have seen lots of innovative products emerged, from smartphone to tablets, from social media to cloud computing. However, I am somehow disappointed with Microsoft for its innovation speed on database administration front. Actually since SQL Server Management Studio (SSMS) was introduced… Read more

0 comments, 473 reads

Posted in DBA Philosophy on 4 February 2013

DBA Work Accounting

 

One thing lots of DBA teams, esp. the DBA managers, feel uncomfortable is that it is difficult to quantify/log DBA’s workload and as such it is hard to argue to the upper management for more justified budget and human resources. In worst scenario, this will cause the burn-out and…

Read more

1 comments, 1,093 reads

Posted in DBA Philosophy on 22 October 2012

Why I dislike Third Party Database Monitoring Tools

I have to admit I am not a fan of the various 3rd party monitoring tools (after using a few of them in the past 10 years) mostly because of the following two reasons:

1. Lack of operation productivity. What I see from various products is just a common pattern:… Read more

6 comments, 1,095 reads

Posted in DBA Philosophy on 17 September 2012

When Can You Be Considered As A Senior DBA

 

As a DBA, when can you consider yourself as a senior DBA?

If you read online posts, you will find most of the time, a senior DBA is judged by “Do you know this and do you know that?” approach, which to me is subjective and may cause more…

Read more

0 comments, 2,022 reads

Posted in DBA Philosophy on 27 August 2012

Improve DBA Operation Productivity – Part Two

As a DBA, we have to take various actions based on huge amount of information received. In one perspective, our productivity is limited by our capability bandwidth to process the information received. However, if this information is frequently “polluted or even poisoned”, our productivity is surely compromised.

I define “polluted… Read more

0 comments, 1,076 reads

Posted in DBA Philosophy on 31 July 2012

Improve DBA Operation Productivity – Part One

 

I define DBA operation productivity as the total positive values brought to the work environment by a DBA in a unit of time.

How to improve productivity is really a big topic, but every big task can /should start from the small things. So here I’d like to discuss… Read more

0 comments, 732 reads

Posted in DBA Philosophy on 24 July 2012

Inspirational Database Administration Requirements

 

Just as a society’s civilization is mostly nurtured by its culture, I believe that DBA work quality is mostly determined by the requirements from management. I had been fortunate to work with a few excellent managers in the past and benefited a lot from their requirements. I’ll share some… Read more

1 comments, 609 reads

Posted in DBA Philosophy on 23 June 2012

“Green” Database Administration

For the past few years, I have seen tens of sql server boxes added in my work environment every year, meaning more complexity and overhead cost in database administration, I gradually come to a “green” design principle with two points.

1. designing administration framework with a “footprint” as small as… Read more

3 comments, 3,866 reads

Posted in DBA Philosophy on 4 June 2012

Investment for DBA Career

As IT professionals, we all will consider and take actions, at some point of time, to “invest” in our careers. So after I read the following interesting article a while ago, “8 Ideal Jobs for M.B.A Grads”, I think it is a good topic for a blog.

In the… Read more

0 comments, 749 reads

Posted in DBA Philosophy on 2 June 2012

DBA Team Structure – Thoughts From Real Life

I once talked about the DBA team building about 3 years ago, now when I look back, I still believe my original idea is a good start, however, I feel it is not enough, so I’d like to explore some other areas for DBA team building, that is how to… Read more

0 comments, 1,548 reads

Posted in DBA Philosophy on 20 November 2011

Find the largest tables in a database (II)

I once wrote a post to find the largest tables in a database, and now after studying PowerShell, I feel it can be written in a more concise and efficient way.

The following script is to find the largest 3 tables in row count in AdventureWorks

$srv = Get-SQLServer –sqlserver… Read more

0 comments, 1,151 reads

Posted in DBA Philosophy on 18 September 2011

Job Exit Planning Strategy

I feel somehow sad today (Aug 31, 2011) to see one of my colleagues “laid-off”. I put quotation mark around “laid-off” because he is a contractor (same as myself), so it is not, strictly speaking, the real laid-off, however, this “laid-off” was a bit unexpected as the project we are… Read more

5 comments, 1,243 reads

Posted in DBA Philosophy on 1 September 2011

Thoughts on DBA Professional Development

As a DBA, we have a lot to work on and also we have a lot to learn about. The asset that makes us as a DBA is our professional knowledge and skills, and as such, from time to time, we need to review our knowledge/skill portfolio and how we… Read more

4 comments, 989 reads

Posted in DBA Philosophy on 20 August 2011

Newer posts

Older posts