SlideShare a Scribd company logo
1 of 46
@brisebois
@brisebois
@brisebois http://bit.ly/1gG3SLT
@brisebois http://bit.ly/1cReNGH
@brisebois
• It’s a full SQL server
• It’s resources aren’t shared
• You must maintain and
patch the server
• No High Availability
• You will probably need an
I.T professional to help you
manage the Virtual Machine
http://bit.ly/1cReNGH
SQL Server Enterprise Edition on a Medium
VM (2 CPU, 3.5GB RAM) Costs $20,364/ Year
@brisebois
• It’s highly available
• It’s data is redundant (3 Copies)
• It’s response times are
unpredictable
• It doesn’t support a high volume
of concurrent queries
• It can be federated (scaled out)
• It’s constantly updated by
Microsoft
• It’s maintained by Microsoft
http://bit.ly/1cReNGH
SQL Database 150GB
Cost $2,709.36 / Year
@brisebois http://bit.ly/NoF0jZ
@brisebois http://bit.ly/1eM05MB
@brisebois http://bit.ly/1iWxmb3
@brisebois http://bit.ly/1hsz7eU
Take Control! Use the Microsoft SQL Server
Data Tools
@brisebois http://bit.ly/1iwpdvw
Building Clustered Indexes on
Non-Primary Key Columns in
Windows Azure SQL Database
@brisebois http://bit.ly/1iwpdvw
Building Clustered Indexes on
Non-Primary Key Columns in
Windows Azure SQL Database
@brisebois http://bit.ly/1iwpdvw
Building Clustered Indexes on
Non-Primary Key Columns in
Windows Azure SQL Database
@brisebois http://bit.ly/1nyFgOd
Use IDs for lookup data and use GUIDs for data
that is susceptible to synchronization and to
public use.
@brisebois http://bit.ly/1iwpdvw
In a blog post “Uniqueidentifier and Clustered Indexes” the author points
out that the easiest and best approach to creating a Clustered Index is to
use a datetime2 column.
datetime2 has a resolution of 1/1000000 of a second
@brisebois http://bit.ly/Nopd4t
Creating NONCLUSTERED INDEXES
@brisebois http://bit.ly/Nopd4t
• If a CLUSTERED INDEX is present on
the table, then NONCLUSTERED
INDEXES will use its key instead of
the table ROW ID.
• To reduce the size consumed by the
NONCLUSTERED INDEXES it’s
imperative that the CLUSTERED INDEX
KEY is kept as narrow as possible.
@brisebois http://bit.ly/Nopd4t
• SQL Database can JOIN and
INTERSECT INDEXES in order to satisfy
a query without having to read data
directly from the table.
• Favor many narrow NONCLUSTERED
INDEXES
• Create Filtered INDEXES to create
highly selectivity
@brisebois http://bit.ly/Nopd4t
• Use Covering INDEXEs to reduce the
number of bookmark lookups required
to gather data that is not present in the
other INDEXES.
• Covering INDEXES can be used to
physically maintain the data in the
same order as is required by the
queries’ result sets reducing the need
for SORT operations.
@brisebois http://bit.ly/Nopd4t
• Covering INDEXES have an increased
maintenance cost, therefore you must
see if performance gain justifies the extra
maintenance cost.
• NONCLUSTERED INDEXES can
reduce blocking by having SQL
Database read from NONCLUSTERED
INDEX data pages instead of the actual
tables.
@brisebois http://bit.ly/1idgltT
Identify Missing Indexes in Your Windows
Azure SQL Database
@brisebois http://bit.ly/1qMrE0N
Don’t Forget About Index Maintenance on
Windows Azure SQL Database
• On SQL Server, when we identify 5% to
30% of average fragmentation we should
issue a REORGANIZE statement
• On SQL Database we can only use the
REBUILD WITH (ONLINE =
ON) statement
@brisebois http://bit.ly/1qMrE0N
Entity
Framework and TransactionScope
transactions are limited to 10 minutes
@brisebois http://bit.ly/1fTckv2
Identifying the Top 20 Slowest Queries
Being Executed Against a Windows Azure
SQL Database
@brisebois http://bit.ly/1kD3eDp
Does Your Data Really Belong in Your SQL
Database?
@brisebois http://bit.ly/1fTdHdg
Put Your SQL Database on a
Diet!
@brisebois
• It’s highly availability
• It’s data is redundant (3 copies)
• It’s constantly updated by
Microsoft
• It’s maintained by Microsoft
• Can use services like a CDN
• The load is dispersed over many
services
http://bit.ly/1cReNGH
SQL Database 10GB + 100GB Blob
+ 100GB Table = Cost $803.52 /Year
@brisebois http://bit.ly/1d7hhkP
@brisebois
• It’s highly availability
• It’s data is redundant (3 copies)
• It can handle + concurrent queries
that a 1 database
• It’s quite complex to backup
• It’s response time is unpredictable
• It’s constantly updated by
Microsoft
• It’s maintained by Microsoft
http://bit.ly/1cReNGH
SQL Database 5 * 10GB
Cost $2,757.24 /Year
@brisebois
• It has dedicated resources
• It’s response time is predictable
• It’s highly available
• It’s data is redundant (3 Copies)
• It’s maintained by Microsoft
• It can be sharded (scaled out)
• It’s constantly updated by
Microsoft
http://bit.ly/1cReNGH
SQL Database Premium P2 150GB
Cost $11,331 /Year (preview pricing)
@brisebois http://bit.ly/1nyrLOi
@brisebois http://bit.ly/PJm6GH
What Does it Cost to Backup a Windows Azure SQL Database?
@brisebois http://bit.ly/1id79FY
@brisebois
@brisebois http://bit.ly/1dhxu19
@brisebois http://bit.ly/1iW2XxL
@brisebois http://bit.ly/1gzhfB5
• Replace NewDatabaseName by the name
of the new Database
• Replace ServerName by the database
server name of the source Database
• Replace SourceDatabase by the name of
the source Database
@brisebois http://bit.ly/1lIDJAr
@brisebois http://bit.ly/1hsOmEx
@brisebois http://bit.ly/1hsOmEx
• 40501 – Retry to connect to SQL Database in intervals of 10 seconds until the resources are
available and your connection is established again.
• 40550 – The session has been terminated because it has acquired too many locks. Try reading or
modifying fewer rows in a single transaction.
• 40549 – Session is terminated because you have a long running transaction. Try shortening your
transaction.
• 40551 – The session has been terminated because of excessive TEMPDB usage. Try modifying
your query to reduce temporary table space usage.
• 40552 – The session has been terminated because of excessive transaction log space usage. Try
modifying fewer rows in a single transaction.
• 40553 – The session has been terminated because of excessive memory usage. Try modifying your
query to process fewer rows.
• 40545- The service is experiencing a problem that is currently under investigation.
• 40544 – The database has reached its size quota. Partition or delete data, drop indexes, or consult
the documentation for possible resolutions.
• 40174 – The partition is in transition and transactions are being terminated.
@brisebois
• It has been around since the early days of .Net and has been
tested thoroughly
• Can be used to repopulate the database
• Has change tracking through the DataRow RowState property.
• Is a 2 dimensional array with individually typed columns
• It can be consumed using Linq
http://bit.ly/1iwF8Ko
@brisebois http://bit.ly/1cRWP6U
@brisebois http://bit.ly/1gzilg5
@brisebois http://bit.ly/1cRWP6U
@brisebois
@brisebois

