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
group by type
having type in (‘MEMORYCLERK_BHF’,‘MEMORYCLERK_SQLBUFFERPOOL’)
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 http://www.smooth1.co.uk/installs.html
Currently SQL Server,DB2 10.5,Oracle 126.96.36.199,SAP ASE 16.0,Informix 12.10.FC4
DBA Survivor – Become a Rockstar DBA .
All DMVs are under sys schema.
Wait stats for memory
Wait stats for CPU
Documented at http://msdn.microsoft.com/en-us/library/hh212945.aspx
Securing the Tabular BI Semantic Model whitepaper http://msdn.microsoft.com/en-us/library/jj127437.aspx
Securing your tabular model http://blogs.msdn.com/b/cathyk/archive/2011/11/21/securing-your-tabular-model.aspx
Getting started with Tabular Model in SQL Server 2012 http://www.mssqltips.com/sqlservertip/2821/getting-started-with-tabular-model-in-sql-server-2012–part-1/
Roles (SSAS Tabular) http://msdn.microsoft.com/en-us/library/hh213165.aspx – includes row filters and dynamic security.
Perspectives – like views http://msdn.microsoft.com/en-us/library/hh230816%28v=sql.110%29.aspx
BISM – Tabular Security Model http://paultebraak.wordpress.com/2011/09/04/bism-%E2%80%93-tabular-security-model – more on row filters.
Implement Dynamic Security by Using Row Filters http://msdn.microsoft.com/en-us/library/hh479759%28v=SQL.110%29.aspx
SQL Server 2014 Buffer Pool Extension onto SSD – http://www.smooth1.co.uk/sqlserver2014/bpe_ssd.html
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 http://www.smooth1.co.uk/sqlserver2014/t_sql_enhancements.html
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:
/****** Object: ResourcePool [PoolAdmin] Script Date: 05/05/2014 10:17:42 ******/
CREATE RESOURCE POOL [PoolAdmin] WITH(min_cpu_percent=0,
AFFINITY SCHEDULER = AUTO
I have mail Mark Souza (General Manager -Data Platform Group) for an update when these will appear in the properties page.
The slides for my talk at London SQL Supper 22nd April 2014 are at http://www.smooth1.co.uk/sqlserver2014/2014NewFeatures.zip
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 – http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017687
Questions from my presentation at SQL Saturday Exeter 2014:
1. Backup to Azure – Backup to URL https or http?
“Here is a sample URL value: http[s]://ACCOUNTNAME.Blob.core.windows.net/<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. http://blogs.msdn.com/b/psssql/archive/2014/04/01/sql-server-2014-s-new-cardinality-estimator-part-1.aspx
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 http://msdn.microsoft.com/en-us/library/bb510411(v=sql.120).aspx#CCI. Actually only the Storage Propery is new http://www.smooth1.co.uk/sqlserver2014/csi.html