Cardiff User Group Talk June 24 2014 Speaking Questions

Answer to Questions for Cardiff User Group Talk Jun 24 2014.

1. Backup Encryption in 2014 – Is this an Enterprise only feature?

SQL Server Express and SQL Server Web do not support encryption during backup. However restoring from an encrypted backup to an instance of SQL Server Express or SQL Server Web is supported.

2. SSD Buffer Pool Extension – 32x vs 4x how much addition memory is used inside SQL Server?

There a 2 structures per page in the bufferpool, 1 ‘BUF’ header (~100 bytes,corresponds to sys.dm_os_buffer_descriptors which is a list of BUF structures for all hashed buffers). and the actual page itself.

For pages in the bufferpool extension file they only need a ‘BUF’ structure in memory which contains file_id,page_id and is_in_bpool_extension =1. This points to the actual page in the BPE file!

Therefore only additonal small ‘BUF’ header structures are needed for a large bufferpool file.

NOTE: Bufferpool memory can also be seen via sys.dm_os_memory_clerks type=’MEMORYCLERK_SQLBUFFERPOOL’.

select type,sum(pages_kb) pages_kb

from sys.dm_os_memory_clerks

group by type


order by type

3. SSD or fast disk?

SSD may well be quicker even than fast disk as it can be larger then the cache on a disk array.

Fast Disks will help with writes which SSDs do not.

Database product installation FAQ

Database product installation FAQ

Currently SQL Server,DB2 10.5,Oracle,SAP ASE 16.0,Informix 12.10.FC4

Currently reading…


DBA Survivor – Become a Rockstar DBA .

All DMVs are under sys schema.

Wait stats for memory



– LCM_M_*




Wait stats for CPU




SQL Profile


SQL Server 2012 Tabular Data Model

Documented at

Securing the Tabular BI Semantic Model whitepaper

Securing your tabular model

Getting started with Tabular Model in SQL Server 2012–part-1/

Roles (SSAS Tabular) – includes row filters and dynamic security.

Perspectives – like views

BISM – Tabular Security Model – more on row filters.

Implement Dynamic Security by Using Row Filters

(DMV Question)

SQL Server 2014 Buffer Pool Extension onto SSD.

SQL Server 2014 Buffer Pool Extension onto SSD –

SQL Supper 22nd April 2014 Questions.

1. To install SQL Server 2014 documentation locally?

SSMS -> Help -> Manage Help Settings -> Help Library Manager then choose  Install Content from online

Under SQL Server 2014 Add  Books Online, Developer Reference and Installation.

You can also check for updates online as well.

2. What is new in SQL Server 2014 Integration Services?

As per books online nothing! However Professional Microsoft SQL Server 2014 Integration Services

does mention 2014 enhancements although it says they are from codeplex and not integrated into the base product yet.

3. What is new in Report Services?

Books Online only mentioned addition of support for Chrome as a browser!

4. What T-SQL enhancements are there in 2014?

This is covered at

5. Resource Governor for physical IO, the IO settings do not appear in SSMS.

If you run ‘script resource pool as’ the settings are visible:

USE [master]

/****** Object:  ResourcePool [PoolAdmin]    Script Date: 05/05/2014 10:17:42 ******/
CREATE RESOURCE POOL [PoolAdmin] WITH(min_cpu_percent=0,


I have mail Mark Souza (General Manager -Data Platform Group) for an update when these will appear in the properties page.

London SQL Supper 22nd April 2014 slides.

The slides for my talk at London SQL Supper 22nd April 2014 are at

Data Compression & TDE

SQL Server 2014 installation on Windows 2012 R2 on VMWare 10.

 Windows 2012 R2.evaluation in VMWare 10.

– disable floppy drive to avoid License Terms error

SQL Server 2014 installation on Windows 2012 R2.evaluation

– Server Manager -> Local Server (on left) -> Manage (top right) -> Add Roles and Features -> Features screen -> .NET Framework 3.5 features.-> Specify alternate source path -> D:\Sources\Sxs.


dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess

If you get that “vmware tools installation cannot be started manually while easy install is in progress” then change floppy drive back to a physical drive –

SQL Saturday Exeter 2014 (22 March 2014) Speaker Answers

Questions from my presentation at SQL Saturday Exeter 2014:

1. Backup to Azure – Backup to URL https or http?

As per

“Here is a sample URL value: http[s]://<CONTAINER>/<FILENAME.bak>. HTTPS is not required, but is recommended.

2. What happens if you turn on 2014 trace flags 2312 (force new cardinality estimator) and 9481 (force old cardinality estimator) at the same time do you get an error?

No, niether is used and the database compatability level determines the cardinality estimator that is used.

Is the showplan really changes for columnstore indexes in 2014? ” The EstimatedExecutionMode and ActualExecutionMode properties have two possible values: Batch or Row. The Storage property has two possible values: RowStore and ColumnStore.” Surely that was in 2012?

Books online still says that both EstimatedExecutionMode/ActualExecution Mode and Storage properties are new in 2014 Actually only the Storage Propery is new