SlideShare a Scribd company logo
28th
SQL Night
WEBINAR
Athens May14,2016
StretchDB
in SQL Server 2016
PresenterInfo
1982 I started working with computers
1988 I started my professional career in computers
industry.
1996 I started working with SQL Server 6.0
1998 I earned my first certification at Microsoft as
Microsoft Certified Solution Developer (3rd in
Greece)
I started my career as Microsoft Certified Trainer
(MCT) with more than 25.000 hours of training until
now!
2010 I became for first time Microsoft MVP on SQL
Server
I created the SQL School Greece www.sqlschool.gr
2012 I became MCT Regional Lead by Microsoft Learning
Program.
2013 I was certified as MCSE : Data Platform & Business
Intelligence
Antonios Chatzipavlis
Database Architect,
SQL Server Evangelist
MCT, MCSE, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS,
MCAD, MCP, OCA, ITIL-F
SQLschool.gr
Team
Antonios Chatzipavlis
SQL Server Evangelist • Trainer
Vassilis Ioannidis
SQL Server Expert • Trainer
Fivi Panopoulou
System Engineer • Speaker
Sotiris Karras
System Engineer • Speaker
Followus
insocialmedia
@antoniosch / @sqlschool
fb/sqlschoolgr
yt/c/SqlschoolGr
SQL School Greece group
Helpneeded?
help@sqlschool.gr
Presentation
Content
 Introduction of Stretch Database?
 Limitations and blocking issues
 Stretch Database Pricing
 Backup and Restore of Stretch DB
 FQA
Introduction of Stretch Database
 What is the Stretch database?
 What are the benefits of Stretch database?
 What does Stretch database do?
 Is Stretch database for you?
 What kind of databases and tables are candidates for
Stretch database?
 Stretch database Architecture
 Security and Data Access
On-premises
SQL Server
WhatistheStretch
Database?
Hot/Online
Business data
Cold/Closed
Business data
Trickle data move
Transparent remote
query processing
 Provides cost-effective availability for cold data
 Doesn’t require changes to queries or applications
 Streamlines on-premises data maintenance
 Keeps your data secure even during migration
What are the benefitsof StretchDatabase?
 Can migrate the entire table
 If you store historical data in a separate table
 Can specify a filter predicate to select
the rows to migrate
 If your table contains both historical and current data
 Ensures that no data is lost
 If a failure occurs during migration.
 It also has retry logic to handle connection issues that may occur
during migration.
 A dynamic management view provides the status of migration.
What does Stretchdatabase do?
 You can pause data migration
 To troubleshoot problems on the local server
 To maximize the available network bandwidth.
 You don't have to change existing queries and client apps.
 You continue to have seamless access to both local and remote data, even during data migration.
 There is a small amount of latency for remote queries, but you only encounter this latency when you query the historical
data.
IsStretchDatabaseforyou?
As Decision Maker As DBA
I have to keep transactional data
for a long time.
The size of my tables is getting out
of control.
Sometimes I have to query the
historical data.
My users say that they want access
to historical data, but they only
rarely use it.
I have apps, including older apps,
that I don’t want to update.
I have to keep buying and adding
more storage.
I want to find a way to save money
on storage.
I can’t backup or restore such large
tables within the SLA.
 Transactional databases with large amounts of historical
data
 Temporal table feature of SQL Server
 Use Stretch Database to migrate all or part of the associated history table to
cost-effective storage in Azure.
 Use Stretch Database Advisor to identify databases and
tables for Stretch Database.
What kind of databasesand tables are candidatesfor StretchDatabase?
StretchDatabaseArchitecture
Security and Data Access
 Only system processes can access the linked server
definition behind Stretch Database.
 User logins can't issue queries through the linked server definition to the remote
endpoint.
 Stretch Database does not change the permissions model
of an existing database.
 User logins can query the data in a table with Stretch Database enabled through the
local database.
 The local database performs permission checks for any
actions initiated by the user in the same way as it does for
any other objects.
 If you're authorized to access the table with Stretch Database enabled, you have
access to all its contents for which you're authorized regardless of where the data
physically resides
Limitations and blocking issues
 Blocking issues
 Limitations
