sql azure for isug(sql server israeli user group)

Post on 16-Apr-2017

227 Views

Category:

Software

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

All You Wanted to Know about SQL Azure,

but were Afraid to Ask@krisherpi

. . .www sqlazure co il.pinikr@etoro com

02.11.15

2

Regulations vs Social DataHybrid infrastructure

3

Goals:For who ever worked/did not work with AZURE.•What is PAAS • Azure and DB’s:• SLA – 99.99% (VM is 99.95%)• Portal, DTU, versions, Security,

•What are our limitations as DBA• Price - Cost• Cons• Pros

4

5

Azure Data offers (not in scope)

• Storage• VM• DocumentDB - nosql• Tables - key-value nosql• Hadoop• BI• ETL’s

6

Names–PAAS in Azure

•SQL Azure•Azure SQL•SQL DB•SQL Database

7

Azure Portals• Old Portal (azure.com).

• Left bar.• Main body.• Folders in main body.• Toolbars.

• New portal – new concept- ibiza(portal.azure.com).• Left bar.• Pin to task bar.• Main body.• Blades.

• Upper toolbar.• Blades….

8

What can we do in Azure Portals• Security.

• Who can connect to DB – FW(Server layer).• Who can do what in the portal.• UN/Pass admin.

• Properties.• Size• tier

• Some configurations.• Auditing• Security features enabling• DR

• Monitoring.• Managing Alerts.• Restores / Copy• Delete DB

9

What is Server• Virtual entity : •Capacity.•FW rules.•Auditing.•Admin•Portal Roles

10

What is Server

11

Connecting to SQL Azure

•SSMS. •VS. •PS. •Free tools (web, apps).

12

DTU in SQL Azure

•What is DTU (Database Throughput Unit) - DTUs are based on a blended measure of CPU, memory, reads, and writes. As DTUs increase, the power offered by the performance level increases.

•How to monitor it – Portal, T-SQL•How to figure what is based on – T-SQL.

13

Versions of SQL Azure•@@version.•DATABASEPROPERTYEX(@dbname, 'Version'). •Tiers•OLD - Business / Web.•V2 - Basic / S1 / S2 / P1 / P2 / P3.•V12 - Basic / S1 / S2 /s3 / P1 / P2 / P4 / P6 / P11.

14

Versions of SQL Azure

15

DR \ Backups

•Restore to point in time•Geo-Replica :•Standard (75% of the Price, Not Readable)

•Premium•No backups only ‘Copy’•Import \ Export

16

Elastic Pools (in short)

•Concept.•Create.•Jobs.•Pricing

17

What to do with what we DO NOT have - DBA

•Jobs – From on premise / Automation.•Cross DB Query (Now we have).•Error Log – Query.•DR – Script for Fail Over

18

What to do with what we DO NOT have - Dev

• Retry policy• Short Transactions• Minimized connections

19

Security•TDE•Always Encrypted•RLS•Data Masking•AD•Logins•Audit \ Threat Detection

20

21

More•Master DB - queries•Query Store• Index Advisor• In-Memory OLTP•EE – to blob/buffer (Already PP)•2016 Stretch DB into SQL Azure

22

Stories• Huge transaction by developer, He changed tier during the transaction – Need short transactions, every

transaction goes to 3 replicas… sync..

• Changes that are not documented in V2 and V12 (Bulk insert to tempDB due to scratch DB feature) –

Need to be aware.

• Social Feed into shards.

• Archive – DB size limit

• Pricing – developers create objects as they want…

• SAAS data to On-Premise: Mobius – Anonymous Data.

23

So.. What's Next

•Transactional replication(Already PP)•Security•SQL DWH•Multi DB’s Query (Already PP)

24

Goals•What is PAAS • Azure and DB’s:• SLA – 99.99% (vm is 99.95%)• Portal, DTU, versions, Security,

•What are our limitations as DBA• Price - Cost• Cons• Pros

top related