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

If You Build It, Will They Use Linux?

There's a great scene in Field of Dreams where James Earl Jones says that people will come. It's in response to the voices Kevin Costner hears early in the movie. This is the climax of the movie, where Costner makes a financial decision to trust his instincts and hope his farm will be saved.

In many cases, organizations do just this. They build something, assuming people will come. They may have some data, research, or other reasoning as to why why people will use what they build. However, that's not always the case. Sometimes they build something and hope people will come, much like Field of Dreams.

I wondered about this recently with some friends when discussing SQL Server on Linux. Quite a few people I know haven't seen any Linux installations inside their organizations. Others are consultants and haven't experienced any work on Linux, which is interesting. I've heard people at Microsoft state there are plenty of installations out there, but I've found few people who have moved from Windows.

I know a lot of people who work in the Microsoft data stack aren't familiar with Linux. This is despite all the articles and writings the last few years trying to teach people about Linux and how SQL Server runs well. I also see articles like this one, which claims Linux uses more CPU. This is despite Red Hat saying Linux runs SQL Server well and leads in benchmarks from TPC, at least the TPC-H results.

I learned at the various command lines in school, with a lot of time spent on Unix systems. Even with X-Windows, I often used the interface to open multiple shells to get work done. However, a lot of people have not worked at the command line very often. Despite the popularity of PowerShell, I find no shortage of Windows-based knowledge that struggles with certain concepts, like quoting and piping results between commands.

I don't know how many systems run Linux v Windows. Azure states that over 50% of their VMs aren't Windows, but Linux. I suspect a lot of those are likely web servers or other systems and not database platforms. They don't seem to publish how many databases are SQL Server on Linux, and I have no idea if Azure SQL Databases (or MI/Synapse/Fabric/etc.) run Windows or Linux. I suspect it could be either, but most likely Windows.

Do you feel comfortable running SQL Server on Linux? Is your organization considering it? I don't know I think it's worth the savings in license costs. Not that Windows is cheap, but the effort to train, learn, and work on a second OS might not provide any savings for years. Maybe not ever if you can't get work done smoothly and quickly.

They built it; now, will you come run it?

Steve Jones - SSC Editor

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

 
 Featured Contents
SQLServerCentral Article

How Would You Design This: Scheduling Classes

Steve Jones - SSC Editor from SQLServerCentral

One of the challenges for many database developers is coming up with a good design that not only meets the specifications but also performs well in queries. Relational databases often seek some level of normalization, which reduces the update load for a system but might require more effort work from developers to write queries. Many […]

External Article

Different ways to Convert a SQL INT Value into a String Value

Additional Articles from MSSQLTips.com

I need to convert an integer to a string value, what options are available in Microsoft SQL Server with T-SQL scripts and stored procedures?

Blog Post

From the SQL Server Central Blogs - Deneb – powerful visual for advanced reporting

Joyful Craftsmen from Joyful Craftsmen Blog

Introduction
For one of our customers we needed to create customized reports that could not be easily implemented by using standard Power BI components. We explored different ways how to...

Blog Post

From the SQL Server Central Blogs - Friday Flyway Tips: Copying the Migration Number

Steve Jones - SSC Editor from The Voice of the DBA

It’s a small thing, but copying the migration number can be a pain. However, we’ve made this easier in Flyway 6.5.4. I’ve been working with Flyway Desktop for work...

Pro T-SQL 2022: Toward Speed, Scalability, and Standardization for SQL Server Developers

Steve Jones - SSC Editor from SQLServerCentral

Learn how to write and design simple and efficient T-SQL code. This is a hands-on book that teaches you how to write better T-SQL with examples and straightforward explanations.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

Deleting the Standby file

I restore a database on SQL Server 2022 with the STANDBY option and include a file path and name. When is this file deleted?

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

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Opening Multiple Symmetric Keys

Can I open multiple symmetric keys at once? As with this code:

OPEN SYMMETRIC KEY PIIKey DECRYPTION BY PASSWORD =  'MyS3cr#tP@ssword'
OPEN SYMMETRIC KEY PIINewKey DECRYPTION BY PASSWORD =  'MyS3cr#tP@ssword2'

Answer: Yes, no restrictions