Blockingissues Table properties • More than 1,023 columns
• More than 998 indexes
• Tables that contain FILESTREAM data
• FileTables
• Replicated tables
• Tables that are actively using Change Tracking or Change Data Capture
• Memory-optimized tables
Data types and
column
properties
• text, ntext and image
• timestamp
• sql_variant
• XML
• geometry
• geography
• hierarchyid
• CLR user-defined types (UDTs)
Column types • COLUMN_SET
• Computed columns
Constraints • Check constraints
• Default constraints
• Foreign key constraints that reference the table
• In a parent-child relationship (for example, Order and Order_Detail), you can stretch the child table
(Order_Detail) but not the parent table (Order).
Indexes • Full text indexes
• XML indexes
• Spatial indexes
• Indexed views that reference the table
 UNIQUE constraints and PRIMARY KEY constraints are not
enforced in the Azure table that contains the migrated data
from a Stretch-enabled table.
 You can't UPDATE or DELETE rows in the Azure table that
contains the migrated data from a Stretch-enabled table
 You can't INSERT rows into a Stretch-enabled table on a
linked server.
 You can't create an index for a view that includes Stretch-
enabled tables.
 Filters on SQL Server indexes are not propagated to the
remote table.
Limitations
Stretch Database in Action
Stretch Database Pricing
StretchDatabasePricing
DSU PRICE
100 €1.0541/hr (~€784/mo)
200 €2.1083/hr (~€1,569/mo)
300 €3.1624/hr (~€2,353/mo)
400 €4.2165/hr (~€3,137/mo)
500 €5.2706/hr (~€3,921/mo)
600 €6.3248/hr (~€4,706/mo)
1000 €10.54/hr (~€7,843/mo)
1200 €12.65/hr (~€9,411/mo)
1500 €15.81/hr (~€11,764/mo)
2000 €21.08/hr (~€15,685/mo)
What is a DSU ?
(Database Stretch Unit)
As part of providing a more predictable
performance experience for customers, SQL
Stretch Database is introducing the Database
Stretch Unit (DSU).
A DSU represents the power of the query and
data migration performance and is quantified by
workload objectives: how fast rows are migrated
to Azure, written, read and computed against.
• Storage rates are based on standard RA-GRS Page Blob rates.
No preview discounts are applied to the storage charges.
See storage pricing page for details.
• Storage transactions are not billed; customers only pay for
data stored, not storage transactions.
• Outbound data transfers are charged at regular data
transfer rates.
Backup and Restore of Stretch DB
 Backup Stretch database
 Restore Stretch database
 You can continue to use the methods that you currently
use
 A backup of a Stretch-enabled database is a shallow
backup that does not include the data migrated to the
remote server.
 The backups for Azure SQL Databases for Basic, Standard,
and Premium service tiers are taken every hour.
 The backup retention period varies depending on the service tier level.
 Basic -> 7 days
 Standard -> 14 days
 Premium -> 35 days.
 You can restore Azure SQL Databases by using the Microsoft Azure web portal.
Backup StretchDatabase
 Restore the database from a backup.
 Run the stored procedure sys.sp_rda_reauthorize_db to
reconnect the local Stretch-enabled database to Azure.
 Provide the existing database scoped credential as a sysname or a varchar(128)
value. Don't use varchar(max)
 You can look up the credential name in the view sys.database_scoped_credentials
 Specify whether to make a copy of the remote data and connect to the copy.
Restore StretchDatabase
DECLARE @credentialName nvarchar(128);
SET @credentialName = N'<existing_database_scoped_credential_name>';
EXEC sp_rda_reauthorize_db @credential = @credentialName, @with_copy = 0;
Open the catalog views sys.databases and sys.tables to see
info about Stretch-enabled SQL Server databases and
tables.
Get infoabout local databases and tables enabledfor StretchDatabase
Open the catalog views sys.remote_data_archive_databases
and sys.remote_data_archive_tables to see info about the
remote databases and tables in which migrated data is
stored.
Get infoabout remotedatabases and tables used by StretchDatabase
Open the catalog view sys.remote_data_archive_tables and
check the value of the filter_predicate column to identify
the function that Stretch Database is using to select rows to
migrate.
If the value is null, the entire table is eligible to be migrated.
Checkthe filterpredicateappliedto a table
Stretch Monitor for a database in SSMS
Or
sys.dm_db_rda_migration_status DMV to see how many
batches and rows of data have been migrated
Checkthe status of data migration
Queries that include my Stretch-enabled table are slow
If query performance degrades significantly, review the
following possible problems.
Is your Azure server in a different geographical region than your SQL
Server? Configure your Azure server to be in the same geographical region as
your SQL Server to reduce network latency.
Your network conditions may have degraded. Contact your network
administrator for info about recent issues or outages.
About queryperformance
S ELECT KN OWLE D GE FROM SQL SE RVE R
Copyright © 2015 SQLschool.gr. All right reserved.
PRESENTER MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION

