Post by TUMuchData
3,424 followers
๐ ๐๐๐น๐ ๐ฎ, ๐ฎ๐ฌ๐ฎ๐ฒ: ๐ฆ๐ฐ๐ต๐ฒ๐บ๐ฎ ๐๐ต๐ฎ๐ป๐ด๐ฒ ๐ช๐ถ๐๐ต๐ผ๐๐ ๐ฆ๐๐ผ๐ฝ๐ฝ๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ช๐ผ๐ฟ๐น๐ฑ: ๐๐ฟ๐ผ๐บ ๐๐ผ๐ผ๐ด๐น๐ฒ'๐ ๐๐ญ ๐ฆ๐ฐ๐ต๐ฒ๐บ๐ฎ-๐๐ต๐ฎ๐ป๐ด๐ฒ ๐ฃ๐ฎ๐ฝ๐ฒ๐ฟ ๐๐ผ ๐ข๐ฝ๐ฒ๐ป ๐ฆ๐ผ๐๐ฟ๐ฐ๐ฒ ๐ง๐ถ๐๐ ๐ถ๐ป ๐ฃ๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐ผ๐ป ๐: โจ In this industry talk, Mattias Jonsson will walk you through the process of implementing Googleโs pioneering paper, about "Online, Asynchronous Schema Change", in TiDB, powered by PingCAP. You'll learn why each intermediate schema state is essential and what can go wrong if a state is skipped. The session will also explore the interplay between asynchronous schema changes and garbage collection in distributed databases. ๐ And this talk only: We will provide some ๐ฝ๐ถ๐๐๐ฎ too! ๐ ๐๐ผ๐ผ๐ด๐น๐ฒ'๐ ๐ฃ๐ฎ๐ฝ๐ฒ๐ฟ: https://lnkd.in/eHQm-Dcp ๐ฉ๐ปโ๐ป ๐ง๐ถ๐๐: https://lnkd.in/eMWVHsB ๐ ๐ง๐ฎ๐น๐ธ ๐๐ฏ๐๐๐ฟ๐ฎ๐ฐ๐: In 2013, Google published "Online, Asynchronous Schema Change in F1", describing how a distributed SQL database can evolve its schema without global locks or downtime, by transitioning through a sequence of compatible intermediate states (deleteโonly, writeโonly, โฆ, public) under a bounded schema lease. TiDB, an openโsource distributed SQL database, is heavily inspired by F1 and Spanner. Taking the paper as our shared starting point, I'll reconstruct why each intermediate state is necessary, deriving them by working backwards from the final "public" state until nothing more can be removed, and show why skipping a state corrupts an index. One question worth discussing: in a database that gives you strongly consistent, ACID data, can the schema be eventually consistent? Different nodes act on different schema versions at the same moment, reconciled only by a bounded lease. What are the pros and cons? ๐ Mattias Jonsson, Principal Software Engineer at TiDB, powered by PingCAP, brings ๐ผ๐๐ฒ๐ฟ ๐ญ๐ฑ ๐๐ฒ๐ฎ๐ฟ๐ ๐ผ๐ณ ๐ฑ๐ฎ๐๐ฎ๐ฏ๐ฎ๐๐ฒ ๐ฒ๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ถ๐ป๐ด ๐ฒ๐ ๐ฝ๐ฒ๐ฟ๐ถ๐ฒ๐ป๐ฐ๐ฒ from highโscale environments like Booking.com. ๐คฉ Join the TUMuchData community for a networking session with likeโminded database enthusiasts!