 | A community of more than 1,600,000 database professionals and growing |
| Featured ContentsFeatured Script |
| Containers and Databases There's this push to use ever thinner and lighter weight computing techniques. We moved from mainframes to servers to blades to VMs, and now many developers are looking at containers more and more. What started as a Linux idea popularized by Docker has come to Windows, with container support in Windows Server 2016. Just recently SQL Server 2016 Developer edition was announced as a container, which makes deploying a SQL Server easy, with no install. Is this a good idea, though? Containers certainly make sense for many applications. Got a flaky Java app that crashes? Put it in a container, avoid dependencies on the OS, and if there's an issue, restart it quickly. Got a service that needs to scale? Put it in a container and run multiple instances. Messaging, endpoint services, middle and front end apps, all of these can make fantastic use of containers. Containers fit in quite a few spaces, but do they make sense for databases? I'm not sure. After all, one of the advantages of containers is that they are stateless. Drop one, restart another. That's not something we want to do with databases, as we need the data to persist. Containers also help when the application is unstable and may need restarting, but SQL Server, along with most database platforms, is very stable to run. Where do containers make sense? I think for development and test environments, containers have value. These are places where we may need to stop and recreate an environment quickly. Certainly a container with a small amount of data, say a curated set of test data, is a great way to try or test code, then destroy the container, modify something, and repeat. A DevOps process, repeatable with containers. In production, however, I'm not sure that there is much of a place. Perhaps Express makes sense on laptops, where we can avoid the install of a SQL Server, but certainly the data needs to persist outside of the container. We've seen how to do this with WinDocks, and I'm sure some vendors will deploy containers in this way once they are available on laptop OSes. However, on servers? I don't see the place where a SQL Server container makes sense, but please, let me know if you have a place for a containerized database. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 3.8MB) podcast or subscribe to the feed at iTunes and Libsyn. The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. | |
|
|
| ADVERTISEMENT |  | Want a SQL comparison tool you can trust? 71% of Fortune 100 companies use SQL Compare. They save time comparing and deploying SQL Server database schemas, create error-free deployment scripts in minutes, and fix errors caused by database differences with ease. Find out how with a free trial. |
|
|
|
| |
 | Additional Articles from SQLPerformance.com In an effort to make leading wildcard searches sargable, Aaron Bertrand plays around with a trigram-type implementation in SQL Server. More » |
 | Issue: I am trying to load data from Excel 97 – 2003 sheet into a database table. I have written a... More » |
|
|
| | Today's Question (by Steve Jones): What does this code return: DECLARE @t TIME = GETDATE(); SELECT DATEDIFF(MINUTE, 0, @t) |
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: T-SQL. 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 | Securing SQL Server - Written by Denny Cherry, a Microsoft MVP for the SQL Server product, a Microsoft Certified Master for SQL Server 2008, and one of the biggest names in SQL Server today, Securing SQL Server, Second Edition explores the potential attack vectors someone can use to break into your SQL Server database as well as how to protect your database from these attacks. In this book, you will learn how to properly secure your database from both internal and external threats using best practices and specific tricks the author uses in his role as an independent consultant while working on some of the largest and most complex SQL Server installations in the world. This edition includes new chapters on Analysis Services, Reporting Services, and Storage Area Network Security. Get your copy from Amazon today. |  |
|
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Henrico Bekker): What permissions are required to execute DBCC IND and DBCC PAGE in SQL Server? Answer: sysadmin Explanation: SYSADMIN privileges are required to execute DBCC commands that read page data. I could not find an official MSDN or BOL article explaining or noting it (suspect due to it being undocumented), but testing proved this to be the case, as no other level of server permissions allowed DBCC PAGE or IND commands to be executed.
» Discuss this question and answer on the forums |
|
|
| | Mashrur Shuvo from SQLServerCentral.com Create a .txt and write down all your server name like Server1 Server2 Server3 Save the txt file in safe location. C: ServerProdQaDev.txt Run the following PowerShell script and see the results when is your server was rebooted 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 connection security - I have two question about SQL user connection security ... Is standard (or necessary for small company) deploy for authentication using... Raid SSD - Hello, i have a doubt. What is the best configuration for a raid with ssd? My doubt is about the throughput. Thanks. PLE and BufferPool Contents - Hello. I have been looking at Memory utilisation for some time now, and am looking for a definitive way to determine what... Performance improves after reboot - I am an ETL Developer who was asked to look at SQL Server performance problem. We have two DBA's but they're... XP_CMDSHELL & RS.EXE and access rights - Hi I'm trying a solution where via a stored procedure I map some drives, the frist to store the SSRS report... Joining INSERTED and UPDATED tables when PK column changes - Hi SSC, First off, as should probably be as common as to need no explanation, I did not build the system... split time - hi I have the following session columns AM PM DAY AM PM slots up as up to each 3:30 Day slot up 8:00 I wish to however... get date / only sql - Hi how do I use the only clause and date together as follows a customer can many orders from departments in one... Count(*) output blank but required Zero - HI All, I had an requirement to create count of numbers for every 30 min with few filter condition on where... Memory Problem: Low buffer cache,low PLE, but High free page - Hello All, Our database server is currently having a strange memory issue. Our database is about 800G, memory is 120G, and it... Automating linear regressions - Good morning, I hope I'm on the right place to post my question ... I work on a project for research where... SPROC Stored Proc vs SSIS for Enterprise Wide Dev - Hi ...been awhile since I last signed in... new job back to my favorite db platform SQL Server :-) I'm stuck... SQL Server Express and SQL Server Agent? - I just installed SQL Server Express with Advanced Services but can't manage to get SQL Server Agent service started... Features Supported... Roll from lowest level child to it's subsequent parent - Hi, I want to roll Duration field from it's lowest level to it's immediate level parents , then from it's parent's to... Need help with database maintenance - First, I am not a DBA, I'm a programmer, so I don't have any training in SQL Server administration. In... Need to migrate a databases from DB2 to SQL server - Hi, Need a help in Migrating a database of 100 GB from DB2 to Sql server. Client would extract the data from... Active Directory -> SQL (Convert) - I have extract certain data/fields from Active Directory into a table (sql) and some of the columns are such as AccountExpires,... Restore Recovered Database ?!! Please Help!!!!! - Hi and Thanks everybody for helping me and read this topic , i have huge problem , my server lost all files... How to create a Package XML Configuration file? - Hello, I want to export data from SQL to Excel, but when I in Data Flow add OLE DB command for... Simple SSIS failed with The value could not be converted because of a potential loss of data. - I have a very simple SSIS: 1. Source: 5 columns, all in string(50) 2. Key two columns: Period, Val 3. To do: get... |
|
| This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
| 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: webmaster@sqlservercentral.com |
|
|