More Related Content

What's hot

How to use bean as datasource in database connector
How to use bean as datasource in database connectorHow to use bean as datasource in database connector
How to use bean as datasource in database connectorRaviRajuRamaKrishna
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMRAshnikbiz
 
Joeffice, the open source database viewer in 1 day
Joeffice, the open source database viewer in 1 dayJoeffice, the open source database viewer in 1 day
Joeffice, the open source database viewer in 1 dayAnthony Goubard
 
Dba lounge-sql server-performance-troubleshooting
Dba lounge-sql server-performance-troubleshootingDba lounge-sql server-performance-troubleshooting
Dba lounge-sql server-performance-troubleshootingDan Andrei Stefan
 
Hardware planning & sizing for sql server
Hardware planning & sizing for sql serverHardware planning & sizing for sql server
Hardware planning & sizing for sql serverDavide Mauri
 
Best Practices for Database Deployments
Best Practices for Database DeploymentsBest Practices for Database Deployments
Best Practices for Database DeploymentsGrant Fritchey
 
The Magic of Tuning in PostgreSQL
The Magic of Tuning in PostgreSQLThe Magic of Tuning in PostgreSQL
The Magic of Tuning in PostgreSQLAshnikbiz
 
Webinar: Capacity Planning
Webinar: Capacity PlanningWebinar: Capacity Planning
Webinar: Capacity PlanningMongoDB
 
Php & web server performace
Php & web server performacePhp & web server performace
Php & web server performaceTuyển Đoàn
 
How to use until successful component
How to use until successful componentHow to use until successful component
How to use until successful componentmaheshtheapex
 

What's hot (13)

How to use bean as datasource in database connector
How to use bean as datasource in database connectorHow to use bean as datasource in database connector
How to use bean as datasource in database connector
 
How to use smtp endpoint
How to use smtp endpointHow to use smtp endpoint
How to use smtp endpoint
 
Until Successful Component
Until Successful ComponentUntil Successful Component
Until Successful Component
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMR
 
Joeffice, the open source database viewer in 1 day
Joeffice, the open source database viewer in 1 dayJoeffice, the open source database viewer in 1 day
Joeffice, the open source database viewer in 1 day
 
Database Component
Database ComponentDatabase Component
Database Component
 
Dba lounge-sql server-performance-troubleshooting
Dba lounge-sql server-performance-troubleshootingDba lounge-sql server-performance-troubleshooting
Dba lounge-sql server-performance-troubleshooting
 
Hardware planning & sizing for sql server
Hardware planning & sizing for sql serverHardware planning & sizing for sql server
Hardware planning & sizing for sql server
 
Best Practices for Database Deployments
Best Practices for Database DeploymentsBest Practices for Database Deployments
Best Practices for Database Deployments
 
The Magic of Tuning in PostgreSQL
The Magic of Tuning in PostgreSQLThe Magic of Tuning in PostgreSQL
The Magic of Tuning in PostgreSQL
 
Webinar: Capacity Planning
Webinar: Capacity PlanningWebinar: Capacity Planning
Webinar: Capacity Planning
 
Php & web server performace
Php & web server performacePhp & web server performace
Php & web server performace
 
How to use until successful component
How to use until successful componentHow to use until successful component
How to use until successful component
 

Similar to Windows azure sql database & your data

How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
 
SPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLSPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLJ.D. Wade
 
What SharePoint Admins need to know about SQL-Cinncinati
What SharePoint Admins need to know about SQL-CinncinatiWhat SharePoint Admins need to know about SQL-Cinncinati
What SharePoint Admins need to know about SQL-CinncinatiJ.D. Wade
 
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...J.D. Wade
 
What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013J.D. Wade
 
Best storage engine for MySQL
Best storage engine for MySQLBest storage engine for MySQL
Best storage engine for MySQLtomflemingh2
 
Designing and Building Next Generation Data Pipelines at Scale with Structure...
Designing and Building Next Generation Data Pipelines at Scale with Structure...Designing and Building Next Generation Data Pipelines at Scale with Structure...
Designing and Building Next Generation Data Pipelines at Scale with Structure...Databricks
 
(ATS6-PLAT06) Maximizing AEP Performance
(ATS6-PLAT06) Maximizing AEP Performance(ATS6-PLAT06) Maximizing AEP Performance
(ATS6-PLAT06) Maximizing AEP PerformanceBIOVIA
 
What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013J.D. Wade
 
AWS Redshift Introduction - Big Data Analytics
AWS Redshift Introduction - Big Data AnalyticsAWS Redshift Introduction - Big Data Analytics
AWS Redshift Introduction - Big Data AnalyticsKeeyong Han
 
SQL Server Wait Types Everyone Should Know
SQL Server Wait Types Everyone Should KnowSQL Server Wait Types Everyone Should Know
SQL Server Wait Types Everyone Should KnowDean Richards
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenanceMatt Ranlett
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Brian Culver
 
Monitorando performance no Azure SQL Database
Monitorando performance no Azure SQL DatabaseMonitorando performance no Azure SQL Database
Monitorando performance no Azure SQL DatabaseVitor Fava
 
Shard-Query, an MPP database for the cloud using the LAMP stack
Shard-Query, an MPP database for the cloud using the LAMP stackShard-Query, an MPP database for the cloud using the LAMP stack
Shard-Query, an MPP database for the cloud using the LAMP stackJustin Swanhart
 
Dev Analytics Aggregate DB Design Analysis
Dev Analytics Aggregate DB Design AnalysisDev Analytics Aggregate DB Design Analysis
Dev Analytics Aggregate DB Design AnalysisSunita Shrivastava
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013J.D. Wade
 
Investigate SQL Server Memory Like Sherlock Holmes
Investigate SQL Server Memory Like Sherlock HolmesInvestigate SQL Server Memory Like Sherlock Holmes
Investigate SQL Server Memory Like Sherlock HolmesRichard Douglas
 

Similar to Windows azure sql database & your data (20)

How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
 
SPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLSPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQL
 
What SharePoint Admins need to know about SQL-Cinncinati
What SharePoint Admins need to know about SQL-CinncinatiWhat SharePoint Admins need to know about SQL-Cinncinati
What SharePoint Admins need to know about SQL-Cinncinati
 
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
 
What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013
 
Best storage engine for MySQL
Best storage engine for MySQLBest storage engine for MySQL
Best storage engine for MySQL
 
Designing and Building Next Generation Data Pipelines at Scale with Structure...
Designing and Building Next Generation Data Pipelines at Scale with Structure...Designing and Building Next Generation Data Pipelines at Scale with Structure...
Designing and Building Next Generation Data Pipelines at Scale with Structure...
 
60 Admin Tips
60 Admin Tips60 Admin Tips
60 Admin Tips
 
(ATS6-PLAT06) Maximizing AEP Performance
(ATS6-PLAT06) Maximizing AEP Performance(ATS6-PLAT06) Maximizing AEP Performance
(ATS6-PLAT06) Maximizing AEP Performance
 
What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013
 
AWS Redshift Introduction - Big Data Analytics
AWS Redshift Introduction - Big Data AnalyticsAWS Redshift Introduction - Big Data Analytics
AWS Redshift Introduction - Big Data Analytics
 
SQL Server Wait Types Everyone Should Know
SQL Server Wait Types Everyone Should KnowSQL Server Wait Types Everyone Should Know
SQL Server Wait Types Everyone Should Know
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenance
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
Breaking data
Breaking dataBreaking data
Breaking data
 
Monitorando performance no Azure SQL Database
Monitorando performance no Azure SQL DatabaseMonitorando performance no Azure SQL Database
Monitorando performance no Azure SQL Database
 
Shard-Query, an MPP database for the cloud using the LAMP stack
Shard-Query, an MPP database for the cloud using the LAMP stackShard-Query, an MPP database for the cloud using the LAMP stack
Shard-Query, an MPP database for the cloud using the LAMP stack
 
Dev Analytics Aggregate DB Design Analysis
Dev Analytics Aggregate DB Design AnalysisDev Analytics Aggregate DB Design Analysis
Dev Analytics Aggregate DB Design Analysis
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
 
Investigate SQL Server Memory Like Sherlock Holmes
Investigate SQL Server Memory Like Sherlock HolmesInvestigate SQL Server Memory Like Sherlock Holmes
Investigate SQL Server Memory Like Sherlock Holmes
 

More from Brisebois

Devteach 2016: A practical overview of actors in service fabric
Devteach 2016: A practical overview of actors in service fabricDevteach 2016: A practical overview of actors in service fabric
Devteach 2016: A practical overview of actors in service fabricBrisebois
 
Working with microsoft azure resources
Working with microsoft azure resourcesWorking with microsoft azure resources
Working with microsoft azure resourcesBrisebois
 
What is Microsoft Azure?
What is Microsoft Azure?What is Microsoft Azure?
What is Microsoft Azure?Brisebois
 
Orleans – a “cloud native” runtime built for #azure
Orleans – a “cloud native” runtime built for #azureOrleans – a “cloud native” runtime built for #azure
Orleans – a “cloud native” runtime built for #azureBrisebois
 
Windows azurewebsites
Windows azurewebsitesWindows azurewebsites
Windows azurewebsitesBrisebois
 
Une RESTful Architecture
Une RESTful ArchitectureUne RESTful Architecture
Une RESTful ArchitectureBrisebois
 

More from Brisebois (6)

Devteach 2016: A practical overview of actors in service fabric
Devteach 2016: A practical overview of actors in service fabricDevteach 2016: A practical overview of actors in service fabric
Devteach 2016: A practical overview of actors in service fabric
 
Working with microsoft azure resources
Working with microsoft azure resourcesWorking with microsoft azure resources
Working with microsoft azure resources
 
What is Microsoft Azure?
What is Microsoft Azure?What is Microsoft Azure?
What is Microsoft Azure?
 
Orleans – a “cloud native” runtime built for #azure
Orleans – a “cloud native” runtime built for #azureOrleans – a “cloud native” runtime built for #azure
Orleans – a “cloud native” runtime built for #azure
 
Windows azurewebsites
Windows azurewebsitesWindows azurewebsites
Windows azurewebsites
 
Une RESTful Architecture
Une RESTful ArchitectureUne RESTful Architecture
Une RESTful Architecture
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 

Windows azure sql database & your data