More Related Content

What's hot

SQL Server 2016 new features
SQL Server 2016 new featuresSQL Server 2016 new features
SQL Server 2016 new features
SpanishPASSVC
 
What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016
Onomi
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016
Softchoice Corporation
 
Row level security
Row level securityRow level security
Row level security
Antonios Chatzipavlis
 
Using extended events for troubleshooting sql server
Using extended events for troubleshooting sql serverUsing extended events for troubleshooting sql server
Using extended events for troubleshooting sql server
Antonios Chatzipavlis
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL Server
Antonios Chatzipavlis
 
Stretch Database
Stretch DatabaseStretch Database
Stretch Database
SolidQ
 
Introduction to Machine Learning on Azure
Introduction to Machine Learning on AzureIntroduction to Machine Learning on Azure
Introduction to Machine Learning on Azure
Antonios Chatzipavlis
 
SQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite ThingsSQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite Things
Hostway|HOSTING
 
SQL Server 2016 Editions
SQL Server 2016 Editions SQL Server 2016 Editions
SQL Server 2016 Editions
Onomi
 
Introduction to snowflake
Introduction to snowflakeIntroduction to snowflake
Introduction to snowflake
Sunil Gurav
 
Exploring sql server 2016 bi
Exploring sql server 2016 biExploring sql server 2016 bi
Exploring sql server 2016 bi
Antonios Chatzipavlis
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Features
aminmesbahi
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
MSDEVMTL
 
A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...
Chad Petrovay
 
SQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and EnhancementsSQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and Enhancements
John Martin
 
Troubleshooting sql server
Troubleshooting sql serverTroubleshooting sql server
Troubleshooting sql server
Antonios Chatzipavlis
 
World2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewWorld2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewFarah Omer
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Antonios Chatzipavlis
 
Data virtualization using polybase
Data virtualization using polybaseData virtualization using polybase
Data virtualization using polybase
Antonios Chatzipavlis
 

What's hot (20)

SQL Server 2016 new features
SQL Server 2016 new featuresSQL Server 2016 new features
SQL Server 2016 new features
 
What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016
 
Row level security
Row level securityRow level security
Row level security
 
Using extended events for troubleshooting sql server
Using extended events for troubleshooting sql serverUsing extended events for troubleshooting sql server
Using extended events for troubleshooting sql server
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL Server
 
Stretch Database
Stretch DatabaseStretch Database
Stretch Database
 
Introduction to Machine Learning on Azure
Introduction to Machine Learning on AzureIntroduction to Machine Learning on Azure
Introduction to Machine Learning on Azure
 
SQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite ThingsSQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite Things
 
SQL Server 2016 Editions
SQL Server 2016 Editions SQL Server 2016 Editions
SQL Server 2016 Editions
 
Introduction to snowflake
Introduction to snowflakeIntroduction to snowflake
Introduction to snowflake
 
Exploring sql server 2016 bi
Exploring sql server 2016 biExploring sql server 2016 bi
Exploring sql server 2016 bi
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Features
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
 
A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...
 
SQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and EnhancementsSQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and Enhancements
 
Troubleshooting sql server
Troubleshooting sql serverTroubleshooting sql server
Troubleshooting sql server
 
World2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverviewWorld2016_T5_S7_TeradataFunctionalOverview
World2016_T5_S7_TeradataFunctionalOverview
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
Data virtualization using polybase
Data virtualization using polybaseData virtualization using polybase
Data virtualization using polybase
 

