首页 \ 问答 \ 新的Azure SQL数据库服务,可扩展性和DTU(New Azure SQL Database Services, how scalable and what are DTUs)

新的Azure SQL数据库服务,可扩展性和DTU(New Azure SQL Database Services, how scalable and what are DTUs)

新的新Azure SQL数据库服务看起来不错。 但是我试图找出它们的可扩展性。

因此,例如,假设一个200个并发用户系统。

对于标准

Workgroup and cloud applications with "multiple" concurrent transactions

对于Premium

Mission-critical, high transactional volume with "many" concurrent users

“多个”和“多个”是什么意思?

Standard / S1还提供15个DTU,而Standard / S2提供50个DTU。 这是什么意思?

回到我的200个用户示例,我应该选择什么选项?

Azure SQL数据库链接

谢谢

编辑

关于定义的有用页面

然而什么是“最大会话”? 这是并发连接的数量吗?


The new new Azure SQL Database Services look good. However I am trying to work out how scalable they really are.

So, for example, assume a 200 concurrent user system.

For Standard

Workgroup and cloud applications with "multiple" concurrent transactions

For Premium

Mission-critical, high transactional volume with "many" concurrent users

What does "Multiple" and "Many" mean?

Also Standard/S1 offers 15 DTUs while Standard/S2 offers 50 DTUs. What does this mean?

Going back to my 200 user example, what option should I be going for?

Azure SQL Database Link

Thanks

EDIT

Useful page on definitions

However what is "max sessions"? Is this the number of concurrent connections?


原文:https://stackoverflow.com/questions/25548861
更新时间:2024-02-28 20:02

最满意答案

这里最简单的方法是设置ul liul li为90px 行高(作为你的ul高度)并将padding-top和bottom设置为0。

li { float: left; line-height: 90px; }
li a, .dropbtn {
     display: inline-block;
     color: black;
     text-align: center;
     padding: 0px 16px;
     text-decoration: none;
}

但现在您的下拉列表已被破坏。 我们通过设置.dropdown-content链接的行高和高度来修复它:

.dropdown-content a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     display: block;
     text-align: left;
     line-height: normal;
     height: auto;
}

现在它看起来很好,但你的图像没有正确对齐。 首先,我们需要为列表元素设置display:inline-block

li { float: left; line-height: 90px; display: inline-block; }

然后为image添加vertical-align:middle

li img { vertical-align: middle; }

你想知道的最后一件事是在第一个元素上不必要的悬停。 请记住,您可以使用nth-child,first-child,first-of-type与not selector结合来计算元素。 添加行:

li:first-child a:hover { background: none; }

现在一切都应该像你想要的那样工作。 无论如何,未来的提示很少。

  • 不要害怕使用div。 当您需要在网站上设置样式和控制元素时,它会有所帮助。 它只不过是一个容器。

  • 保持CSS清洁。 这是级联样式表。 你已经在你的CSS里面找到了一个样式,并且在这个样式之后,.dropbtn样式覆盖了前一个样式。

不要放弃和学习。 ;)


The easiest way here is set ul li and ul li a line-height for 90px (as your ul height) and set padding-top and bottom to 0.

li { float: left; line-height: 90px; }
li a, .dropbtn {
     display: inline-block;
     color: black;
     text-align: center;
     padding: 0px 16px;
     text-decoration: none;
}

But now your drop down list is broken. We fix it by setting line-height and height for .dropdown-content links like that:

.dropdown-content a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     display: block;
     text-align: left;
     line-height: normal;
     height: auto;
}

Now it looks fine, but your image is not aligned correctly. First of all, we need to set display: inline-block for our list elements.

li { float: left; line-height: 90px; display: inline-block; }

And then add vertical-align: middle for image

li img { vertical-align: middle; }

The last thing you want to know is unwanted hover on the first element. Remember that you can use nth-child, first-child, first-of-type combined with not selector to count elements. Add line:

li:first-child a:hover { background: none; }

And now everything should work just like you want it to. Anyway, few tips for future.

  • Don't be afraid of using divs. It helps, helps a lot when you need to style and control elements on website. It's nothing more than just a container.

  • Keep your CSS clean. It's Cascading Style Sheets. You've got in your CSS li a styles and after this li a, .dropbtn styles that override the previous one.

Don't give up and learn on. ;)

相关问答

更多
  • 将衬垫设置在身体上。 并且不要使用不推荐使用的center标签。 它工作http://jsfiddle.net/soov7k2k/ 。 您可能忘记正确定位导航栏了! position: fixed是工作的一半。 您需要在导航栏中添加top:0和left:0 ,否则它将无效。 看小提琴。 body { padding-top: 100px;//Or whatever the height of your navbar is. } Set padding-top to the body. And don't ...
  • 这里最简单的方法是设置ul li和ul li为90px 的行高(作为你的ul高度)并将padding-top和bottom设置为0。 li { float: left; line-height: 90px; } li a, .dropbtn { display: inline-block; color: black; text-align: center; padding: 0px 16px; text-decoration: none; } 但现在您的下 ...
  • 将左边距添加到波峰项目: margin-left: 96px; 。 但是,一旦所有菜单项都不适合窗口宽度,它就会移动,所以一定要注意这一点。 Add the left margin to the crest li item: margin-left: 96px;. However, it will move once all the menu items can't fit the window width, so make sure you take care of that too.
  • 空间在那里因为浏览器有默认的边距和填充。 所以你通过“CSS重置”删除填充。 我只是展示了删除所有内容的填充和边距的基本方法。 现在,您可以根据需要设置自己的自定义填充和边距。 我不知道你是否知道,但我想说浏览器附带默认的“用户代理”样式。 例如,对于大多数浏览器,默认字体大小为16px,但您可以像填充和边距一样覆盖它。 在你的情况下,我相信身体有8px的余量。 *{ margin: 0; padding: 0; } body { background-color:white; } ...
  • 相关文章

    更多
  • 微软Azure提供Hadoop集群管理和部署
  • HTML5 Web SQL Database 数据库
  • 《Oracle Database 11g SQL开发指南》(Oracle Database 11g SQL )扫描版[PDF]
  • 转《小布老师 Oracle.Database.11g.SQL 基础入门系列培训》
  • 锋利的SQL
  • 《Oracle Database 10g DBA手册-管理健壮的、可扩展的、高可用的Oracle数据》(Oracle Database 10g DBA Handbook)扫描版[PDF]
  • 《Oracle Database 11g DBA手册》(Oracle Database 11g DBA Handbook )扫描版[PDF]
  • Mysql错误:Ignoring query to other database解决方法
  • Hadoop+SQL Server+Excel=大数据分析
  • sql问题
  • 最新问答

    更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。