dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Senior DBA Interview Questions - sqlserver-server

This is a discussion on Senior DBA Interview Questions - sqlserver-server ; I have to give a Senior SQL Server DBA interview next week. I would like to obtain a list of Senior SQL Server DBA questions. Thanks,...


Home > Database Forum > Microsoft SQL Server > sqlserver-server > Senior DBA Interview Questions

Reply

 

LinkBack (2) Thread Tools Display Modes
  #1  
Old 01-16-2008, 04:49 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Senior DBA Interview Questions


I have to give a Senior SQL Server DBA interview next week. I would like to
obtain a list of Senior SQL Server DBA questions.

Thanks,
Reply With Quote
  #2  
Old 01-16-2008, 06:26 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

x"Joe K." wrote in message
news:BAE930ED-C333-4182-BD13-4EEC6FCBEAD3@microsoft.com...
>
> I have to give a Senior SQL Server DBA interview next week. I would like
> to
> obtain a list of Senior SQL Server DBA questions.
>
> Thanks,


"Why should you not put a clustered index on your Identity column?"

(this should generate a good discussion since it's not an absolute answer.)


--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html


Reply With Quote
  #3  
Old 01-16-2008, 06:59 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

And then later in the interview ask:

"Why should you put a clustered index on your Identity column?"
--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://blog.kalendelaney.com


"Greg D. Moore (Strider)" wrote in message
news:upWkX5IWIHA.4140@TK2MSFTNGP04.phx.gbl...
> x"Joe K." wrote in message
> news:BAE930ED-C333-4182-BD13-4EEC6FCBEAD3@microsoft.com...
>>
>> I have to give a Senior SQL Server DBA interview next week. I would like
>> to
>> obtain a list of Senior SQL Server DBA questions.
>>
>> Thanks,

>
> "Why should you not put a clustered index on your Identity column?"
>
> (this should generate a good discussion since it's not an absolute
> answer.)
>
>
> --
> Greg Moore
> SQL Server DBA Consulting Remote and Onsite available!
> Email: sql (at) greenms.com
> http://www.greenms.com/sqlserver.html
>
>



Reply With Quote
  #4  
Old 01-16-2008, 08:11 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

On Wed, 16 Jan 2008 14:59:26 -0800, Kalen Delaney wrote:

>And then later in the interview ask:
>
>"Why should you put a clustered index on your Identity column?"


And to top it off:

"Why should you not use an Identity column?"

--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Reply With Quote
  #5  
Old 01-16-2008, 08:17 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

"Kalen Delaney" wrote in message
news:ejZp3NJWIHA.4532@TK2MSFTNGP02.phx.gbl...
> And then later in the interview ask:
>
> "Why should you put a clustered index on your Identity column?"


That's just plain mean.

I like that.

Seriously, having just interviewed a number of DBA candidates, I found
either variation on the question to be useful to ask.

How they answer gives good insight into how they think about problems.


Another good one:

What's the difference between DBCC DBREINDEX and DBCC INDEXDEFRAG?


> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://blog.kalendelaney.com
>
>
> "Greg D. Moore (Strider)" wrote in
> message news:upWkX5IWIHA.4140@TK2MSFTNGP04.phx.gbl...
>> x"Joe K." wrote in message
>> news:BAE930ED-C333-4182-BD13-4EEC6FCBEAD3@microsoft.com...
>>>
>>> I have to give a Senior SQL Server DBA interview next week. I would
>>> like to
>>> obtain a list of Senior SQL Server DBA questions.
>>>
>>> Thanks,

>>
>> "Why should you not put a clustered index on your Identity column?"
>>
>> (this should generate a good discussion since it's not an absolute
>> answer.)
>>
>>
>> --
>> Greg Moore
>> SQL Server DBA Consulting Remote and Onsite available!
>> Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
>>
>>

>
>




--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html


Reply With Quote
  #6  
Old 01-16-2008, 08:31 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

And then you might ask the Senior DBA candidate why defragging databases can
be a bad practise?

Regards,
Greg Linwood
SQL Server MVP
http://blogs.sqlserver.org.au/blogs/greg_linwood
Benchmark your query performance
http://www.SQLBenchmarkPro.com

"Greg D. Moore (Strider)" wrote in message
news:uFpiD3JWIHA.2000@TK2MSFTNGP05.phx.gbl...
> "Kalen Delaney" wrote in message
> news:ejZp3NJWIHA.4532@TK2MSFTNGP02.phx.gbl...
>> And then later in the interview ask:
>>
>> "Why should you put a clustered index on your Identity column?"

>
> That's just plain mean.
>
> I like that.
>
> Seriously, having just interviewed a number of DBA candidates, I found
> either variation on the question to be useful to ask.
>
> How they answer gives good insight into how they think about problems.
>
>
> Another good one:
>
> What's the difference between DBCC DBREINDEX and DBCC INDEXDEFRAG?
>
>
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://blog.kalendelaney.com
>>
>>
>> "Greg D. Moore (Strider)" wrote in
>> message news:upWkX5IWIHA.4140@TK2MSFTNGP04.phx.gbl...
>>> x"Joe K." wrote in message
>>> news:BAE930ED-C333-4182-BD13-4EEC6FCBEAD3@microsoft.com...
>>>>
>>>> I have to give a Senior SQL Server DBA interview next week. I would
>>>> like to
>>>> obtain a list of Senior SQL Server DBA questions.
>>>>
>>>> Thanks,
>>>
>>> "Why should you not put a clustered index on your Identity column?"
>>>
>>> (this should generate a good discussion since it's not an absolute
>>> answer.)
>>>
>>>
>>> --
>>> Greg Moore
>>> SQL Server DBA Consulting Remote and Onsite available!
>>> Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
>>>
>>>

>>
>>

>
>
>
> --
> Greg Moore
> SQL Server DBA Consulting Remote and Onsite available!
> Email: sql (at) greenms.com
> http://www.greenms.com/sqlserver.html
>
>



Reply With Quote
  #7  
Old 01-16-2008, 08:40 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

> why defragging databases can be a bad practise?

Why or when would defragging databases be a bad practice?

I'm curious to find out more.

Thank you

Reply With Quote
  #8  
Old 01-17-2008, 02:44 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

Joe
http://vyaskn.tripod.com/iq.htm



"Joe K." wrote in message
news:BAE930ED-C333-4182-BD13-4EEC6FCBEAD3@microsoft.com...
>
> I have to give a Senior SQL Server DBA interview next week. I would like
> to
> obtain a list of Senior SQL Server DBA questions.
>
> Thanks,



Reply With Quote
  #9  
Old 01-17-2008, 04:41 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

DRP or report server synchronisations solutions such as Log Shipping,
Mirroring and Replication can be brought down by the massive levels of
tlogging generated by index rebuilds. This is a very common cause of lost
sleep amongst DBAs around the world.

The crazy thing about defragging databases is that it generally helps
queries which are fully scanning tables which can be easily tuned with
indexes. So, although defragging sure can help the performance of a well
tuned database (because queries are hammering the disks) it usually doesn't
do much for well tuned databases. Unfortunately, many SQL DBAs have
developed a dependance on defragging databases rather than fixing the real
underlying problems.

Regards,
Greg Linwood
SQL Server MVP
http://blogs.sqlserver.org.au/blogs/greg_linwood
Benchmark your query performance
http://www.SQLBenchmarkPro.com

"serge" wrote in message
news:07823A1C-3B51-4AF9-A912-29BABC01C4AE@microsoft.com...
>> why defragging databases can be a bad practise?

>
> Why or when would defragging databases be a bad practice?
>
> I'm curious to find out more.
>
> Thank you
>



Reply With Quote
  #10  
Old 01-17-2008, 06:32 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
usenet is on a distinguished road
Default Re: Senior DBA Interview Questions

In addition to Greg's great comment , I'd prefer to identify heavely
fragmented tables / indexes and run ALTER INDEX ... command
And I'm fully agree with Greg that we need "fixing the real underlying
problems"




"Greg Linwood" wrote in message
news:OfRGKSOWIHA.4140@TK2MSFTNGP04.phx.gbl...
> DRP or report server synchronisations solutions such as Log Shipping,
> Mirroring and Replication can be brought down by the massive levels of
> tlogging generated by index rebuilds. This is a very common cause of lost
> sleep amongst DBAs around the world.
>
> The crazy thing about defragging databases is that it generally helps
> queries which are fully scanning tables which can be easily tuned with
> indexes. So, although defragging sure can help the performance of a well
> tuned database (because queries are hammering the disks) it usually
> doesn't do much for well tuned databases. Unfortunately, many SQL DBAs
> have developed a dependance on defragging databases rather than fixing the
> real underlying problems.
>
> Regards,
> Greg Linwood
> SQL Server MVP
> http://blogs.sqlserver.org.au/blogs/greg_linwood
> Benchmark your query performance
> http://www.SQLBenchmarkPro.com
>
> "serge" wrote in message
> news:07823A1C-3B51-4AF9-A912-29BABC01C4AE@microsoft.com...
>>> why defragging databases can be a bad practise?

>>
>> Why or when would defragging databases be a bad practice?
>>
>> I'm curious to find out more.
>>
>> Thank you
>>

>
>



Reply With Quote
Reply

Thread Tools
Display Modes


LinkBacks (?)

LinkBack to this Thread: http://dbaspot.com/forums/sqlserver-server/363295-senior-dba-interview-questions.html

Posted By For Type Date
dba interview questions - dba interview This thread Refback 02-07-2009 01:52 PM
Senior Dba Jobs | Post Resumes on SeniorDba.net This thread Refback 11-12-2008 11:27 AM


All times are GMT -4. The time now is 02:03 PM.