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!

Post content