Viewers also liked

Department Row Level Security Customization For People Soft General Ledger.Ppt
Department Row Level Security Customization For People Soft General Ledger.PptDepartment Row Level Security Customization For People Soft General Ledger.Ppt
Department Row Level Security Customization For People Soft General Ledger.Ppt
wonga6
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyAntonios Chatzipavlis
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
Antonios Chatzipavlis
 
Project 2 Final presentation. December 2016
Project 2 Final presentation. December 2016Project 2 Final presentation. December 2016
Project 2 Final presentation. December 2016
enterpriseresearchcentre
 
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
What's New for the BI workload in SharePoint 2016 and SQL Server 2016What's New for the BI workload in SharePoint 2016 and SQL Server 2016
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
SPC Adriatics
 
Dynamic data masking sql server 2016
Dynamic data masking sql server 2016Dynamic data masking sql server 2016
Dynamic data masking sql server 2016
Antonios Chatzipavlis
 
Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
Antonios Chatzipavlis
 
How to secure your data in Office 365
How to secure your data in Office 365 How to secure your data in Office 365
How to secure your data in Office 365
SPC Adriatics
 
Automating Big Data (Dec-2016)
Automating Big Data  (Dec-2016)Automating Big Data  (Dec-2016)
Automating Big Data (Dec-2016)
Seth Familian
 
DQS & MDS in SQL Server 2016
DQS & MDS in SQL Server 2016DQS & MDS in SQL Server 2016
DQS & MDS in SQL Server 2016
Sébastien Notebaert
 
Working With Big Data - Nov 2016
Working With Big Data - Nov 2016Working With Big Data - Nov 2016
Working With Big Data - Nov 2016
Seth Familian
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
Aaron Irizarry
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
Seth Familian
 

Viewers also liked (13)

Department Row Level Security Customization For People Soft General Ledger.Ppt
Department Row Level Security Customization For People Soft General Ledger.PptDepartment Row Level Security Customization For People Soft General Ledger.Ppt
Department Row Level Security Customization For People Soft General Ledger.Ppt
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
 
Project 2 Final presentation. December 2016
Project 2 Final presentation. December 2016Project 2 Final presentation. December 2016
Project 2 Final presentation. December 2016
 
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
What's New for the BI workload in SharePoint 2016 and SQL Server 2016What's New for the BI workload in SharePoint 2016 and SQL Server 2016
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
 
Dynamic data masking sql server 2016
Dynamic data masking sql server 2016Dynamic data masking sql server 2016
Dynamic data masking sql server 2016
 
Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
 
How to secure your data in Office 365
How to secure your data in Office 365 How to secure your data in Office 365
How to secure your data in Office 365
 
Automating Big Data (Dec-2016)
Automating Big Data  (Dec-2016)Automating Big Data  (Dec-2016)
Automating Big Data (Dec-2016)
 
DQS & MDS in SQL Server 2016
DQS & MDS in SQL Server 2016DQS & MDS in SQL Server 2016
DQS & MDS in SQL Server 2016
 
Working With Big Data - Nov 2016
Working With Big Data - Nov 2016Working With Big Data - Nov 2016
Working With Big Data - Nov 2016
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Similar to Stretch db sql server 2016 (sn0028)

SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB
Shy Engelberg
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016
Marcos Freccia
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
kaashiv1
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6
kaashiv1
 
Ebook6
Ebook6Ebook6
Ebook6
kaashiv1
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
kaashiv1
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
kaashiv1
 
DBArtisan XE6 Datasheet
DBArtisan XE6 DatasheetDBArtisan XE6 Datasheet
DBArtisan XE6 Datasheet
Embarcadero Technologies
 
Sql interview question part 12
Sql interview question part 12Sql interview question part 12
Sql interview question part 12
kaashiv1
 
Sql interview question part 12
Sql interview question part 12Sql interview question part 12
Sql interview question part 12kaashiv1
 
What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016
James Serra
 
Migrate SQL Workloads to Azure
Migrate SQL Workloads to AzureMigrate SQL Workloads to Azure
Migrate SQL Workloads to Azure
Antonios Chatzipavlis
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander ZaitsevMigration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Altinity Ltd
 
