Here are my favorite links from the last week, on SQL Server, database design and web design . There are a few great articles on Hekaton, its advantages, compromises and even a guide on how to convert stored procedures to take advantage of its huge performance improvement.
- Merrill Aldrich’s Why Hekaton In-Memory OLTP Truly is Revolutionary provides an excellent analysis of the most relevant features of the in memory OLTP engine component in SQL Server 2014 and explains why he considers them truly revolutionary – “the most significant change in database tech I have seen”.
- Tony Davis’s What the Hekaton? addresses the compromises required to achieve the huge performance improvement brought by Hekaton, especially those related to referential and data integrity and suggests a possible strategy to use Hekaton without compromising data integrity.
- Kalen Delaney’s Geek City: SQL Server 2014 In-Memory OLTP (“Hekaton”) Whitepaper for CTP2 provides a download link for a technical paper on Hekaton for SQL Server 2014 CTP2. If you are interested in the motivation and all the technical details of the Hekaton implementation for CTP2 (already available to download or in an Azure VM near you), this is the paper to read.
- Microsoft’s SQL Server Team’s The 411 on the Microsoft SQL Server 2014 In-Memory OLTP Blog Series includes links to multiple articles on Hekaton. It’s a very comprehensive and interesting series of posts.
- To conclude the list of articles related to Hekaton, Daniel Farina’s Migrate to Natively Compiled SQL Server Stored Procedures for Hekaton addresses the issue of migrating stored procedures that reference memory-optimized tables to native compiled ones. The articles gives a full explanation of why this migration should be done, what can be and cannot be done with a natively compiled stored procedure and multiple other things to know about this type of stored procedures. It is an excellent read.
- Michael Zilberstein’s sys.dm_exec_query_profiles – FAQ provides some answers to questions about the sys.dm_exec_query_profiles DMV in SQL Server 2014, that generated quite a bit of excitement about its potential to provide information about queries as they are executed. The implementation of the DMV both in CTP1 and CTP2 seems to have failed expectations, but there is hope for CTP3.
- Jason Strate’s Webcast Follow Up: Choosing Your Clustered Index provides a set of resources on choosing clustered indexes, including a recording of the original webcast, a link to the presentation materials and code and the post webcast Q&A. Very interesting material.
- Solomon Rutzky’s Disk is Cheap! O RLY?, although originally written in 2010, is very much relevant still. The article analyzes the actual cost that may be incurred by choosing the wrong data types, both financially and in terms of performance. The author provides a detailed rationale for being frugal with data types and provides a few simple but valuable recommendations for table design. Really.
- Mansi Narula’s A Middle Approach to Schema Design in OLTP Applications addresses the need felt by eBay to find a way to respond to a huge growth in the transactional demands on eBay’s databases. The solution chosen was a schema redesign, involving denormalization, that resulted in meaningful performance improvements. The author analyzes the vantages and disadvantages of denormalization and proposes a middle approach, considering the lessons learned during this process. An interesting read.
- Thierry Koblentz’s Challenging CSS Best Practices is a very interesting and controversial article, where some of the standard practices in web design, based on the “Separation of Concerns” principle are shown to have problems. The author provides alternative solutions to address the perceived problems. The discussion that ensues in the comments to the article is also very interesting.
- Nick Pettit’s Bootstrap 3: Why all the hype? describes some of Bootstrap 3 most impressive features, in the author’s opinion. These include the new flat design, the new grid system with different levels of “responsiveness”, the Carousel slider, the responsive models and the possibility to disable the responsive features, if anyone would ever want that. A good read.
- Joe Hewitson’s Foundation: a Compelling Alternative to Bootstrap describes the reason why Foundation, a front end framework, has been preferred by some developers to the hugely popular Bootstrap.
- Just before concluding this week’s selection of links, Phil Factor’s A Knight’s Tale addresses some of the lessons to be learned from Knight’s Capital loss of almost half a billion dollars,as a result of a succession of IT bad practices, culminating with a deployment gone wrong.
- To finish in a light mood, Web Design Dev’s Top 20 New Clients From Hell Stories from Designers is bound to extract a good laugh. A very funny read.
That’s all for this week. Thank you for reading.