SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

Featured Script

The Voice of the DBA

DBA Support

This editorial was originally published on Oct 28, 2012. It is being republished as Steve is out of the office.

There was a time when I managed two production databases on SQL Server. Two. I had a development version of one database where we paused development for testing, and only two production databases to manage. Since I had to also handle development, application support and hardware repair/replacement, that seemed like plenty to me. I was the accidental DBA, with database administration being the lowest priority of my day.

After that I moved on to administer databases in a number of jobs, sometimes as a priority, sometimes not, but in each case, I learned to work more efficiently and effectively. My goal was to automate as much as possible of the routine work so that I could spend my days adding value to the company. I learned to use scripts, alerts, jobs, and more to keep systems running while I was doing other work.

I'm sure many of you work in a similar manner, or at least I hope you do. This Friday I wanted to ask you at what scale do you need to become efficient, based on the size of your organization. The question this week is:

How many databases does each DBA in your organization manage?

I know some of you manage lots of databases in raw numbers, but also let us know if you need to do much with these databases. Is maintenance automated, or is there much active management you need to do in order to ensure these databases are running on a weekly basis. Let us know the size of your load as well, perhaps the amount of data is a better way of measuring the DBA load.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums

ADVERTISEMENT
ReadyRoll

Could you deploy a high number of databases?

Imagine working in a 70-strong IT team, with 91 applications and multiple complex databases. Now imagine deployment time. It's not fiction, it's fact. See how financial services company, FlexiGroup, has brought speed and precision to database deployments. Read their story.

SQL Search

Free SSMS add-in: SQL Search

Redgate SQL Search is a free SSMS add-in that lets you find fragments of SQL across multiple objects and multiple databases. Once installed, SQL Search appears on the SSMS toolbar, allowing you to quickly navigate to objects wherever they are on a server. Download SQL Search now.

SQL Source Control

How to track every change to your SQL Server database

See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more.

Featured Contents

 

Introducing the Set-based Loop

Luis Cazares from SQLServerCentral.com

Set-based programming doesn’t mean “no loops” or a single statement. Finding out the best ways to traverse a full hierarchy. More »


 

How to generate T-SQL scripts in SQL Server Management Studio with the collation settings

Additional Articles from MSSQLTips.com

SQL Server collation is an important setting when creating database objects. One of the best ways to ensure that collation issues do not happen is to ensure that the collation settings are properly specified in the script that generates the database objects - Siddharth Mehta demonstrates how to do this. More »


 

From the SQLServerCentral Blogs - SQL QUERY NIGHTMARE

lokesh sharma from SQLServerCentral Blogs

Last week, we faced a basic and yet the only major problem that sql developers/admin had to deal with and... More »


 

From the SQLServerCentral Blogs - SQLCover Fixes and Download location

Ed Elliott from SQLServerCentral Blogs