Introduction to Azure Data Lake
Introduction to Azure Data LakeIntroduction to Azure Data Lake
Introduction to Azure Data Lake
Antonios Chatzipavlis
 
Sql interview question part 10
Sql interview question part 10Sql interview question part 10
Sql interview question part 10
kaashiv1
 
Sql interview question part 5
Sql interview question part 5Sql interview question part 5
Sql interview question part 5kaashiv1
 

Similar to Stretch db sql server 2016 (sn0028) (20)

SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
 
DBArtisan XE6 Datasheet
DBArtisan XE6 DatasheetDBArtisan XE6 Datasheet
DBArtisan XE6 Datasheet
 
Sql interview question part 12
Sql interview question part 12Sql interview question part 12
Sql interview question part 12
 
Ebook12
Ebook12Ebook12
Ebook12
 
Sql interview question part 12
Sql interview question part 12Sql interview question part 12
Sql interview question part 12
 
What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016
 
Migrate SQL Workloads to Azure
Migrate SQL Workloads to AzureMigrate SQL Workloads to Azure
Migrate SQL Workloads to Azure
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander ZaitsevMigration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
 
Introduction to Azure Data Lake
Introduction to Azure Data LakeIntroduction to Azure Data Lake
Introduction to Azure Data Lake
 
Sql interview question part 10
Sql interview question part 10Sql interview question part 10
Sql interview question part 10
 
Ebook10
Ebook10Ebook10
Ebook10
 
Ebook5
Ebook5Ebook5
Ebook5
 
Sql interview question part 5
Sql interview question part 5Sql interview question part 5
Sql interview question part 5
 

More from Antonios Chatzipavlis

SQL server Backup Restore Revealed
SQL server Backup Restore RevealedSQL server Backup Restore Revealed
SQL server Backup Restore Revealed
Antonios Chatzipavlis
 
Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019
Antonios Chatzipavlis
 
Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Workload Management in SQL Server 2019
Workload Management in SQL Server 2019
Antonios Chatzipavlis
 
Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)
Antonios Chatzipavlis
 
Introduction to DAX Language
Introduction to DAX LanguageIntroduction to DAX Language
Introduction to DAX Language
Antonios Chatzipavlis
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs
Antonios Chatzipavlis
 
Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns
Antonios Chatzipavlis
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
Antonios Chatzipavlis
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
Antonios Chatzipavlis
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
Antonios Chatzipavlis
 
SQLServer Database Structures
SQLServer Database Structures SQLServer Database Structures
SQLServer Database Structures
Antonios Chatzipavlis
 
Sqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plansSqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plans
Antonios Chatzipavlis
 
Statistics and Indexes Internals
Statistics and Indexes InternalsStatistics and Indexes Internals
Statistics and Indexes Internals
Antonios Chatzipavlis
 
Azure SQL Data Warehouse
Azure SQL Data Warehouse Azure SQL Data Warehouse
Azure SQL Data Warehouse
Antonios Chatzipavlis
 
Introduction to azure document db
Introduction to azure document dbIntroduction to azure document db
Introduction to azure document db
Antonios Chatzipavlis
 

More from Antonios Chatzipavlis (15)

SQL server Backup Restore Revealed
SQL server Backup Restore RevealedSQL server Backup Restore Revealed
SQL server Backup Restore Revealed
 
Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019
 
Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Workload Management in SQL Server 2019
Workload Management in SQL Server 2019
 
Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)
 
Introduction to DAX Language
Introduction to DAX LanguageIntroduction to DAX Language
Introduction to DAX Language
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs
 
Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
SQLServer Database Structures
SQLServer Database Structures SQLServer Database Structures
SQLServer Database Structures
 
Sqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plansSqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plans
 
Statistics and Indexes Internals
Statistics and Indexes InternalsStatistics and Indexes Internals
Statistics and Indexes Internals
 
Azure SQL Data Warehouse
Azure SQL Data Warehouse Azure SQL Data Warehouse
Azure SQL Data Warehouse
 
Introduction to azure document db
Introduction to azure document dbIntroduction to azure document db
Introduction to azure document db
 

Recently uploaded

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 

Recently uploaded (20)

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 