Explanation: You can open multiple symmetric keys with no restrictions. Ref: OPEN SYMMETRIC KEY - https://learn.microsoft.com/en-us/sql/t-sql/statements/open-symmetric-key-transact-sql?view=sql-server-ver16&source=recommendations

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
Rebuild index for system database - I do check database integrity for system db,is there need to do system rebuild index if yes what is fragmentation?
shrinking a large data file - Hi All, One of our drive got filled (E: drive) and we decided to shrink the data file from 1.6TB to 500GB. While trying to shrink the file with didnt work. USE [dbname] GO DBCC SHRINKFILE (N'db_name_dat' , 0, TRUNCATEONLY) GO it completed successfully but it didnt release any space to OS. --then, tried below. […]
unable to see job history for some jobs - Hi All, I am unable to see job history for some jobs. Usually, we run some maintenance jobs. for example) index maintenance and updating stats. Why it is not showing up? anything needs to be changed in SQL Agent Properties?   Regards, Sam
Administration - SQL Server 2014
HI need latest service pack or latest cu update in 2014 ,2012 sqlserver - HI need latest service pack or latest cu update in 2014 ,2012 sqlserver Microsoft SQL Server 2014 (SP3-CU4-GDR) (KB4583462) --Need link for latest service pack or CU upadate for this Microsoft SQL Server 2012 (SP4-OD) (KB4091266) -- Need link for  latest service pack or CU update for this  
SQL Server 2019 - Administration
RAM on the SQL Instance - Hi everybody, I have a 500 GB highly transactional database on the SQL 2019 Enterprise instance, running on a Windows Server 2019 box with two Intel Xeon 2.20 GHz processors. All the other databases on the instance are tiny and do not take resources. This is a SQL Server box; nothing else is running on […]
Non-yielding Scheduler every 30 days - I have problem with SQL Server 2019. Of course I have new update 2019.150.4322.2 from August 2023 but problem stil exist. SQL Server 2019 Standard. OS Windows 11 PRO. Machine Dell 7910 2xXeon(R) CPU E5-2695 v4 @ 2.10GHz. Dozen cores. Database size about 1GB (about 20 users). Every month between 26th and 28th without any […]
SQL Server 2019 - Development
Conversion failed when converting the nvarchar value to data type int on insert - I have a table with an Int column.. this is being loaded with a JSON file...containing various values One of this is a numerical value which i have found a bug My code as follows: DROP TABLE IF EXISTS [#ReturnItemsCalibration_Points] CREATE TABLE [#ReturnItemsCalibration_Points]( [ReturnItemsCalibration_PointsID] [int] IDENTITY(1,1) NOT NULL, [ReturnItemsCalibration_ChannelsID] [int] NOT NULL, [Points] [int] NULL […]
SQL Azure - Administration
Azure SQL database: How additional storage (beyond 250GB) being charged? - Hi All, I have a question on how additional storage (beyond 250GB) will be charged for Azure SQL databases. Is it charged based on Max storage limit (MAXSIZE) or is it based on Allocated space? Thanks.
Reporting Services
Tables and Stored Procedure not showing up in while adding the dataset - Hi, I am using VS2022 Reporting Service Project. In that I am using Oracle Datasource. When I am trying to add a new dataset to the project , It is not showing tables and stored procedures in the dropdown. Let me know where is the problem.
Tabs in SSRS Report - Hi, I have 2 tabs created in SSRS Report.There is calendar Day prompt in the report. By Selecting the Calendar Day Prompt the 2nd tab displayed in the report varies from 2nd Page and 3rd page. Is there any option to display the 2nd tab of the Report to display in 3rd page irrespective of […]
SSRS 2019 Custom Authentication: error occurred when invoking the authorization - Hi, I am upgrading SSRS 2014 to 2019 and custom form based authentication is implemented with SSRS 2014. I followed the steps https://github.com/microsoft/Reporting-Services/tree/master/CustomSecuritySample and implemented same for SSRS 2019. While Web Service URL works fine but while accessing Web Portal URL I am getting below error and the web page displays. The service is not available. An […]
SSRS 2016
Migrating SSRS power bi version 15 database to new server - Hello, I seen many articles, one such as this: https://www.mssqltips.com/sqlservertip/2692/migrating-sql-reporting-services-to-a-new-server-by-moving-the-reporting-services-databases/ and its pretty straight forward, backup database, restore, backup keys, restore, and point database to new location... got it... my biggest concern... and worry especially to the user, is the subscriptions... will the subscriptions come over to the new server.. I have about 100+ subscriptions, […]
SQL Server 2022 - Administration
issue with backup cleanup step - I have a maintenance plan for my nightly backups.  It consists of three steps:  Back up my databases to a folder on another server - in this case it's literally just a Windows server with a lot of drive space.  Run DBCC check db against my databases.  Cleanup - delete any backups older than five […]
SQL Server 2022 - Development
User does not have access to reports - Hello, I would like advice on how to allow users to open reports.  So far, we have the home folder (which users cannot view), two sub folders, one of which users can view.  This one contains three reports.  They can see the reports exist but cannot open them.  The users have permission to Browse and […]
SQL2022 UPDATED FROM SQL2014 - PARALLELISM ISSUES - Hi We just updated from SQL2014 to SQL2022. Most everything went fairly well - except I have about 6 stored procs that move allot of data around that are suddenly not working. When looking at whoisactive they are generating CX waits. They stall all day with no results. They ran fine in SQL2014. I enabled […]
 

 

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

 

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