Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Daily Coping Tip

Pick a new musical artist and listen to a few songs today

I also have a thread at SQLServerCentral dealing with coping mechanisms and resources. Feel free to participate.

For many of you out there working in a new way, I'm including a thought of the day on how to cope in this challenging time from The Action for Happiness Coping Calendar. My items will be on my blog, feel free to share yours.

A Cloud Database for Statistics

Baseball is an interesting game from a data perspective, with lots of numbers being tracked, and lots being generated every year. I used to have a sample database for demos that I used, since it was fun to run various numerical queries on the data. I should set that back up.

Recently I saw that an analysis site, FanGraphs, was adopting MariaBD, but in a cloud version of the database. They gather a lot of statistics, more than most places publish. Not only do they have the various aggregates from games, but they have tracking for things like the velocity of pitches thrown. Add that to odds, projections, and more, and this is a lot of data.

For a fan, that's a lot. For database people, maybe not so much. They are projecting a million records each season for pitches, which might be the largest data set. However, for a database, even with 100 years of baseball, 100mm rows isn't that large. There can be, however, lots of queries on this data.

The founder used to manage the database himself, and has been on MariaDB for a long time. He started on Windows, but has been looking to outsource some of the administration. They left dedicated servers to move to a vendor running on the Google Cloud Platform (GCP). Now they are looking at data warehousing and other options to continue with deeper data analysis options.

The move to the cloud, removing some of the headaches and hassles of managing servers is something many executives think about. Certainly it isn't cheaper than buying your own machines, but with the cost of people, benefits, and the inflexibility of being limited by past decisions, I get why companies do this. Especially those that aren't so focused on the technology, but are more interested in what technology can enable them to do.

Many of us working might find opportunities to work with data at a company like this, without the need to actually manage the systems. I can imagine for a data analyst or developer that enjoys baseball, this might be a fun type of challenge. Learn to apply technology at a company that doesn't really care about the software itself, but wants to use it to build something new and exciting for their customers.

Steve Jones - SSC Editor

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

 
 Featured Contents

Identify Profiles Actually In-use to Make Database Mail Migration Efficient

Steve Rezhener from SQLServerCentral

Introduction According to Microsoft, Database Mail is an enterprise solution for sending e-mail messages from the SQL Server Database Engine. Using Database Mail, your database applications can send e-mail messages to users. The messages can contain query results and can also include files from any resource on your network. This article is going to discuss […]

How to improve DevOps communication clarity

Additional Articles from SimpleTalk

Communication is at the heart of DevOps, but it can be difficult to achieve. Mike Cuppett explains how to improve DevOps communication clarity.

From the SQL Server Central Blogs - Machine Learning – Introduction

Vinay Thankur from Vinay Thakur

Machine Learning : it is a system where system will learn how the pattern is going and accordingly we can predict the future information. There are two types in...

From the SQL Server Central Blogs - Using Pester to Improve Operational Tasks

Sheldon Hull from Sheldon Hull

Taking the Time To Test
Requirements in a constant state of change set you up for failure.
Failure to work through requirements before starting can also increase the risk of failure.
Planning...

 

 Question of the Day

Today's question (by Evgeny Garaev):

 

Types of indexes available in SQL Server 2019

How types of indexes available in SQL Server 2019?

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

 

 

 Yesterday's Question of the Day (by Evgeny Garaev)

Database snapshots

Can you detach and re-attach a database snapshot on SQL Server 2019?

Answer: No

Explanation: You cannot attach or detach database snapshots. Ref: Database Snapshots -  https://docs.microsoft.com/en-us/sql/relational-databases/databases/database-snapshots-sql-server?view=sql-server-ver15