Editor's Notes

  1. -
  2. Master is read-onlyREAD COMMITTED SNAPSHOT does optimistic reads and pessimistic writes. In contrast, SNAPSHOTdoes optimistic reads and optimistic writes.When either the READ_COMMITTED_SNAPSHOT or ALLOW_SNAPSHOT_ISOLATION database options are ON, logical copies (versions) are maintained for all data modifications performed in the database. Every time a row is modified by a specific transaction, the instance of the Database Engine stores a version of the previously committed image of the row in tempdb. Each version is marked with the transaction sequence number of the transaction that made the change. The versions of modified rows are chained using a link list. The newest row value is always stored in the current database and chained to the versioned rows stored in tempdb.READ COMMITTED SNAPSHOT does optimistic reads and pessimistic writes. In contrast, SNAPSHOTdoes optimistic reads and optimistic writes.
  3. CREATE TABLE [dbo].[TestTable] (    [Id]        UNIQUEIDENTIFIER NOT NULL,    [FirstName] NVARCHAR (10)    NOT NULL,    [LastName]  NVARCHAR (10)    NOT NULL,    [Type]      INT              NOT NULL,    [Timestamp] ROWVERSION       NOT NULL,    PRIMARY KEY (Id));
  4. CREATE TABLE [dbo].[TestTable] (    [Id]        UNIQUEIDENTIFIER NOT NULL,    [FirstName] NVARCHAR (10)    NOT NULL,    [LastName]  NVARCHAR (10)    NOT NULL,    [Type]      INT              NOT NULL,    [Timestamp] ROWVERSION       NOT NULL,    PRIMARY KEY NONCLUSTERED (Id));CREATE CLUSTERED INDEX IX_TestTable on TestTable (FirstName, LastName);
  5. CREATE CLUSTERED INDEX IX_TestTableON TestTable ([Type],[FirstName],[LastName])WITH (DROP_EXISTING=ON)ON [Primary]
  6. CREATE CLUSTERED INDEX IX_TestTableON TestTable ([Type],[FirstName],[LastName])WITH (DROP_EXISTING=ON)ON [Primary]
  7. CREATE CLUSTERED INDEX IX_TestTableON TestTable ([Type],[FirstName],[LastName])WITH (DROP_EXISTING=ON)ON [Primary]
  8. CREATE INDEX [IX_TestTable_Country_City_LastName_FirstName]     ON [dbo].[TestTable]     ([Country] ASC,[City] ASC,[LastName] ASC,[FirstName] ASC)    WITH(ONLINE=ON);
  9. CREATE INDEX [IX_TestTable_Country_City_LastName_FirstName]     ON [dbo].[TestTable]     ([Country] ASC,[City] ASC,[LastName] ASC,[FirstName] ASC)    WITH(ONLINE=ON);
  10. CREATE INDEX [IX_TestTable_Country_City_LastName_FirstName]     ON [dbo].[TestTable]     ([Country] ASC,[City] ASC,[LastName] ASC,[FirstName] ASC)    WITH(ONLINE=ON);
  11. CREATE INDEX [IX_TestTable_Country_City_LastName_FirstName]     ON [dbo].[TestTable]     ([Country] ASC,[City] ASC,[LastName] ASC,[FirstName] ASC)    WITH(ONLINE=ON);
  12. CREATE INDEX [IX_TestTable_Country_City_LastName_FirstName]     ON [dbo].[TestTable]     ([Country] ASC,[City] ASC,[LastName] ASC,[FirstName] ASC)    WITH(ONLINE=ON);
  13. Go to portalCreate Clustered Indexes on the tables’ Natural Keys. Natural Keys, are the fields that best identify the row’s data. For example, the Primary Key used for a table might be a Unique Identifier or a Big Int, but I might access data through a combination of columns. For a car these columns could be Year, Make, Model and VIN. When you create the Clustered Index, order the columns by their selectivity and use this same order when you query for the information.Create Non-Clustered Indexes on your Primary KeysCreate Non-Clustered Indexes for all Foreign KeysCreate Non-Clustered Indexes for columns that are used in WHERE, ORDER BY, MERGE, JOIN and other clauses that require matching data.
  14. Go to the portal
  15. Maximum 150 GB
  16. Geo Redundant Secondary Read Only Access
  17. Sizes are set and the database des not automatically grow
  18. dbForge Studio for SQL Server
  19. CREATE DATABASE [NewDatabaseName] AS COPY OF ServerName.[SourceDatabase]SELECT * FROM sys.dm_database_copies
  20. Transactions that take too long get killed or if the log goes over 2gb
  21. Transactions that take too long get killed or if the log goes over 2gb
  22. Transactions that take too long get killed or if the log goes over 2gb
  23. Transactions that take too long get killed or if the log goes over 1gb