~/talk

Developer Best Practices for Azure SQL : Avoiding common pitfalls when using the Cloud Database

Talkat SQL Server Virtual Conference 2021 · on Friday, 2021-01-29· [databases]
links:none on file
slides:none on file

Covers concrete fixes and demos: implement retry logic and microsoft.data.sqlclient auto-reconnect for transient disconnects, prefer opening connections only for a single query, and use Poly/tenacity where available; send sets not chatty single-row calls (TVPs, JSON, BULK) — a 1,000-row upload goes from 34s -> 0.8s bulk copy in the demo; rely on read committed snapshot default for nonblocking reads, use OUTPUT to return deleted/updated rows in one statement, and use partition switching/truncate partitions to drop large ranges quickly.

AI-written summary · about

  1. 0:00Start
  2. 1:27Resilient Connection
  3. 3:18Sqlclient
  4. 4:01Demo
  5. 22:18Network Latency
  6. 26:20Using the Recommitted Snapshot
  7. 26:40Read Committed Snapshot
  8. 30:47Accelerated Data Recovery
  9. 31:32Accelerated Database Recovery
  10. 32:12Avoid Very Long Transaction
  11. 37:33Load Data into Azure Sql
  12. 41:28Read the Json File
  13. 46:54Truncate Table
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.