There have been a couple of fixes in SQLCover this week, kindly submitted by John Mclusky (https://github.com/jmclusky): Code coverage not reported... More »

Question of the Day

Today's Question (by Steve Jones):

Which languages are allowed for the @language parameter in sp_execute_external_script in SQL Server 2016?

Think you know the answer? Click here, and find out if you are right.


We keep track of your score to give you bragging rights against your peers.
This question is worth 1 point in this category: SQL Server 2016.

We'd love to give you credit for your own question and answer.
To submit a QOTD, simply log in to the Contribution Center.

ADVERTISEMENT

Microsoft SQL Server 2014 Business Intelligence Development Beginners Guide

If you are a BI and Data Warehouse developer new to Microsoft Business Intelligence, and looking to get a good understanding of the different components of Microsoft SQL Server for Business Intelligence, this book is for you.  Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

I have a SQL Server 2016 instance and I'd like to add some In-Memory OLTP tables to my system. Where do I store these in a SQL Server database?

Answer: In a special filegroup designated as for Memory Optimized Data

Explanation:

In-Memory OLTP tables are stored in a filegroup that is configured as a Memory Optimized Filegroup.

Ref: Creating a Memory-Optimized Table - https://msdn.microsoft.com/en-us/library/dn133079.aspx

The Ins and Outs of In-Memory OLTP - http://www.sqlservercentral.com/articles/Microsoft+SQL+Server/113442/


» Discuss this question and answer on the forums

Featured Script

Identify tempdb usage

David Kranes from SQLServerCentral.com

Simply run this script against any tempdb to help identify any SQL or SQL Agent job that may be consuming large amounts of space in tempdb.

More »

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2016 : SQL Server 2016 - Development and T-SQL

conditional where clause - I have this problem I cannot solve. In a stored procedure I need to make a select query. A parameter...


SQL Server 2014 : Administration - SQL Server 2014

DBCC Check DB - Over the last year our DBCC Check DB process has jumped from ~ 8-9 hrs to. ~ 25 hrs. I decided to...

Recommendation for better perfromance - HI I need recommendations for better performance of sql .we have 32bit SQL servers and want to make sure we...

Log Truncation and Database Mirroring - Hi all, I understand that mirroring is no longer recommended but the setup exists in my current environment I am trying to...

Unable to TRUNCATE TABLE, a permissions issue (I think) - When I execute Truncate Table [FS-JIREMSQL].JIREM10.dbo.JIRABConcentration in SSMS query window, it fails. The error code is: Msg 4701, Level 16, State...

Msg 3013, Level 16, State 1, Line 2 BACKUP DATABASE is terminating abnormally. - [code="sql"]BACKUP DATABASE [Staging] TO DISK = N'\\NetworkStorageLocation\ProjectA\Test_backup_2015_04_24_105955_2107357.bak' WITH NOFORMAT, NOINIT, NAME = N'Test_backup_2015_04_24_105955_2107357', SKIP, REWIND, NOUNLOAD, COMPRESSION, STATS = 10 GO [/code] Error Message that i...


SQL Server 2014 : Development - SQL Server 2014

Splitting a multi-delimiter string and update - So I am trying to fix something a developer did in our database and I'm having trouble figuring this out....


SQL Server 2012 : SQL 2012 - General

Transaction logs arent being truncated after backups - Dear DBAs I am running the following TSQL to backup my transaction logs once a day Yes i know you...

One to Many relations - Hi, I've a few different entities that need to hold photos (one or many), let's name them A, B and C....


SQL Server 2012 : SQL Server 2012 - T-SQL

Monthly total of active data - For a report I'm trying to write I ideally need a recordset that shows me how many people were on...

t-sql 2012 trigger - Would you show me how to setup a trigger from the items I listed below for a t-sql 2012 database? 1.I...

Parse street - Hi Guys, First post for me here, so i dont know if i am at the right place. I have a street...


SQL Server 2008 : T-SQL (SS2K8)

Calculate time difference between two related visitors without using cursor - I have a table (see attached) listing visitors IDs, listed more than once, and Arrival DateTime. I need to find...


SQL Server 2008 : SQL Server 2008 Administration

Error: 8355, Severity: 16, State 1 - Hi All, Our main server is set up with two external drive shelves. Yesterday we lost one of our external drives...


SQL Server 2008 : SQL Server 2008 Performance Tuning

Index guidance needed - Hi everyone. I recently came across a dev database in our organization that had no clustered indexes and circa 100 million...


Reporting Services : Reporting Services

Forward dependencies are not valid - Hi, I have Test.rdll, with one parameter and one dataset Dataset: Name:Country Query: [quote]select distinct [Country] from [DW].[dbo].[Dim_Country] where Active = 1 and Country = @Country[/quote] Parameter: General; Name= Country, Prompt = Country,...


Data Warehousing : Integration Services

Export Integration Services Catalogs - Hi Experts, I need to transfer SSIS Packages which are under "Integration Services Catalog" under SSISDB. Basically I need to get packages...

How to force column explicitly to string type before we export to excel - I have a package which laods data to excel ,but my manger wants to force column explicitly to string type...


SQL Server 2005 : SQL Server 2005 General Discussion

Delete files that are older than 7 days - I have a folder in d drive called Archive (d:\archive) which stores all data load files. The name of these...

sp_send_dbmail not working but send test e-mail for database mail working - I set up database mail on a sql server 2005 cluster and when I send a test e-mail form SSMS...

This email has been sent to [email protected]. To be removed from this list, please click here.
If you have any problems leaving the list, please contact the [email protected].
This newsletter was sent to you because you signed up at SQLServerCentral.com.
Feel free to forward this to any colleagues that you think might be interested.
If you have received this email from a colleague, you can register to receive it here.
This transmission is ©2015 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: [email protected]