Discuss this question and answer on the forums

 

 

 

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 2017 - Administration
Enabling/Configuring Read only routing - I have 2 servers which are part of AG. DB1(Primary) and DB2(Secondary). It has been setup like this for quite some time now but we don't have read routing enabled/configured. I went thru GUI and scripted out what I want to do. Couple of question related to my inquiry. Do I have to failover/reboot when […]
SQL Server 2016 - Administration
using sftp in SSIS - Hi, I have SSIS packages for my SQL 2016 that currently use the FTP Connection manager.  I need to switch these to use sftp instead of ftp and I'm seeing lots of articles stating that SSIS does not support this and most are using WinSCP or scripting to get around this issue.  I'm wondering if […]
Backup failed - I cant figure out why backup failed   Here is my error: Executed as user: NBHDHQDOMAIN\svcempsqlserver. ...0 for 64-bit  Copyright (C) 2016 Microsoft. All rights reserved.    Started:  12:40:50 PM  Progress: 2021-04-20 12:40:54.16     Source: {DCE40FB3-F026-44F4-8B33-183461DFFA93}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp...".: 100% complete  End Progress  Progress: 2021-04-20 12:40:57.51     Source: Maintenance Cleanup Task      Executing query "EXECUTE […]
automatically remove people from report subscriptions - Hi, How can we automatically remove people from report subscriptions when they are disabled or don’t exist in AD?  We have Reporting Services standard and data driven reports and we are trying to find a way to automatically remove users when they don't exist in AD anymore.  I have read up on the [sys].[sp_validatelogins] stored […]
Azure SQL Server Specs and Encryption - Hello~ I administer a database application (Azure SQL Server Back End/MS Access Front End) At the moment, we have only one server, and we recently encrypted a few sensitive fields in our db.  After a week of user testing with encryption, everything seemed fine, but of course, when we went live, things went terribly wrong […]
SQL Server 2016 - Development and T-SQL
Getting sum of all transactions by month-end - I have a table that is a list of inventory transactions. For simplicity sake, the table has these columns: Location, Item Number, Trx Date, Trx Amount I'm trying to create a query that gets the accumulation of all transactions for each month in a year. For example, let's assume these transactions: I'm trying to create […]
Administration - SQL Server 2014
Enabling/Configuring Read only routing - I have 2 servers which are part of AG. DB1(Primary) and DB2(Secondary). It has been setup like this for quite some time now but we don't have read routing enabled/configured. I went thru GUI and scripted out what I want to do. Couple of question related to my inquiry. Do I have to failover/reboot when […]
Development - SQL Server 2014
usage of BCP and BULK INSERT - as I'm not clear how to use bcp and bulk insert in the following cases, could you please give me an example on how to use it ? thanks! while exporting data using bcp from a table, how to use where condition to export part of data of the table ? while importing data using […]
SQL 2012 - General
Implementing TLS In sql server 2012 - Hi Experts, In my project we have 2 servers Webserver and one is database server . We are planning to  Implement the TLS in the database server  and our DBA can handle the the step to implement TLS on the database server. My query is what all changes we have to do on the Webserver […]
Can we use SSIS dynamically import or export from one table to another table? - Normally, we can use selected databasename--tasks--import data/export data to handle data import and data export rapidly, but this operation is required to be done manully,  Can we use SSIS dynamically import or export from one table to another table? such as creating a job in backend to call it as the schedule or  call the […]
sequence of SQL server execution plan - As per my understanding,  when we read the execution plan, the sql server is run from the bottom to top and from right to left,  the sequence I marked it picture, is it right? if not please tell me the right sequence and how to read the execution plan. thanks!
SQL Server 2019 - Administration
Unable to uninstall Sql Server 2019 in my Laptop - Hello, I have installed Sql Server 2019 more than 6 months before and forgot the credentials. So I tried uninstalling manually but it is not allowing me to uninstall. Even the services are not starting in Services.msc and Sql Configuration Manager. Not sure what is the issue. Attached the screenshots of the same. I tried […]
Grant Execute on ALL procs in a Database - I see a lot of old, 10+ year old posts for SQL 2000, 2005 etc on this.    For our SQL 2019 environment, what is the easiest most efficient way to: GRANT EXECUTE on ALL StoredProcedures in DB_XYZ to MyDomainUser (eg. MyDomain\User_1) thx for any feedback!
Polybase and External table - Hi - we have 2 SQL Server 2019 instances, both with Polybase installed. I created an external table in a database on instance A and pointed it to a table in a database on instance B. Steps take in database on instance A: create master key in user database create credential create datasource using that […]
Powershell
Pipeline Variables - Hi All I am trying to understand why my filtering doesn't work here.... I am new to Powershell Using dbatools This works: $t = get-dbaregserver $t | Where-Object {$_.group -eq "GroupName"} This does not filter the result: $p = get-dbaregserver $p | Where-Object {$p.group -eq "GroupName"}
 

 

RSS FeedTwitter

This email has been sent to {email}. 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.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -