简体   繁体   English

Azure SQL数据库-CPU与成本

[英]Azure SQL databases- CPU vs Cost

Can any one Help me out with differences in azure databases computational Power and cost, I need to scale up my database which one is better approach ? 有谁能帮助我解决Azure数据库的计算能力和成本方面的差异,我需要扩大数据库规模,哪种方法更好?

Like What is the difference if i take two S3 databases or one P1 database? 就像我使用两个S3数据库或一个P1数据库有什么区别? two S3 tier database will be (100x2)DTU/(~$150.00/mo x 2) or one P1 tier database will be 125 DTU/$465.00/mo ie 两个S3层数据库为(100x2)DTU /(〜$ 150.00 / mo x 2)或一个P1层数据库为125 DTU / $ 465.00 / mo

I am Currently using one S3 database with my web application on azure. 我目前在Azure上与Web应用程序一起使用一个S3数据库。 My operations are so intensive that it sometimes consumes Full 100% DTU for 10-20 mins making things slower for other users or sometimes may also cause deadlocks. 我的操作非常密集,以至于有时会消耗10%至20分钟的Full 100%DTU,使其他用户的工作变慢,或者有时还可能导致死锁。 Current size of Db is 60GB and almost fully indexed. Db当前的大小为60GB,几乎已完全索引。

The first question is if it's even possible to easily partition your data so that you can split between two or more S3 tiers. 第一个问题是,是否甚至可以轻松地对数据进行分区,以便可以在两个或多个S3层之间进行拆分。 If you cannot easily partition your data, then there's no use thinking about going to two or more S3's to save money. 如果您不能轻松地对数据进行分区,那么考虑使用两个或多个S3来节省金钱是没有用的。

Microsoft hasn't told us the exact formula for a DTU, but we know it's a combination of CPU and IO. 微软没有告诉我们DTU的确切公式,但是我们知道它是CPU和IO的组合。 The smallest Premium tier instance gives you ten times the IO of an S3. 最小的Premium层实例提供的IO是S3的十倍。

For more details on the differences between the tiers, go here . 有关各层之间差异的更多详细信息, 请转到此处

With a Premium server you have SSD storage available for the server. 使用Premium服务器,您可以为该服务器提供SSD存储。 You can also use in-memory OLTP that can greatly improve performance. 您还可以使用内存OLTP,这可以大大提高性能。

If your database operation is known for using multiple cores for an extended time then forget about using Standard tier and choose Premium tiers. 如果您的数据库操作因长时间使用多个内核而闻名,那么请不用使用标准层,而选择高级层。

Hope this helps. 希望这可以帮助。

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

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