简体   繁体   English

Kubernetes SQL Server 或 Azure SQL Server PaaS

[英]Kubernetes SQL Server or Azure SQL Server PaaS

I'm attempting to ask this to garner non opinion based answers, as there doesn't appear to be a huge amount of official literature on the subject.我试图通过这个来获得非基于意见的答案,因为似乎没有大量关于该主题的官方文献。

In what situations would you prefer say an Azure Kubernetes Service hosted SQL Server container over an Azure Sql Server (PaaS) offering?在哪些情况下,您更愿意说 Azure Kubernetes 服务托管 SQL Server 容器而不是 Azure Sql Server (PaaS) 产品?

In my mind it's when you want your whole world containerised and lean upon the versioning possibilities eg to have multiple versions live at the same time.在我看来,这是当你希望你的整个世界容器化并依赖版本控制的可能性时,例如让多个版本同时存在。

However I find it off putting hosting SQL Server even in a container it feels reminiscent of IaaS without the comfort blanket of PaaS.然而,我发现即使在容器中托管 SQL Server 也不会让人想起 IaaS,而没有 PaaS 的舒适毯子。

Does AKS + SQL Containers offer sufficient ease that you can live the "container dream" or alternatively can Azure SQL PaaS sit nicely within a container offering? AKS + SQL 容器是否足以让您轻松实现“容器梦想”,或者 Azure SQL PaaS 是否可以很好地置于容器产品中?

In an attempt to make this non-opinionated can people supply scenarios or authoritative references?为了使这种非固执己见,人们可以提供情景或权威参考吗? Or of course if you are an authoritative reference even better!或者当然如果是一个权威的参考更好!

I'll formulate my comment as answer.我将把我的评论表述为答案。

Azure SQL Databases Azure SQL 数据库

Is a service that takes care of the hard parts of managing a database for you.是一项服务,负责为您管理数据库的困难部分。 Including:包含:

  • Backup & Restores备份和恢复
  • High Availability高可用性
  • Data replication数据复制
  • Scaling缩放
  • Choosing the right hardware选择合适的硬件
  • Always up to date, if a new version rolls out, you can increase the compatibily level and you can use new features始终保持最新状态,如果有新版本推出,您可以提高兼容级别并可以使用新功能
  • Security安全
  • Azure AD Integration Azure AD 集成
  • Index recommendations索引推荐
  • Elastic pools弹性池
  • Azure support Azure 支持
  • Licensing许可

What you can't do in Azure SQL Databases:在 Azure SQL 数据库中不能执行的操作:

  • CLR: Loading custom .NET code, that you can execute from SQL Server. CLR:加载可以从 SQL Server 执行的自定义 .NET 代码。
  • Trace flags跟踪标志
  • SQL Agent jobs ( Elastic database jobs are in preview) SQL 代理作业( 弹性数据库作业为预览版)
  • Change Data Capturing (cdc)更改数据捕获 (cdc)
  • Cross database transactions跨数据库事务
  • Database Mail数据库邮件
  • Attach Database附加数据库
  • BACKUP or RESTORE statements BACKUPRESTORE语句
  • Altering Collation改变排序规则
  • Mirroring镜像
  • Snapshots快照
  • Some DBCC Statements一些 DBCC 语句
  • Some DMV's一些 DMV
  • Linked servers链接服务器
  • Minimal logging in bulk import批量导入中的最少日志记录
  • OpenQuery/OpenDataSource开放查询/开放数据源
  • Resource Governor资源总督
  • Service Broker服务代理
  • ... ...

See this comparison between Azure SQL Databases and Azure SQL Managed instances.请参阅Azure SQL 数据库和 Azure SQL 托管实例之间的比较。

List of T-SQL differences T-SQL 差异列表

Containerized SQL Server容器化 SQL Server

You are limited to run a linux version of SQL Server.您只能运行 linux 版本的 SQL Server。 Which still has a high number of issues.这仍然有很多问题。 All the things Azure takes care of, you need to do your self. Azure 负责的所有事情,您需要自己做。 It's quite new, so you may be hitting issues that nobody has seen before, the community however is growing.它很新,所以你可能会遇到以前没人见过的问题,但是社区正在增长。 You also need to buy a SQL Server license.您还需要购买 SQL Server 许可证。

When should you use containerized SQL Server?什么时候应该使用容器化 SQL Server? You want to be cloud agnostic, to be able to switch cloud providers.您想成为云不可知论者,以便能够切换云提供商。

At the moment I wouldn't want to run a production workload on a containerized SQL Server.目前我不想在容器化 SQL Server 上运行生产工作负载。 When SQL Server Linux gets mature this will change.当 SQL Server Linux 成熟时,这种情况将会改变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM