SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Plus de 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
 

Plus de 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
 

Dernier

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Dernier (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Windows azure sql database & your data

Notes de l'éditeur

  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