How do SQL queries return correct results? Databases for Developers #18
If your application is successful, you'll have many people using it at the same time.
But what happens when two or more people read and write to the same rows at the same time?
The SQL standard defines three problems that could happen:
- Dirty reads
- Non-repeatable reads
- Phantom reads
This video explains what these are. And discusses how to manage these effects by setting the isolation level for your transaction.
Take the course:
https://devgym.oracle.com/pls/apex/dg/class/databases-for-developers-next-level.html
Need help with SQL? Ask us over on AskTOM: https://asktom.oracle.com
Twitter: https://twitter.com/ChrisRSaxon
Daily SQL Twitter tips: https://twitter.com/SQLDaily
All Things SQL blog: https://blogs.oracle.com/sql/
============================
The Magic of SQL with Chris Saxon
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Видео How do SQL queries return correct results? Databases for Developers #18 канала The Magic of SQL
But what happens when two or more people read and write to the same rows at the same time?
The SQL standard defines three problems that could happen:
- Dirty reads
- Non-repeatable reads
- Phantom reads
This video explains what these are. And discusses how to manage these effects by setting the isolation level for your transaction.
Take the course:
https://devgym.oracle.com/pls/apex/dg/class/databases-for-developers-next-level.html
Need help with SQL? Ask us over on AskTOM: https://asktom.oracle.com
Twitter: https://twitter.com/ChrisRSaxon
Daily SQL Twitter tips: https://twitter.com/SQLDaily
All Things SQL blog: https://blogs.oracle.com/sql/
============================
The Magic of SQL with Chris Saxon
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Видео How do SQL queries return correct results? Databases for Developers #18 канала The Magic of SQL
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
6. What is Transaction Control Language? Using COMMIT, ROLLBACK and SAVEPOINT commands in MySQL.What to Look for in Execution Plans: Databases for Developers: Performance #3How to Make Inserts, Updates, and Deletes Faster: Databases for Developers: Performance #8SQL VIEWS + Complex Queries, Cross Joins, Unions, and more! |¦| SQL TutorialTunable Consistency in MongoDBChapter 6.2 Key-Value DatabaseCorrelated and Non Correlated Sub query in SQL |Subquery|Nested Subquery|Correlated Subquery in sqlHow to Read an Execution Plan: Databases for Developers: Performance #1Why do We Have Repeatable Read and Serializable Isolation Levels?Consistency and ReplicationWebinar: Spanner vs. Calvin - Comparing consensus protocols in strongly consistent database systemsPart 16 Difference between optimistic and pessimistic concurrency controlAmazon Kinesis IntroductionA Story of Indexes and Full Table Scans: Finding All the Red Sweets Part 1How to Find Slow SQL: Databases for Developers: Performance #9How do nested loop, hash, and merge joins work? Databases for Developers Performance #7Outer join filtering - SQL in 60 seconds #shortsC++ Tutorials- CSV input fileSQL Tutorial - 13: Inserting Data Into a Table From Another Table