Stretch db sql server 2016 (sn0028)

  • 3. PresenterInfo 1982 I started working with computers 1988 I started my professional career in computers industry. 1996 I started working with SQL Server 6.0 1998 I earned my first certification at Microsoft as Microsoft Certified Solution Developer (3rd in Greece) I started my career as Microsoft Certified Trainer (MCT) with more than 25.000 hours of training until now! 2010 I became for first time Microsoft MVP on SQL Server I created the SQL School Greece www.sqlschool.gr 2012 I became MCT Regional Lead by Microsoft Learning Program. 2013 I was certified as MCSE : Data Platform & Business Intelligence Antonios Chatzipavlis Database Architect, SQL Server Evangelist MCT, MCSE, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS, MCAD, MCP, OCA, ITIL-F
  • 4. SQLschool.gr Team Antonios Chatzipavlis SQL Server Evangelist • Trainer Vassilis Ioannidis SQL Server Expert • Trainer Fivi Panopoulou System Engineer • Speaker Sotiris Karras System Engineer • Speaker
  • 7. Presentation Content  Introduction of Stretch Database?  Limitations and blocking issues  Stretch Database Pricing  Backup and Restore of Stretch DB  FQA
  • 8. Introduction of Stretch Database  What is the Stretch database?  What are the benefits of Stretch database?  What does Stretch database do?  Is Stretch database for you?  What kind of databases and tables are candidates for Stretch database?  Stretch database Architecture  Security and Data Access
  • 10.  Provides cost-effective availability for cold data  Doesn’t require changes to queries or applications  Streamlines on-premises data maintenance  Keeps your data secure even during migration What are the benefitsof StretchDatabase?
  • 11.  Can migrate the entire table  If you store historical data in a separate table  Can specify a filter predicate to select the rows to migrate  If your table contains both historical and current data  Ensures that no data is lost  If a failure occurs during migration.  It also has retry logic to handle connection issues that may occur during migration.  A dynamic management view provides the status of migration. What does Stretchdatabase do?  You can pause data migration  To troubleshoot problems on the local server  To maximize the available network bandwidth.  You don't have to change existing queries and client apps.  You continue to have seamless access to both local and remote data, even during data migration.  There is a small amount of latency for remote queries, but you only encounter this latency when you query the historical data.
  • 12. IsStretchDatabaseforyou? As Decision Maker As DBA I have to keep transactional data for a long time. The size of my tables is getting out of control. Sometimes I have to query the historical data. My users say that they want access to historical data, but they only rarely use it. I have apps, including older apps, that I don’t want to update. I have to keep buying and adding more storage. I want to find a way to save money on storage. I can’t backup or restore such large tables within the SLA.
  • 13.  Transactional databases with large amounts of historical data  Temporal table feature of SQL Server  Use Stretch Database to migrate all or part of the associated history table to cost-effective storage in Azure.  Use Stretch Database Advisor to identify databases and tables for Stretch Database. What kind of databasesand tables are candidatesfor StretchDatabase?
  • 15. Security and Data Access  Only system processes can access the linked server definition behind Stretch Database.  User logins can't issue queries through the linked server definition to the remote endpoint.  Stretch Database does not change the permissions model of an existing database.  User logins can query the data in a table with Stretch Database enabled through the local database.  The local database performs permission checks for any actions initiated by the user in the same way as it does for any other objects.  If you're authorized to access the table with Stretch Database enabled, you have access to all its contents for which you're authorized regardless of where the data physically resides
  • 16. Limitations and blocking issues  Blocking issues  Limitations
  • 17. Blockingissues Table properties • More than 1,023 columns • More than 998 indexes • Tables that contain FILESTREAM data • FileTables • Replicated tables • Tables that are actively using Change Tracking or Change Data Capture • Memory-optimized tables Data types and column properties • text, ntext and image • timestamp • sql_variant • XML • geometry • geography • hierarchyid • CLR user-defined types (UDTs) Column types • COLUMN_SET • Computed columns Constraints • Check constraints • Default constraints • Foreign key constraints that reference the table • In a parent-child relationship (for example, Order and Order_Detail), you can stretch the child table (Order_Detail) but not the parent table (Order). Indexes • Full text indexes • XML indexes • Spatial indexes • Indexed views that reference the table
  • 18.  UNIQUE constraints and PRIMARY KEY constraints are not enforced in the Azure table that contains the migrated data from a Stretch-enabled table.  You can't UPDATE or DELETE rows in the Azure table that contains the migrated data from a Stretch-enabled table  You can't INSERT rows into a Stretch-enabled table on a linked server.  You can't create an index for a view that includes Stretch- enabled tables.  Filters on SQL Server indexes are not propagated to the remote table. Limitations
  • 21. StretchDatabasePricing DSU PRICE 100 €1.0541/hr (~€784/mo) 200 €2.1083/hr (~€1,569/mo) 300 €3.1624/hr (~€2,353/mo) 400 €4.2165/hr (~€3,137/mo) 500 €5.2706/hr (~€3,921/mo) 600 €6.3248/hr (~€4,706/mo) 1000 €10.54/hr (~€7,843/mo) 1200 €12.65/hr (~€9,411/mo) 1500 €15.81/hr (~€11,764/mo) 2000 €21.08/hr (~€15,685/mo) What is a DSU ? (Database Stretch Unit) As part of providing a more predictable performance experience for customers, SQL Stretch Database is introducing the Database Stretch Unit (DSU). A DSU represents the power of the query and data migration performance and is quantified by workload objectives: how fast rows are migrated to Azure, written, read and computed against. • Storage rates are based on standard RA-GRS Page Blob rates. No preview discounts are applied to the storage charges. See storage pricing page for details. • Storage transactions are not billed; customers only pay for data stored, not storage transactions. • Outbound data transfers are charged at regular data transfer rates.
  • 22. Backup and Restore of Stretch DB  Backup Stretch database  Restore Stretch database
  • 23.  You can continue to use the methods that you currently use  A backup of a Stretch-enabled database is a shallow backup that does not include the data migrated to the remote server.  The backups for Azure SQL Databases for Basic, Standard, and Premium service tiers are taken every hour.  The backup retention period varies depending on the service tier level.  Basic -> 7 days  Standard -> 14 days  Premium -> 35 days.  You can restore Azure SQL Databases by using the Microsoft Azure web portal. Backup StretchDatabase
  • 24.  Restore the database from a backup.  Run the stored procedure sys.sp_rda_reauthorize_db to reconnect the local Stretch-enabled database to Azure.  Provide the existing database scoped credential as a sysname or a varchar(128) value. Don't use varchar(max)  You can look up the credential name in the view sys.database_scoped_credentials  Specify whether to make a copy of the remote data and connect to the copy. Restore StretchDatabase DECLARE @credentialName nvarchar(128); SET @credentialName = N'<existing_database_scoped_credential_name>'; EXEC sp_rda_reauthorize_db @credential = @credentialName, @with_copy = 0;
  • 25.
  • 26. Open the catalog views sys.databases and sys.tables to see info about Stretch-enabled SQL Server databases and tables. Get infoabout local databases and tables enabledfor StretchDatabase
  • 27. Open the catalog views sys.remote_data_archive_databases and sys.remote_data_archive_tables to see info about the remote databases and tables in which migrated data is stored. Get infoabout remotedatabases and tables used by StretchDatabase
  • 28. Open the catalog view sys.remote_data_archive_tables and check the value of the filter_predicate column to identify the function that Stretch Database is using to select rows to migrate. If the value is null, the entire table is eligible to be migrated. Checkthe filterpredicateappliedto a table
  • 29. Stretch Monitor for a database in SSMS Or sys.dm_db_rda_migration_status DMV to see how many batches and rows of data have been migrated Checkthe status of data migration
  • 30. Queries that include my Stretch-enabled table are slow If query performance degrades significantly, review the following possible problems. Is your Azure server in a different geographical region than your SQL Server? Configure your Azure server to be in the same geographical region as your SQL Server to reduce network latency. Your network conditions may have degraded. Contact your network administrator for info about recent issues or outages. About queryperformance
  • 31.
  • 32.
  • 33. S ELECT KN OWLE D GE FROM SQL SE RVE R Copyright © 2015 SQLschool.gr. All right reserved. PRESENTER MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION