TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Things Developers Should Know About SQL Server (2013)

136 点作者 neiesc超过 8 年前

12 条评论

BrentOzar超过 8 年前
Daaaang, on the HN front page. Glad you liked it.<p>I don&#x27;t wanna take money from HN folks if I can avoid it though - if you wanna get the course listed on the post, use coupon code hnfrontpage to get it free this week. Enjoy.<p>(And if you&#x27;re a bootstrapped startup using MSSQL, holler - I have a soft spot in my heart for that, and I&#x27;ll do what I can to help.)
评论 #13626352 未加载
whatnotests超过 8 年前
&gt; Avoid ORDER BY; sort in the app instead.<p>If you have unlimited memory, network bandwidth isn&#x27;t a problem and the additional garbage-collection won&#x27;t kill your performance.<p>Otherwise, yeah, totally.
评论 #13628003 未加载
评论 #13629406 未加载
评论 #13626686 未加载
评论 #13626547 未加载
alecco超过 8 年前
The avoid ORDER BY is the main reason not to fall into per-cpu licensing (most commercial data engines). That&#x27;s the licensing trap they make.<p>Also it&#x27;s the same for other things requiring memory&#x2F;cpu like JOIN and all that. You don&#x27;t want to end up walking on eggshells.
评论 #13628395 未加载
kbaker超过 8 年前
Also, [2013]. Lots of things have changed in the DB market over the past 4 years!
评论 #13628006 未加载
评论 #13627666 未加载
__s超过 8 年前
Function tip should give special mention to inline table valued functions
scarface74超过 8 年前
If you are doing an order by on a single table on an indexed column, is that expensive? If you are doing an order by on a clustered index, wouldn&#x27;t the order by be essentially free?<p>But I never thought about it, but it does make perfect sense to sort on the app server and filter on the database. When hosted locally, it&#x27;s practically nothing in terms of money, time to spin up another API server and add it to the load balancer compared to another SQL Server instance.
评论 #13630524 未加载
cyberferret超过 8 年前
Nice article, and well done to the OP, but this post has actually reinforced why Microsoft&#x27;s SQL Server is the LEAST favourite SQL database I have ever worked with in over 30 years.<p>Routines tasks like setting granular permissions for users is a major exercise in confusion and &quot;Lets see if this actually works like we expect it to...&quot;<p>That we have to use a completely separate database collections in MS-SQL for temporary tables, rather than have built in memory or non volatile tables as part of the core system is mystifying indeed.
评论 #13626579 未加载
jarulraj超过 8 年前
Any war stories on the SQL Server Database Engine Tuning Advisor? How significantly has it affected the performance of the system?
brightball超过 8 年前
I learned a lot from this, so thank you.
guard-of-terra超过 8 年前
Which one?
LoSboccacc超过 8 年前
&quot;This is the postgres installer&quot;
exclusiv超过 8 年前
&gt; 7. SQL functions rarely perform well.<p>So SQL Server is not good at SQL.<p>How does it compare performance wise between alternative SQL DBs?
评论 #13627694 未加载