Source: http://learnandremember.blogspot.jp/2010_01_01_archive.html Requisites: 1) RAID protection for dataWe'll use ZFS as filesystem. RAIDZ is somewhat akin to RAID5 and should provide better performance than other types of software RAID5 with seve…
4.1 Storage requirements for the master dataset To determine the requirements for data storage, you must consider how your data will be written and how it will be read. The role of the batch layer within the Lambda Architecture affects both values. I…
本文摘译自 Netflix TechBlog : Scaling Time Series Data Storage - Part I 重点:扩容.缓存.冷热分区.分块. 时序数据 - 会员观看历史 Netflix的用户,每天观看1.4亿小时的内容.每位用户在查看影片和保存观看记录的时候,都会提供几个数据点.Netflix分析这些观看数据并且提供实时的精确书签和个性化推荐. 观看历史数据在如下三个方面增长: 随着时间进展,每位会员都会有更多的观看数据需要被保存. 随着会员数量增长,更多的会员的观看…
运行Window Arzure 项目,报如下错误: Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please co…
2009年04月28日 Top 10 steps to optimize data access in SQL Server: Part I (use indexing) 2009年06月01日 Top 10 steps to optimize data access in SQL Server: Part II (Re-factor TSQL and apply best practices) 2009年06月08日 Top 10 steps to optimize data access i…
.NET Compact Framework Data Provider for SQL Server Mobile Standard Data Source=MyData.sdf;Persist Security Info=False;   SQL Server Compact How to specify the location of the SDF file Often times the .SDF database is not running in the current direc…
Learn how to build a simple Node.js web server with Docker. In this lesson, we'll create a Dockerfile for a simple Node.js script, copy and build it into a Docker image, and start a container to run the web server. We have a simple express server: //…
Dynamic Data Masking (DDM) is a new security feature in Microsoft SQL Server 2016 and Azure SQL DB. The main documentation is here(also see link under Resources at end). This post is a quick how-to intro to DDM, including applying it in a database an…
数据页和数据行 数据库中的空间被划分为逻辑8KB的页面.这些页面是以0开始的连续编号,并且可以通过指定文件ID和页号来引用它们.页面编号都是连续的,这样当SQL Server增长数据库文件时,从文件中的最高页面编号+1开始对新页面进行编号.类似地,当SQL Server收缩文件时,它将从文件中删除最高数量的页面. SQL SERVER中数据储存 一般来说,有三种不同的方法或技术,SQL Server存储和处理数据库中的数据.与经典的基于行的存储,数据存储在数据行,将所有列的数据结合在一起. SQ…
90% 是Heap table Cluster 集群表, index-organized table: 就是把索引和表 和二为一了. partitioned table:表非常大, 逻辑上是一个大表, 每个partition 又是一个小表 rows read in groups : 是不是一起读, 可以考虑 claster 表 unclustered: 一个Block 里只存储一个表的数据 可以看到图, 集群表的多个表数据是放在一个block上的. 首先创建一个集群, 创建cluster时可以指…