Podcast thumbnail for Inside MySQL: Sakila Speaks

Inside MySQL: Sakila Speaks

Claim This Podcast

by Oracle Corporation

5.0(1 reviews)
15 episodes
Updated Weekly
Accepts GuestsHas Sponsors

Podcast Overview

The Inside MySQL, Sakila Speaks podcast is dedicated to all things MySQL. We bring you the latest news from the MySQL team, MySQL product updates, and inciteful interviews with members of the MySQL Community. Sit back and enjoy as your hosts, Fred Descamps and Scott Stroz, bring you the latest updates on your favorite open-source database.

Language

🇺🇲

Publishing Since

4/9/2024

1 verified contact email on file for Inside MySQL: Sakila Speaks

Pitch yourself as a guest, propose sponsorships, or reach out directly to the host.

Recent Episodes

Episode thumbnail for MyVector Magic: Elevating MySQL with AI Search

September 18, 2025

MyVector Magic: Elevating MySQL with AI Search

<p>Oracle Ace Alkin Tezuysal joins leFred and Scott to introduce the MyVector plugin for MySQL Community Edition, bringing powerful vector search capabilities to your favorite open-source database. Learn how MyVector enables advanced AI and similarity search features, why this matters for modern applications, and how the MySQL community can easily get started.</p> <p> -------------------------------------------------------------</p> <p>Episode Transcript:</p> <p>00:00.000 --> 00:25.000<br /> Welcome to Inside MySQL: Sakila Speaks, a podcast dedicated to all things MySQL. We bring you the latest news from the MySQL team, MySQL product updates and insightful interviews with members of the MySQL community.</p> <p>00:25.000 --> 00:32.000<br /> Sit back and enjoy as your hosts bring you the latest updates on your favorite open source database. Let's get started.</p> <p>00:32.000 --> 00:37.000<br /> Hello and welcome to Sakila Speaks, the podcast dedicated to MySQL. I'm LeFred.</p> <p>00:37.000 --> 00:38.000<br /> And I'm Scott Stroz.</p> <p>00:38.000 --> 00:47.000<br /> Joining us today is Alkin Tezuysal. We know each other for a long time already and Alkin serves as Director of Services at Altinity Inc.</p> <p>00:47.000 --> 00:55.000<br /> Bringing over 30 years of experience in open source relational databases with deep expertise in MySQL, of course, and ClickHouse.</p> <p>00:55.000 --> 01:08.000<br /> He co-authored key references works including MySQL Cookbook 4th edition that came in 2022 and Database Design and Modeling with Postgres and MySQL in 2024.</p> <p>01:08.000 --> 01:21.000<br /> Alkin, you have been honored as MySQL Rockstar in 2023. And since this year, you are also an Oracle Ace Pro for MySQL. Congratulations and welcome to Inside MySQL: Sakila Speaks.</p> <p>01:21.000 --> 01:23.000<br /> Thank you very much, everyone.</p> <p>01:23.000 --> 01:34.000<br /> We're glad you're here. Alkin, as you may not know, this season of the podcast is dedicated to all things AI as it relates to MySQL and HeatWave.</p> <p>01:34.000 --> 01:43.000<br /> And you actually created or wrote a plugin for MySQL Community that kind of helped with that, MyVector.</p> <p>01:43.000 --> 01:48.000<br /> Can you give us an overview of what MyVector is and what problem it's meant to solve?</p> <p>01:48.000 --> 01:50.000<br /> Sure. Thank you very much for the question.</p> <p>01:50.000 --> 02:00.000<br /> And I'm very happy that this year of AI and HeatWave, everything that actually contributes to this technology because it's fairly new.</p> <p>02:00.000 --> 02:06.000<br /> It's been developing for many years, as we already know, but now it's in our hands.</p> <p>02:06.000 --> 02:16.000<br /> We can use it. We can definitely use it on our day-to-day activities, whether it's troubleshooting your dishwasher or your washing machine.</p> <p>02:16.000 --> 02:20.000<br /> But we could also use it in a business-wise database.</p> <p>02:20.000 --> 02:29.000<br /> So one correction I want to make is I am a contributor to MyVector plugin, not to author.</p> <p>02:29.000 --> 02:34.000<br /> The author is Shankar Iyer, and he's a developer for databases for many years.</p> <p>02:34.000 --> 02:40.000<br /> He's got a lot of experience where I've actually been presenting and supporting this project.</p> <p>02:40.000 --> 02:49.000<br /> And that's the small correction. Other than that, MyVector is a native plugin for MySQL that adds support for storing and searching high dimensional vectors.</p> <p>02:49.000 --> 02:55.000<br /> This is basically a very, in simple terms, what it does.</p> <p>02:55.000 --> 03:00.000<br /> And this has been in development for some time.</p> <p>03:00.000 --> 03:14.000<br /> And as we have seen other, you know, databases, other open source databases also went into this with the, you know, launching of AI to our, you know, end users.</p> <p>03:14.000 --> 03:24.000<br /> Adding approximate nearest neighbor n-search directly in SQL within MySQL database was kind of needed.</p> <p>03:24.000 --> 03:29.000<br /> And there has been similar implementations with MySQL.</p> <p>03:29.000 --> 03:33.000<br /> But MyVector is the open source version of that as a plugin.</p> <p>03:33.000 --> 03:39.000<br /> So just to wrap up that answer is MyVector column type for embedding storage.</p> <p>03:39.000 --> 03:41.000<br /> And there's a MyVector.</p> <p>03:41.000 --> 03:46.000<br /> There's a bunch of functions that MyVector distance for the similarity competition.</p> <p>03:46.000 --> 03:50.000<br /> Of course, it uses HNSW-based index algorithm, which is very popular.</p> <p>03:50.000 --> 03:52.000<br /> There's a white paper around it.</p> <p>03:52.000 --> 04:01.000<br /> It's not a rocket science or just something that was invented for MyVector that is known science.</p> <p>04:01.000 --> 04:06.000<br /> And basically, it provides an SQL native interface within MySQL.</p> <p>04:06.000 --> 04:08.000<br /> Hope that answers that question.</p> <p>04:08.000 --> 04:10.000<br /> Thank you very much, Alkin, yeah.</p> <p>04:10.000 --> 04:22.000<br /> It answers everything and very happy that you also, let's say, talk about the author that we already met also in Belgium recently.</p> <p>04:22.000 --> 04:31.000<br /> So I would like to ask you, so why is it important to have this similarity search indexes in MySQL then?</p> <p>04:31.000 --> 04:40.000<br /> Yeah. So again, going back to the AI-driven application, semantic search, product recommendation, question and answering, anomaly detection, etc.</p> <p>04:40.000 --> 04:43.000<br /> These really require a similarity searches.</p> <p>04:43.000 --> 04:47.000<br /> Have we done similarity searches in the past? Yes, we have.</p> <p>04:47.000 --> 04:52.000<br /> If you remember, this is a long, long time ago, but those technologies are still in effect.</p> <p>04:52.000 --> 05:03.000<br /> And we had search indexes like the Solr, this Phoenix, if you recall those, where we used to have a replica, generate index and search for it.</p> <p>05:03.000 --> 05:10.000<br /> I used to work for an e-commerce site and users would search for a product.</p> <p>05:10.000 --> 05:15.000<br /> And then we would also display the similar products.</p> <p>05:15.000 --> 05:23.000<br /> And in order to do that in MySQL, we had to use external services like, like I said, some search.</p> <p>05:23.000 --> 05:25.000<br /> So it is very important.</p> <p>05:25.000 --> 05:29.000<br /> But with the AI-driven application, it's not important anymore.</p> <p>05:29.000 --> 05:30.000<br /> It's a must have.</p> <p>05:30.000 --> 05:35.000<br /> Basically, you don't need to run a separate vector database.</p> <p>05:35.000 --> 05:45.000<br /> And basically, if the data is already in MySQL, you could use this technology using, you know, similarity search functionalities.</p> <p>05:45.000 --> 05:49.000<br /> Back at FOSDEM, you gave a presentation about MyVector.</p> <p>05:49.000 --> 05:55.000<br /> And over the weekend at FOSDEM, there were a lot of other sessions about vector and indexes.</p> <p>05:55.000 --> 06:01.000<br /> Has MyVector made any significant changes since you last talked about it in public?</p> <p>06:01.000 --> 06:07.000<br /> Yes, there was another public talk after FOSDEM that was a vector search conference.</p> <p>06:07.000 --> 06:14.000<br /> And we've had a bunch of talks about vector searches, vector technologies, which was around this open source databases, including MySQL.</p> <p>06:14.000 --> 06:19.000<br /> There were, I think, four or five MySQL talks around the vector search.</p> <p>06:19.000 --> 06:33.000<br /> From the development side, yes, there's one important improvement that was made that was the necessary support for binary distributions other than the Docker images.</p> <p>06:33.000 --> 06:43.000<br /> So we worked on those and built, you know, three different versions of MySQL binary distributions for testing, because it's more like a DIY.</p> <p>06:43.000 --> 06:51.000<br /> And you have to compile and everyone is not very competent enough or have enough time to compile MySQL.</p> <p>06:51.000 --> 07:02.000<br /> So we built images for 8.0 and 8.4 and 9x versions for easy testing.</p> <p>07:02.000 --> 07:12.000<br /> And there were some improvements on performance and index stability, of course, and so that's about it.</p> <p>07:12.000 --> 07:18.000<br /> Maybe it doesn't sound a lot, but this is a lot of work, basically, considering it's an open source project.</p> <p>07:18.000 --> 07:21.000<br /> Yeah, thank you. I can imagine it's a lot of work.</p> <p>07:21.000 --> 07:31.000<br /> So let's go now in the more technical, let's dig a bit in technical and a bit deeper there.</p> <p>07:31.000 --> 07:41.000<br /> So you said earlier that MyVector is using this HNSW, which is a hierarchical navigable small world indexes, right?</p> <p>07:41.000 --> 07:48.000<br /> Why was this type chosen over other or over alternatives?</p> <p>07:48.000 --> 07:55.000<br /> And do you know if or you yourself have tried alternatives or not?</p> <p>07:55.000 --> 07:59.000<br /> We would like to know a bit more about why that choice.</p> <p>07:59.000 --> 08:01.000<br /> That's a great question, actually.</p> <p>08:01.000 --> 08:11.000<br /> And when we first all heard or started knowing about this HNSW, hierarchical navigable small word for the n-search, like approximate nearest neighbor search.</p> <p>08:11.000 --> 08:21.000<br /> That was, it sounded like when I did my research and started reading about it, I think we met with you in London last year.</p> <p>08:21.000 --> 08:26.000<br /> We were talking about this, you know, the n-search and everything else.</p> <p>08:26.000 --> 08:33.000<br /> This is basically, I thought it was more like a de facto standard of the n-search.</p> <p>08:33.000 --> 08:44.000<br /> And it turned out to be that way because a lot of the other open source databases or implementations were circling around HNSW.</p> <p>08:44.000 --> 08:49.000<br /> And that's not to say that there are not other options out there.</p> <p>08:49.000 --> 09:00.000<br /> But usually when technologies like this launched, you don't go and reinvent the wheel, but basically build upon an existing technology.</p> <p>09:00.000 --> 09:09.000<br /> Since HNSW was widely available in terms of a knowledge wise, it was chosen HNSW.</p> <p>09:09.000 --> 09:13.000<br /> And, you know, it has high accuracy.</p> <p>09:13.000 --> 09:16.000<br /> It's a, it's got support for dynamic inserts and leads.</p> <p>09:16.000 --> 09:19.000<br /> And, and it has an efficient memory usage.</p> <p>09:19.000 --> 09:21.000<br /> These are the top three things that I know about it.</p> <p>09:21.000 --> 09:31.000<br /> But, you know, you know, from the other open source databases, like I said, the benchmarking were all circling around this.</p> <p>09:31.000 --> 09:41.000<br /> And if you were to use a different indexing, it would be very difficult to compare apple to apple from a different indexing perspective.</p> <p>09:41.000 --> 09:52.000<br /> So, I think, again, I'm, I'm not saying there are no other and methods there are, but they might be less accurate.</p> <p>09:52.000 --> 09:54.000<br /> They may have different, options.</p> <p>09:54.000 --> 10:04.000<br />  but if you want to kind of, play something in the market that everybody knows, it would be better off, using the known, methodologies.</p> <p>10:04.000 --> 10:11.000<br /> So you've given me something I need to look up so I know what I'm going to be doing over the weekend, which HNSW.</p> <p>10:11.000 --> 10:18.000<br /> so does the data that we use need to be trained before it can be indexed?</p> <p>10:18.000 --> 10:20.000<br /> No, there's no training.</p> <p>10:20.000 --> 10:23.000<br /> Basically it's the, it's the, embeddings.</p> <p>10:23.000 --> 10:30.000<br /> The, the, the difference between the training and the embeddings is you just need to generate the embeddings.</p> <p>10:30.000 --> 10:55.000<br /> And that's where, that's where an additional step, like if your data is already in the database and you, you want to use this, vector, search technology using HNSW indexing for the n-search, you need to generate the embeddings, whether externally or internally with, with, with a service or, something like that.</p> <p>10:55.000 --> 11:18.000<br /> We, I know that there are some, the, the other types of index that are maybe less popular, that, index the embeddings, sometime they also need to, to have some training before, but, yeah, this one doesn't, which is, which is good because every time you want to, to add the data, whatever, it's quite complicated if you want to train it.</p> <p>11:18.000 --> 11:19.000<br /> Right.</p> <p>11:19.000 --> 11:20.000<br /> Yeah.</p> <p>11:20.000 --> 11:25.000<br /> Basically it's, it's, it's generate the embedding, insert in the MySQL and build the HNSW index.</p> <p>11:25.000 --> 11:38.420<br /> So, as you are discussing about, this, this index, what, what I'm, curious because, I also try, I try and check, different type of flow indexes to, to understand what they do and what it is.</p> <p>11:38.420 --> 11:46.160<br />  but, I would like to know what's the size of this index compared to the actual size of the data, right?</p> <p>11:46.440 --> 11:59.440<br /> Because I know, and maybe it's the case, on your implementation that, the full representation of the, of the, of the vector is stored on the index on some of them or most of them.</p> <p>11:59.440 --> 12:09.620<br /> So I would like to know, if you have made some check there and, if, if the size is compared, right, to the, the, the full embeddings and the index.</p> <p>12:09.920 --> 12:16.940<br /> Just to recap that, the, the, the full vector is stored inside the index structure on a fast axis.</p> <p>12:17.540 --> 12:22.560<br /> So, so there's, there's no reference in back or anything like that.</p> <p>12:22.560 --> 12:46.380<br /> It's in the, this, we were talking about this, the size of the, index is that depends on the, vector dimension dimensions, a number of vectors that we're storing and, and then, and some of the parameters that, you know, per node, that, that index, but, we did some, some sizing and testing around it as yes.</p> <p>12:46.380 --> 12:54.160<br /> The accuracy increases when the dimensions are high as we know, and the size, size gets, gets higher.</p> <p>12:54.440 --> 13:04.800<br /> So, we're looking into this also, if there is any, any option to optimize that or, use some compression technology to, for this index.</p> <p>13:05.160 --> 13:16.360<br /> And, that's, something, is, is kind of, important to know that because this is not in, you know, DB, this is basically in the file system.</p> <p>13:16.380 --> 13:19.080<br /> And it needs to be, you know, placed correctly.</p> <p>13:19.360 --> 13:32.200<br /> You, you mentioned before how the, how MyVector is available and I know it's available as a plugin and just to clarify for our listeners, do you also provide the binary packages or do we still need to compile it, from the source?</p> <p>13:32.980 --> 13:33.480<br /> Yes.</p> <p>13:33.480 --> 13:46.860<br /> As I mentioned earlier, since FOSDEM the, the, the latest, release of, MyVector included, the, binary releases or, x86.</p> <p>13:47.480 --> 13:53.840<br /> And, and, that will, that is published in the GitHub page and, as open source.</p> <p>13:54.100 --> 13:57.220<br />  so you no longer need to compile it from the source.</p> <p>13:57.220 --> 14:02.360<br /> If you want to test it out, just to plug in, my, um,</p> <p>14:02.360 --> 14:16.980<br /> I have launched a new blog technical blog page and started blogging and, I will blog about this so, so that, the listeners and, and the readers can actually, have a link available in the, in the blog.</p> <p>14:16.980 --> 14:28.440<br /> So they can go in and test it out and Docker images were available, but, binary releases also added, recently, for the, for the test.</p> <p>14:28.440 --> 14:30.380<br /> Awesome. Thank you, Alkin.</p> <p>14:30.720 --> 14:42.720<br /> So last question, do you know if there are already, some, companies or, users, using MyVector in production or not yet?</p> <p>14:43.260 --> 14:45.500<br /> There are some POCs going on.</p> <p>14:45.860 --> 14:47.700<br /> And as you know, this is open source.</p> <p>14:47.700 --> 14:58.360<br />  there, there were some interest after force them, you know, we, people reached out, who were actually doing, this type of research and analysis.</p> <p>14:58.360 --> 15:03.920<br /> It was on the existing MySQL databases and, we provided help and information.</p> <p>15:04.380 --> 15:05.540<br /> They might have taken it.</p> <p>15:05.600 --> 15:06.580<br /> They might have forked it.</p> <p>15:06.640 --> 15:08.980<br /> They might have embedded into their existing implementation.</p> <p>15:09.580 --> 15:16.500<br />  we don't know, but, as far as I know, there, there are a few POCs are going, they're testing with the existing data.</p> <p>15:16.500 --> 15:29.520<br /> So, as you know, just to add up since FOSDEM, there has been one shift happened in this type of technology, which is the MCP servers.</p> <p>15:29.520 --> 15:45.640<br /> So, that is one thing that I wanted to add over here with that shift, generating embeddings and, and actually having an MCP server that will actually add context to the n-search.</p> <p>15:45.640 --> 15:53.620<br /> Like a chat bot implementation made it, made things a little bit more, not only useful, but also interesting.</p> <p>15:54.320 --> 16:01.380<br /> So say you have, you know, support tickets or some, some data that's actually related to your, you know, internal customers.</p> <p>16:01.580 --> 16:03.600<br /> You could add MCP server.</p> <p>16:03.800 --> 16:06.160<br /> There are some public MCP servers.</p> <p>16:06.320 --> 16:09.780<br /> There are some open source and MCP server implementations.</p> <p>16:10.080 --> 16:12.300<br /> And, and we're also looking into that.</p> <p>16:12.560 --> 16:15.560<br /> And, I want to mention over here on my last.</p> <p>16:15.640 --> 16:24.200<br />  talk during the vector search conference, I have actually, presented a MyVector with an MCP server demo.</p> <p>16:24.200 --> 16:27.880<br />  and, and that recording is should be available.</p> <p>16:27.880 --> 16:30.900<br /> So for that, and, and, and actually it works.</p> <p>16:30.900 --> 16:44.520<br />  this is pure MySQL open source, pure MyVector open source and pure MCP server open source with the, you know, clinical trials data, like the, one of the public data data sets that I've used.</p> <p>16:44.520 --> 16:52.300<br />  you can actually ask questions and it'll answer, and then you can continue the chat using this, this, very given technology.</p> <p>16:52.300 --> 16:54.060<br /> That's awesome.</p> <p>16:54.060 --> 17:00.060<br /> I've actually been playing around with, writing my own MCP servers and having them interact with MySQL.</p> <p>17:00.060 --> 17:14.880<br /> And I think MCP is going to be, is going to wind up being pretty, being pretty big because it does give that, domain specific context that the LLMs can actually use to generate content or answers or whatever.</p> <p>17:14.880 --> 17:18.120<br /> So I, I'm, I'm interested to play around with that.</p> <p>17:19.000 --> 17:19.520<br /> Absolutely.</p> <p>17:19.740 --> 17:20.120<br /> Absolutely.</p> <p>17:20.120 --> 17:23.100<br /> This is very interesting development, very recent.</p> <p>17:23.740 --> 17:28.440<br /> a lot of people are experimenting right now with the MCP servers.</p> <p>17:29.160 --> 17:44.300<br /> MCP servers, are going to be, I think the salt and pepper of, or, or sauce of, of this technology, you know, having the vectors and beddings and the, you know, n-search, HNSW index and the MCP server.</p> <p>17:44.300 --> 17:47.220<br /> So they, it's going to complete the puzzle in my opinion.</p> <p>17:47.600 --> 17:50.920<br /> And, and also, like I said, I've already given a demo.</p> <p>17:51.060 --> 17:53.840<br /> We are also looking into this, this technology.</p> <p>17:54.120 --> 17:59.220<br />  and, of course there's, that is also still under development.</p> <p>17:59.740 --> 18:08.980<br />  if you're opening up for a public MCP, then it's actually your, your security and compliance is, is now outside again.</p> <p>18:08.980 --> 18:16.200<br /> We want to do, if you want to do everything internally, if you want to do everything in your own database, with your own security and compliance.</p> <p>18:16.700 --> 18:20.660<br /> So that's a game changer to have something, available for yourself.</p> <p>18:21.260 --> 18:21.660<br /> Excellent.</p> <p>18:21.840 --> 18:23.140<br /> So thank you very much, Alkin.</p> <p>18:23.660 --> 18:25.060<br />  thank you for your time.</p> <p>18:25.460 --> 18:27.740<br /> We know you are on your boat right now, sailing.</p> <p>18:27.960 --> 18:28.900<br /> So that's awesome.</p> <p>18:29.180 --> 18:29.580<br /> Thank you.</p> <p>18:29.640 --> 18:30.420<br /> Thanks a lot, guys.</p> <p>18:30.600 --> 18:31.120<br /> Thank you, Alkin.</p> <p>18:31.180 --> 18:33.120<br /> And thank you for all your contributions to the community.</p> <p>18:33.120 --> 18:36.880<br /> That's a wrap on this episode of Inside MySQL: Sakila Speaks.</p> <p>18:37.040 --> 18:38.280<br /> Thanks for hanging out with us.</p> <p>18:38.560 --> 18:42.320<br /> If you enjoyed listening, please click subscribe to get all the latest episodes.</p> <p>18:42.600 --> 18:45.540<br /> We would also love your reviews and ratings on your podcast app.</p> <p>18:45.860 --> 18:50.080<br /> Be sure to join us for the next episode of Inside MySQL: Sakila Speaks.</p> <p> </p>

Episode thumbnail for Homegrown Intelligence: AI Features for On-Prem MySQL Enterprise

September 4, 2025

Homegrown Intelligence: AI Features for On-Prem MySQL Enterprise

<p>leFred and Scott sit down with Gaurav Chadha to explore MySQL AI, a new solution that brings advanced AI features available in HeatWave to organizations running MySQL Enterprise Edition on-premises. Discover how MySQL AI bridges the gap between cloud innovation and on-premise infrastructure, making transformative AI capabilities more accessible, secure, and efficient for teams that rely on MySQL Enterprise Edition wherever their databases reside.</p> <p> --------------------------------------------------------------</p> <p>Episode Transcript:<br /> <br /></p> <p>00:00.000 --> 00:25.000<br /> Welcome to Inside MySQL: Sakila Speaks, a podcast dedicated to all things MySQL. We bring you the latest news from the MySQL team, MySQL product updates and insightful interviews with members of the MySQL community.</p> <p>00:25.000 --> 00:32.000<br /> Sit back and enjoy as your hosts bring you the latest updates on your favorite open source database. Let's get started.</p> <p>00:32.000 --> 00:37.000<br /> Welcome back to another episode of Inside MySQL: Sakila Speaks. Hi, I'm LeFred.</p> <p>00:37.000 --> 00:38.000<br /> And I'm Scott Stroz.</p> <p>00:38.000 --> 00:41.000<br /> Today, we are thrilled to have Guarav Chadha joining us.</p> <p>00:41.000 --> 00:51.000<br /> Guarav is a Senior Development Manager leading development of MySQL HeatWave Lakehouse with a keen interest in systems, machine learning and computer architecture.</p> <p>00:51.000 --> 01:10.000<br /> Guarav brings a multifaceted expertise to database technology. Following the completion of his PhD from the University of Michigan, Ann Arbor, Guarav started at Oracle Labs in 2016, working on a research project which eventually graduated into MySQL HeatWave.</p> <p>01:10.000 --> 01:16.000<br /> But today we will talk with him about MySQL and AI on premise. Welcome Guarav.</p> <p>01:16.000 --> 01:17.000<br /> Thanks, Fred. Hi, Scott.</p> <p>01:17.000 --> 01:18.000<br /> Hi, Guarav. How are you?</p> <p>01:18.000 --> 01:19.000<br /> Doing good.</p> <p>01:19.000 --> 01:32.000<br /> So we're going to dive right in. And AI, we see AI is taking over the world. It's being touted for the solution to everything.</p> <p>01:32.000 --> 01:41.000<br /> How do you see AI transforming traditional on-premise database environments, especially in enterprise setups?</p> <p>01:41.000 --> 01:54.000<br /> Yes, Scott. So, I completely agree. AI is a transformational technology, and it has the potential to improve everything that we see around us.</p> <p>01:54.000 --> 02:07.000<br /> So, with regards to traditional on-premise database environments, especially in enterprise setups, I see multiple categories here. So, AI is a technology and a toolset.</p> <p>02:07.000 --> 02:32.000<br /> And like many other operators in databases, it can help with more and different data analysis. So, think of AI as a new set of SQL operators, which can tease out or analyze data and derive insights that are hard to do it with other operators, with other analysis tools.</p> <p>02:32.000 --> 02:45.000<br /> And hard for folks to call up. And hard for folks to code up. And that's where I think AI enhances it very easily enters into the database environments.</p> <p>02:45.000 --> 02:56.000<br /> What I mean by that is examples are recommendation systems, anomaly detection, so on and so forth.</p> <p>02:56.000 --> 03:02.000<br /> The other category is what I would say user assistance.</p> <p>03:02.000 --> 03:15.000<br /> So, not everyone is a SQL expert. And we want database technology and databases to be accessible to more people who may or may not come from a traditional database background.</p> <p>03:15.000 --> 03:22.000<br /> And SQL is a very powerful language and where it can be daunting to start with.</p> <p>03:22.000 --> 03:35.000<br /> So, again, this is a general category where maybe folks who are not very familiar with a specific programming language like SQL could write things out in just plain natural text.</p> <p>03:35.000 --> 03:42.000<br /> And AI tools could translate this into a programmatic interface or programmatic language or SQL directly.</p> <p>03:42.000 --> 03:50.000<br /> And that's another facet where I think AI can make database systems more approachable to a larger category of folks.</p> <p>03:50.000 --> 03:57.000<br /> It can also give you more user friendly responses, like instead of saying, oh, here's the error code, something went wrong.</p> <p>03:57.000 --> 04:00.000<br /> It can give you more information, more user friendly responses.</p> <p>04:00.000 --> 04:06.000<br /> So those are some examples of where I would say the second category, user assistance.</p> <p>04:06.000 --> 04:12.000<br /> The third category of where AI could help is database management.</p> <p>04:12.000 --> 04:21.000<br /> So databases are systems of record, the sources of truth and have a very high bar of staying up and being available.</p> <p>04:21.000 --> 04:30.000<br /> AI can help schedule maintenance at the right time where maybe the workload is low.</p> <p>04:30.000 --> 04:35.000<br /> They can predict things that might get slow.</p> <p>04:35.000 --> 04:43.000<br /> We have a whole area called predictive maintenance and make databases more highly available, more easily approachable.</p> <p>04:43.000 --> 04:44.000<br /> Thank you.</p> <p>04:44.000 --> 04:46.000<br /> This sounds very interesting.</p> <p>04:46.000 --> 04:50.000<br /> And because we are talking about MySQL on-prem, right?</p> <p>04:50.000 --> 05:04.000<br /> So from these categories, what features could we expect then one day to see in MySQL enterprise with AI or for AI?</p> <p>05:04.000 --> 05:07.000<br /> So what can you tell us about that?</p> <p>05:07.000 --> 05:16.000<br /> So for MySQL AI, we are bringing a whole host of AI features to on-premise MySQL deployments.</p> <p>05:16.000 --> 05:22.000<br /> And we will lean heavily with this first version on the first category, which is data analysis.</p> <p>05:22.000 --> 05:25.000<br /> How can AI help with data analysis?</p> <p>05:25.000 --> 05:34.000<br /> And within this, I would focus on, I would say, a few subcategories.</p> <p>05:34.000 --> 05:48.000<br /> The first is, with AI and generative AI specifically, it has brought the industry a new tool set to search through and understand documents.</p> <p>05:48.000 --> 05:58.000<br /> And not just structured data or relational data, just plain documents, which is true for a lot of enterprise companies.</p> <p>05:58.000 --> 06:09.000<br /> Companies have years and years worth of information stored in documents, in PDF documents, in HTML documents, and not really put into a database necessarily.</p> <p>06:09.000 --> 06:12.000<br /> And this has always been hard to search.</p> <p>06:12.000 --> 06:23.000<br /> It has been very manual, it has been very hard to bring to a database and perform a very fast and meaningful search.</p> <p>06:23.000 --> 06:39.000<br /> With generative AI and what we call vector store and vector search, you can search through unstructured data like documents, semantically, instead of just through keywords.</p> <p>06:39.000 --> 06:42.000<br /> You can search them by meaning.</p> <p>06:42.000 --> 06:47.000<br /> That's a very powerful technology that we are bringing to MySQL AI.</p> <p>06:47.000 --> 07:02.000<br /> So if users have documents in their file systems, they can ingest them into the database, and we will automatically create what we call a vector store out of it, which prepares the data in these documents to be searched semantically.</p> <p>07:02.000 --> 07:13.000<br /> Obviously, in order to this, we are adding a new operator, which does this semantic search, we call this vector distance.</p> <p>07:13.000 --> 07:31.000<br /> Additionally, I spoke about data analysis tools like recommendation systems, like anomaly detection, and these operators also being brought to MySQL AI, where you can plug them into your logs, or you can plug them into other metrics.</p> <p>07:31.000 --> 07:40.000<br /> And figure out when things can go wrong, or any other domain that is useful.</p> <p>07:40.000 --> 07:46.000<br /> An example of a domain for anomaly detection would be financial fraud, credit card fraud.</p> <p>07:46.000 --> 07:49.000<br /> So it's very useful in those scenarios.</p> <p>07:49.000 --> 07:56.000<br /> And the last category I would say among data analysis is generative AI.</p> <p>07:56.000 --> 08:15.000<br /> We're bringing LLMs to MySQL AI, and the power of LLMs really is they can generate new data and new user-friendly text from just bullet points, for instance.</p> <p>08:15.000 --> 08:22.000<br /> So not just analyzing data, but generating new data is possible through LLMs.</p> <p>08:22.000 --> 08:29.000<br /> So that I would say covers the first category.</p> <p>08:29.000 --> 08:31.000<br /> This is all data analysis.</p> <p>08:31.000 --> 08:34.000<br /> Among the second category, which is user assistance.</p> <p>08:34.000 --> 08:41.000<br /> User assistance is by bringing LLMs to on-premise MySQL AI deployments.</p> <p>08:41.000 --> 08:50.000<br /> It gives the user freedom to build more user-friendly applications or make the existing applications more user-friendly.</p> <p>08:50.000 --> 08:53.000<br /> And this is what we will start with, with version one of MySQL AI.</p> <p>08:53.000 --> 09:04.000<br /> So are there any specific features in MySQL Enterprise, like Firewall or Enterprise Audit, that support AI-enabled applications?</p> <p>09:04.000 --> 09:09.000<br /> So as we discussed, AI is an incredibly powerful set of tools and technologies.</p> <p>09:09.000 --> 09:15.000<br /> And this is our first salvo in enabling our customers to build and augment applications using AI.</p> <p>09:15.000 --> 09:28.000<br /> So we're bringing a whole tool set, we're bringing faster data analysis, more meaningful and different kinds of data analysis to help users build and augment existing applications.</p> <p>09:28.000 --> 09:34.000<br /> The door is certainly open to bringing AI to the ecosystem of products, as you mentioned, around the MySQL server.</p> <p>09:34.000 --> 09:39.000<br /> But with this first version, we are building these right into the MySQL server.</p> <p>09:39.000 --> 09:54.000<br /> With this MySQL AI, like you call it, right, is it compatible with or will it be compatible with all the architecture solutions that we also provide on-premise,</p> <p>09:54.000 --> 10:01.000<br /> like such as the InnoDB cluster, the cluster set, replica set, you know, for HA, for disaster recovery?</p> <p>10:01.000 --> 10:08.000<br /> If somebody goes in that direction, will he be able to keep deploying his MySQL the same way?</p> <p>10:08.000 --> 10:15.000<br /> So the AI feature set, the tool sets, are built right into the MySQL server.</p> <p>10:15.000 --> 10:23.000<br /> So all the architecture solutions which are deploying MySQL AI instances benefit from these features.</p> <p>10:23.000 --> 10:33.000<br /> Okay, so just to be clear, so we're not going to have two distinct products where one's MySQL EE and another one is MySQL AI.</p> <p>10:33.000 --> 10:35.000<br /> They'll all be together in the same product?</p> <p>10:35.000 --> 10:41.000<br /> So MySQL AI will be a distinct offering.</p> <p>10:41.000 --> 10:48.000<br /> It will have everything that Enterprise Edition has, plus the additional AI features we spoke about.</p> <p>10:48.000 --> 10:51.000<br /> And this is all about user choice.</p> <p>10:51.000 --> 10:57.000<br /> Customers can continue using MySQL EE if that is what they prefer.</p> <p>10:57.000 --> 11:10.000<br /> They can switch to MySQL AI and or buy new MySQL AI deployments to try out these new AI tools and get them familiar, get themselves familiar with it.</p> <p>11:10.000 --> 11:17.000<br /> The MySQL AI will have everything that Enterprise Edition has, plus the AI features.</p> <p>11:17.000 --> 11:32.000<br /> So it opens the door for users and customers to build their applications worry-free, as they've always built with MySQL EE, because the entire feature set of EE will be present in MySQL AI.</p> <p>11:32.000 --> 11:37.000<br /> But additionally, they can build more newer things with AI.</p> <p>11:37.000 --> 11:43.000<br /> In the previous episode, so the other speakers or guests, right?</p> <p>11:43.000 --> 11:49.000<br /> They extol the virtues of the cloud for AI, our cloud.</p> <p>11:49.000 --> 11:52.000<br /> Everything was nice and fast and it's good.</p> <p>11:52.000 --> 12:06.000<br /> And I would like to ask you if there are a performance trade-off between then deploying AI solutions in the cloud using MySQL HeatWave versus on-prem with this new MySQL AI.</p> <p>12:06.000 --> 12:21.000<br /> So with MySQL AI, we have brought the AI technology, we have built and deployed in the cloud to our EE customers, to on-premise environments.</p> <p>12:21.000 --> 12:24.000<br /> Cloud has some unquestionable advantages.</p> <p>12:24.000 --> 12:28.000<br /> Cloud has the benefit of scale-out, which can bring higher performance.</p> <p>12:28.000 --> 12:37.000<br /> It has GPUs, which can execute LLMs faster or larger LLMs, higher quality LLMs.</p> <p>12:37.000 --> 12:48.000<br /> So with MySQL AI, we have brought the AI technology that we built and deployed in the cloud to our on-premise customers and our Enterprise Edition customers.</p> <p>12:48.000 --> 12:57.000<br /> There are a very large, very large set of customers who are on-premise for a variety of reasons.</p> <p>12:57.000 --> 13:02.000<br /> And we want to serve them where they are.</p> <p>13:02.000 --> 13:07.000<br /> What I do want to point out is that cloud has some unquestionable advantages.</p> <p>13:07.000 --> 13:14.000<br /> It has the benefit of scaling out with more and more hardware, which can give you high performance.</p> <p>13:14.000 --> 13:22.000<br /> And like HeatWave, all these AI features are built to scale out with more resources.</p> <p>13:22.000 --> 13:31.000<br /> Cloud also has GPUs, which bring more performance for LLMs and can execute larger and higher quality LLMs.</p> <p>13:31.000 --> 13:47.000<br /> Cloud also has our HeatWave analytics engine, which provides faster analytics performance, allowing users to build combined applications with analytics, OLTP, AI.</p> <p>13:47.000 --> 13:58.000<br /> What is very important to note, all AI features we bring into MySQL AI are 100% API compatible with HeatWave in the cloud.</p> <p>13:58.000 --> 14:02.000<br /> So users can build their applications on MySQL AI.</p> <p>14:02.000 --> 14:15.000<br /> And should they feel the need for higher performance or an expanded feature set, and they want to move to the cloud, the applications will work without modifications.</p> <p>14:15.000 --> 14:19.000<br /> And we have tried very hard to make it 100% API compatible.</p> <p>14:19.000 --> 14:40.000<br /> So with MySQL AI, we have optimized inference of open-width LLMs on CPUs, right from one core all the way to 192 cores, using proprietary weight caching and quantization techniques.</p> <p>14:40.000 --> 14:49.000<br /> And this allows us to, the users to deploy MySQL AI on a range of computer infrastructure, depending on their need.</p> <p>14:49.000 --> 14:51.000<br /> It can be very small MySQL node.</p> <p>14:51.000 --> 14:53.000<br /> It can be a very beefy MySQL node.</p> <p>14:53.000 --> 15:13.000<br /> And as they improve the hardware, the performance, the latency, the quality, the concurrency we deliver increases, providing incentive to users to deploy on larger and larger hardware.</p> <p>15:13.000 --> 15:25.000<br /> Are we targeting, like, is MySQL AI targeted towards existing MySQL EE customers who are looking for more features?</p> <p>15:25.000 --> 15:35.000<br /> Or are we kind of targeting other potential customers and luring them in with AI to get them into the MySQL ecosystem?</p> <p>15:35.000 --> 15:50.000<br /> Both. We are bringing more features to MySQL EE, and we hope that more and more users, more classes of users, more classes of applications, find their home in MySQL.</p> <p>15:50.000 --> 16:00.000<br /> And absolutely, we want to allow our existing on-premise customers to be able to bring more of their workloads into MySQL.</p> <p>16:00.000 --> 16:06.000<br /> And for a number of reasons, many customers want to be on-premise.</p> <p>16:06.000 --> 16:10.000<br /> They might require deployments in the edge devices.</p> <p>16:10.000 --> 16:13.000<br /> They might require deployments in air-gapped environments for data security.</p> <p>16:13.000 --> 16:21.000<br /> So we want to enable these existing customers to bring more workloads.</p> <p>16:21.000 --> 16:29.000<br /> Of course, there are other customers who may not have ever looked at MySQL EE because they have requirements to deploy AI or to deploy generative AI.</p> <p>16:29.000 --> 16:41.000<br /> And we want to obviously give them this tool set and this enhanced feature set to bring their primary, secondary, tertiary workloads to MySQL EE.</p> <p>16:41.000 --> 16:46.000<br /> That's very nice to bring this to our on-prem customer.</p> <p>16:46.000 --> 17:05.000<br /> So correct me if I'm wrong, but to what I understood is that we modified LLMs to work on normal CPU for performance, and so we can run it.</p> <p>17:05.000 --> 17:20.000<br /> We don't need to have GPUs, but you also said that, yeah, if we really want to use a very large LLM, then it's better to use it to use the cloud than on-prem.</p> <p>17:20.000 --> 17:33.000<br /> But I wanted to also ask you, because LLMs that are evolving and not at the same speed of the MySQL releases.</p> <p>17:33.000 --> 17:35.000<br /> I have two questions in this one.</p> <p>17:35.000 --> 17:42.000<br /> It's like, oh, if there are new LLMs, will it be the possibility to the user to use it directly in GenAI?</p> <p>17:42.000 --> 17:49.000<br /> Or will it be updated at every new release of MySQL?</p> <p>17:49.000 --> 18:01.000<br /> Good question. So there's absolutely no exaggeration to state that a new LLM seemingly is released every month with its unique set of characteristics and benefits.</p> <p>18:01.000 --> 18:20.000<br /> So we will definitely bring new LLMs, which enhance the performance of all quality of results, as and when we feel that is useful to add to the existing set of LLMs we offer with future MySQL releases.</p> <p>18:20.000 --> 18:31.000<br /> So we will have we have taken the approach of building in LLMs in the package that we ship to our customers.</p> <p>18:31.000 --> 18:37.000<br /> There are many reasons for this. We have optimized these LLMs to run on CPUs.</p> <p>18:37.000 --> 18:54.000<br /> So we are able to run larger LLMs faster on CPUs, allowing our users to seamlessly use these LLMs without extra hardware or call outs to other services.</p> <p>18:54.000 --> 19:02.000<br /> So we will continue doing that with new LLMs as new ones prove to be useful for our users.</p> <p>19:02.000 --> 19:14.000<br /> What you say is that, OK, when we're going to release a new version of MySQL, if there are new LLMs that were interesting to update, they will be updated at that time, right?</p> <p>19:14.000 --> 19:19.000<br /> Build the LLMs into the package the users download and deploy.</p> <p>19:19.000 --> 19:24.000<br /> Users do not need to bring their own LLMs.</p> <p>19:24.000 --> 19:51.000<br /> Gurav, thank you for joining us today. It really was interesting for me, I can say personally, to learn about some of the advancements that are coming in MySQL AI and how it's going to be integrating with our EE version to allow people who need on premise or prefer on premise installations of MySQL to actually harness some of the AI power that we offer in HeatWave.</p> <p>19:51.000 --> 19:54.000<br /> Thank you, Scott. Thank you, Fred.</p> <p>19:54.000 --> 19:55.000<br /> Thank you very much. Bye bye.</p> <p>19:55.000 --> 20:00.000<br /> That's a wrap on this episode of Inside MySQL: Sakila Speaks. Thanks for hanging out with us.</p> <p>20:00.000 --> 20:04.000<br /> If you enjoyed listening, please click subscribe to get all the latest episodes.</p> <p>20:04.000 --> 20:07.000<br /> We would also love your reviews and ratings on your podcast app.</p> <p>20:07.000 --> 20:12.000<br /> Be sure to join us for the next episode of Inside MySQL: Sakila Speaks.</p> <p> </p> <p> </p>

Episode thumbnail for Let HeatWave Drive: The AutoPilot Advantage

August 21, 2025

Let HeatWave Drive: The AutoPilot Advantage

<p>In this episode, leFred and Scott are joined by Onur Korcerber to explore the many features of HeatWave AutoPilot. Learn how AutoPilot’s intelligent automation helps manage MySQL instances with ease, optimizes performance, and reduces operational costs. Onur shares practical insights and real-world examples showing how customers can streamline their database operations with HeatWave AutoPilot.</p> <p> -------------------------------------------------------------</p> <p>Episode Transcript:</p> <p>00:00:00:00 - 00:00:31:20<br /> Welcome to Inside MySQL: Sakila Speaks. A podcast dedicated to all things MySQL. We bring you the latest news from the MySQL team, MySQL project updates and insightful interviews with members of the MySQL community. Sit back and enjoy as your hosts bring you the latest updates on your favorite open source database. Let's get started!</p> <p>00:00:31:22 - 00:01:03:00<br /> Hello and welcome to Sakila Speaks, the podcast dedicated to MySQL. I am leFred and I'm Scott Stroz, joining us today is Onur Kocberber. Onur is currently a director of Development at Oracle, leading efforts on MySQL HeatWave, specifically working on the AutoPilot. Based in Oracle's Zurich office, Onur focuses in advanced research and development to improve cloud database performance through interpretable machine learning techniques.</p> <p>00:01:03:02 - 00:01:24:16<br /> He plays a key role in the ongoing growth of HeatWave, including work on new offering like the HeatWave Lakehouse and HeatWave GenAI service. Welcome, Onur. Thanks. Thanks leFred, thanks Scott. Great to be here. So Onur, can you tell us a bit about your journey? What led you to Oracle and specifically to the MySQL HeatWave team? All right.</p> <p>00:01:24:16 - 00:01:53:10<br /> So I, I was a grad student at EPFL Lausanne in Switzerland, and, I was doing research specific doing database, accelerators, both for, with hardware and software. And, at the time, I knew that Oracle Labs had a very exciting project about, building basically hardware, software, core design, database machines. And once I graduated, I knew that there were really good set of people.</p> <p>00:01:53:10 - 00:02:21:18<br /> And that's, how I joined. So I came to basically Zurich, to to the Oracle Labs branch. And then eventually, maybe fast forward ten years, we have, HeatWave database service, but, what we see includes MySQL and other things I will discuss today. That is fantastic. So, Onur, this entire season has been dedicated to, everything AI.</p> <p>00:02:21:18 - 00:02:47:07<br /> What AI offerings that HeatWave has and some of our listeners, I would guess maybe many of our listeners probably aren't too familiar with, HeatWave AutoPilot. Can you give us a high altitude overview of what AutoPilot is and, what problems that might be resolved? So the database systems today are all cloud databases, right? And, these are many services.</p> <p>00:02:47:07 - 00:03:21:04<br /> And the onus is on us, in terms of managing these systems. So the customers are expecting basically a full, full fledged, automated service with no, let's say rough edges. And that's where, AutoPilot, comes into play. And when we started the project, when, MySQL HeatWave was becoming a cloud service, we, also started the AutoPilot project, and, we basically targeted four different, let's say, problem domains.</p> <p>00:03:21:04 - 00:03:53:04<br /> So these are, setting up the system, data, basically loading the data or data management query execution and then failure handling. And, for each of these, categories, we basically looked at what, how we could, improve customer experience as well as customer performance. And at the same time, we put the machine learning, as one of our, basically main objectives because, this is a very old topic, right?</p> <p>00:03:53:04 - 00:04:18:12<br /> This is this is not a new topic like database management on automatic database, admins and DBAs and such. So that's why we took all the, academic research, plus the realities all today, which is the cloud services. And then, we looked at these four different pillars and then fast forward to today, we have like a double digit numbers in the AutoPilot suite.</p> <p>00:04:18:14 - 00:04:55:12<br /> Wonderful. And that's awesome. So and why then, this HeatWave AutoPilot is a game changer for users. Right. So, one of the things that we were seeing in the early days of our services that customers would sometimes put together, let's say, scripts or rules or let's say, some sort of, business practices, right? And in AutoPilot, we are taking all of those, especially what you're observing or what you're anticipating, right, that, the customers will have problems with.</p> <p>00:04:55:16 - 00:05:18:07<br /> And then we are offering them out-of-the-box ready to use for the for the customers. Some of those are fully automated, like, let's say, for or planned improvements. These are like these are happening completely transparent to the use it and some of the features that are a bit more about, the cost optimization of the service or performance optimizations are provided as an advisor.</p> <p>00:05:18:08 - 00:05:43:03<br /> So essentially we are constantly watching what the customer might, let's say, what would the cost of problems that the customers might have? And we are offering it out of the box included in the, in the service. And that is something, we see when we look at our competitors, we see that, some of the problems that we are solving are just seen as kind of still left as rough, rough edges.</p> <p>00:05:43:05 - 00:06:02:08<br /> And that's why it is really important. And at the core of it, we have a lot of machine learning models. These models are automatically up to...updated as we also update the version of the service. Therefore customers don't have to worry anything about, basically those, those, those problems that they are running into. Great.</p> <p>00:06:02:08 - 00:06:31:10<br /> Thank you. So, and when I follow what you just said, then, it seems that, these AutoPilot feature can save OCI customers some money, right? Right. So for certain cases, absolutely. For example, let's take auto provisioning. This is the feature that, the, made available almost at the same time when the, with the GA and, since our GA, this has been used, very actively.</p> <p>00:06:31:10 - 00:06:54:02<br /> And in this feature, for example, we say this is the number of nodes, that's, a customer should provision for accelerating their, analytical queries with HeatWave. And the great thing here is that, they don't have to overprovision their cluster or they don't, they don't need to under provision their cluster and then run into all sorts of possible issues.</p> <p>00:06:54:04 - 00:07:13:07<br /> So then one, one part of it is that they have the optimal cost, right? So they, they pay or they provision what they, what they should. And at the same time they also say, save time by just not having to, worry about it. And then similarly, for example, we have an auto load and unload feature.</p> <p>00:07:13:07 - 00:07:40:05<br /> So if you see there is some let's say there is going to be some benefit from from customer workload, we would automatically load or unload tables. And again, this would either give you a performance boost, which again translates into some sort of cost saving, or at the same time we would just, unload the unnecessary tables so that the customer wouldn't have to, let's say, increase their resource consumption, because they don't they don't have to.</p> <p>00:07:40:07 - 00:08:15:12<br /> And then we have a bunch of other like, similar features actually, that that will do. For example, there's auto compression that already gives you better price performance, but by default. Right. So that's definitely, every the most of the optimizations we do is translating into some sort of cost saving for the customers. That's awesome. I find that actually pretty, interesting that we offer ways to make sure the customer is basically streamlining their process, and then they're not overpaying for resources because some people might spin up a huge instance when they don't, in fact, need it.</p> <p>00:08:15:14 - 00:08:39:07<br /> So what are some features of AutoPilot that can help make storing and retrieving data a little bit more efficient? So I mean, let me give you an OLTP example. Of course auto indexing is is one of them. Right. So indexing, is definitely one of the holy grail problems in computer science, I would say. And we have a feature, that basically recommend secondary indexes.</p> <p>00:08:39:07 - 00:09:04:23<br /> So that's I see people ... people who are familiar with the MySQL know that how important indexes are. So we actually have an index advisor and that's, pretty effective. We see this today with customers as well. And that's just working really well. And having the right indexes is definitely making the, data retrieval, extremely efficient.</p> <p>00:09:05:01 - 00:09:26:21<br /> And if I were to give you an example from the analytical site, we, we have adaptive query execution. So we are basically over time, the improve the, the the query plan. Right. So this is also making, everything, a lot more efficient. And if I were to give maybe an example from the Lakehouse side.</p> <p>00:09:26:21 - 00:09:57:14<br /> So this is another, basically feature where we deal with semi-structured data. We do we, we automatically ingest, the unstructured files by understanding the, the, the schema. And, this way we can represent the unstructured data in the right format, which could translate into a better, let's say, space, usage guide so that you don't have to maybe pick a larger type than anticipated, than what the customer anticipated.</p> <p>00:09:57:16 - 00:10:32:13<br /> So and all these things, are they sometimes they look small, but these are the real problems because, especially when it comes to whether it's indexes or whether it is query plans or whether it is unstructured data, in all these instances, we are dealing with hundreds, if not thousands of either queries or tables and such. And and for a particular user, maybe dealing with 1 or 2 is easy, but dealing with thousands, I think every DBA would know or every user would know that it's, it's it's a tedious process with a lot of gotchas.</p> <p>00:10:32:13 - 00:10:59:09<br /> And corner cases will be basically take all these things into account in our AutoPilot suite. And then we update our, learnings and our optimizations as the versions go. But thank you. Yeah. Nice. Good answer. So what do you think are, the biggest misconception that the developers have about, machine learning driven, database optimization, right.</p> <p>00:10:59:11 - 00:11:19:18<br /> Because, yeah, there is the old DBA. Is that the they should know everything. And then the also thwy run the reports and sometimes people say, yeah, is it good or not I don't know. So do you know that, do you have an answer for this. Yes. So this is one of my favorite topics. Yeah.</p> <p>00:11:19:19 - 00:11:52:18<br /> So this is, something that we, we we have an internal discussion going on. Right. So I am also receiving a lot of requests from other teams or, people who are, and like, very, let's say, excited or ambitious about, applying like, machine learning to, to their domain, to their problems, like, one of the things that I keep seeing is that so there is, basically systems for ML and ML for systems that I, this is, I think, a very good, way of describing.</p> <p>00:11:52:20 - 00:12:22:20<br /> So we are at the end of the day, we are building computer systems and we should use ML for optimizing our computer systems. So and most of the time what I see is that like people who start, like basically trying to people who start trying to, apply ML, they put ML is a first object, whereas it should be actually not the first objective, it should be first the systems, how we build a system, a computer system.</p> <p>00:12:22:22 - 00:12:46:22<br /> And then we need to understand what is the hole, right, in our problem space that we can fill with machine learning. So most of the people who go and collect, let's say a data set and a the draw, let's say a regressor or a classifier on that data set. They say that it or it works well in the test, but it doesn't work in the in the real like a production like.</p> <p>00:12:47:00 - 00:13:09:20<br /> And to me this is the missing a systems inside. So we basically have to have a systems inside. So I will give you a very specific example. For HeatWave for when we are loading data into HeatWave, we can control InnoDB parallel thread and you know, parallel, like a thread count is a known lock that, anybody would know, let's say, how to tune.</p> <p>00:13:09:22 - 00:13:32:01<br /> But when it comes to the HeatWave load, it is, basically like the trigger behavior is changing, right? So basically we need to understand why the thread break here. The idea is changing. So that means that we have to collect the data in a way that we exercise the parts that HeatWave would exercise now. So if people were basically just saying, oh, like machine learning is going to solve everything for us, right?</p> <p>00:13:32:01 - 00:13:54:09<br /> Then we start with the data set. It will work. Basically, first the system inside, then the machine learning. You will be highly, highly effective. So that is why I think the second part is a while. Sure that what we put a lot of focus on is interpretability or explainability. So we try to fail our models first before the customers fail them.</p> <p>00:13:54:10 - 00:14:23:06<br /> alright and with that, we this is we just ship models, right. So this is, this is actually very, very important because otherwise it's some people might say, oh, you know, let's just fancy like a version of rule based tuning or it only works in certain cases. Right? So, basically to summarize, there is a lot of technical debt in machine learning models, but using the systems inside you can get good system engineer.</p> <p>00:14:23:06 - 00:14:42:02<br /> I think it's it's the real, secret sauce of shipping machine learning models that are effective at production. And then it's a long topic that after you ship it, you have to monitor them. You have to make sure that you are not regressing. There are not too heavy concepts and such. So yeah, what I would change that ML is machine learning is a tool.</p> <p>00:14:42:04 - 00:15:12:07<br /> And like any tool, it has its own drawbacks. And as long as we are aware of them, we can, these can provide really strong systems, that take advantage of ML. But again, systems first, ML second. That is my philosophy. I think that's actually a pretty good philosophy. So I know you might not be able to tell us everything, but are there any up any upcoming features that you're particularly excited about that you can actually talk about?</p> <p>00:15:12:09 - 00:15:39:17<br /> All right, so, well, I think this is not a surprise about generative AI. Right. So generative AI is, now the, the, the hottest, topic that, we are dealing with and, we, are working actively on generative AI based AutoPilot features, let's say. And one important difference there is that, when I say systems first, right, systems is about numerical data, right?</p> <p>00:15:39:17 - 00:16:01:09<br /> We deal with numbers that are coming in, let's say cache misses, buffer pool heat ratios, read write ratios right or performance and like all these numbers that they are essentially a time series that are just flowing in. And machine learning is like traditional machine learning is is very good at it or sometimes categorical, like, the data set, right?</p> <p>00:16:01:11 - 00:16:23:22<br /> When it happens, like should, it should have been this way or another. Right. Those are easy. But what is generative AI now bringing is, being able to deal with completely unstructured data. So what is unstructured data is text. For example the text. Then what text means means generating SQL code or text means dealing with logs, right.</p> <p>00:16:23:22 - 00:16:53:15<br /> Or log files or or automatically, thinking into, let's say like, your own, let's say diagnosis. That goes to data insight. So those are the areas, let's say that, that we are working on. Excellent. So because you're talking about, AI, GenAI, the resources is something, we hear, more and more in the database, area.</p> <p>00:16:53:16 - 00:17:21:12<br /> So, because HeatWave AutoPilot brings us, already a lot of, intelligence, automation but, what about the the natural language to a SQL. So the NL to SQL, do you think, this will be also something that, will come, for us and, and do you see it as a serious productivity tool for the analyst and the developers?</p> <p>00:17:21:14 - 00:17:52:18<br /> Are there still, orders, to making it available and, enough, for a production use? Right. That's a very good question. Okay. This is definitely a very hot topic for for everyone in the industry, I believe. And, so, yeah. So what is really happening in the NL to SQL domain is, as the large language models are getting larger, we are seeing a very big improvement in the accuracy of these tools.</p> <p>00:17:52:20 - 00:18:36:02<br /> And of course, what I mean, my accuracy of the known benchmarks. Right. And also what is really... Another interesting trend that is happening is that, you know, you look at traditional, like benchmarks, like for OLTP, OLAP, you know, TPC-C, TPC-H, TPD-DS right? They've been around for a very long time. What is interesting about, this NL to SQL benchmarks is that the more that they're out, it's, it takes maybe a year or less than a year to, to to get really good scores, you know, like, people are conquering is benchmarks and they're very fast, pace so it is true that it was not ready, but now we are seeing</p> <p>00:18:36:02 - 00:18:58:06<br /> signs that it is actually, they are getting very, very good at it. And and of course, it really depends on your, your complexity, how many SQL constructs you have. Right. And how complex, it could become because you certain SQL is just pages. Right. So that that means you need an assistant. But certain SQL is just, you know, you just want to learn something about your database.</p> <p>00:18:58:08 - 00:19:17:02<br /> Maybe you're a business executive or maybe you're a data analyst who is not very well versed in SQL. I can tell good for for for those type of use cases where you're a business analyst or whether you're a data analyst, I think that the tools are definitely there. So more complicated queries where even humans don't write in one go, right?</p> <p>00:19:17:02 - 00:19:41:15<br /> Like its an NL to query it it's pages right there. It's a great system, but it is performing maybe similar to the coding assistance that that we have todat. But yeah, it's it's definitely in a corner like, it like is is basically something that everybody is looking at actively and so, so we are so that's, I think you will hear,</p> <p>00:19:41:15 - 00:20:04:08<br /> Hopefully, some more cool news about it, soon.. That's awesome. That's actually something I'm really interested in. Just because, like you said, allowing people to query data without actually having the SQL knowledge is, is kind of intriguing. So one last question. As you, as would the three of us should know. You know, here at Oracle, we tend to eat our own dog food.</p> <p>00:20:04:10 - 00:20:33:12<br /> And it helped improve MySQL in some areas like high availability where we tuned group replication. Do you have a similar experience with the AI related tools that you could, talk about? Oh, yes. That's a very good, question. And this is an active topic that is, basically, happening right now, within the MySQL Org. So, yeah, I'm working on two different projects.</p> <p>00:20:33:17 - 00:20:59:02<br /> One is, we are using generative AI, our own generative AI service. I think they've generative AI service to generate, HeatWave release notes. So if you go to mysql.com today and if you look for HeatWave release nodes, you will see that there is actually banner up there that says these nodes are generated with the assistant off assistance of, HeatWave generative AI service.</p> <p>00:20:59:04 - 00:21:20:12<br /> And this is a system that we built in, again, purely running on our, software. And, it's working. Our technical writers love it. And we have actually working on several other improvements that we we are trying to write more, with that. And it is going to come. So there's something of the, quote unquote drinking our own champagne, right.</p> <p>00:21:20:14 - 00:21:50:14<br /> And, with that also reflected back right to the, to our generative AI team. So the AutoPilot team initially basically said, okay, like, these are the things that you should improve because so if you're running into these problems, our customers will also run into these problems. Right. So that's that. Is there one one one good. Also way of let's say, improving our product and another one, it's, something we call Ask MySQL Expert in short Ask ME.</p> <p>00:21:50:16 - 00:22:17:17<br /> So we are we is to build a general, question and answer machine that is able to, aanswer questions like the how to questions or the troubleshooting questions internally, like within the within the MySQL org and some of it's actually we, we demoed in some of the keynote speeches that that we gave and the also recently released a version of this as a sample app to our customers.</p> <p>00:22:17:19 - 00:22:40:05<br /> So basically, one part is that it's a question and answer machine that we are using internally. And, we, we got really good feedback. There are, certain cases where, especially junior, engineers, they learn a lot because they need to onboard, faster, than let's say, you know, basically compared to the compared to the past.</p> <p>00:22:40:05 - 00:23:08:11<br /> So that is why I think because there's a lot of knowledge to, to carry up to the you to use this tool. And at the same time we release this version to our cust... to our customers. But this one is something that they could bring their own data to build their own. Asked me let's it right? Of course, in this case they could call the tool something different because the case is something they could just, extend so they can just open their own data and, and build this, question and answer, let's say, machine.</p> <p>00:23:08:13 - 00:23:33:19<br /> And IT will, of course, we are evolving these tools forward so that eventually some of it could be also be part of our, our service. So and, yeah, these are actually two specific examples where we are using generative AI actively. There is a lot more, the only I think, you know, limitation in this case is like, is for us to catch up with this technology, right?</p> <p>00:23:33:19 - 00:24:00:14<br /> Because the Geratvie AI space is moving really fast and identifying what is working and what is not working and what is useful today. Our what is just forward looking. It is maybe let's say 10% or of of of of my time, like just so that we are not always also working on, very big, let's say, blue sky ideas as opposed to kind of making people's lives easier today.</p> <p>00:24:00:16 - 00:24:28:03<br /> Thank you very much. So yeah, I saw during the MySQL summit the example of the, of the app, with, the knowledge base, but for example, for the HeatWave release note that I wasn't even aware of. And, after this recording, I will watch it immediately, just for fun. So, to wrap up, I want to I have something in mind that I want to ask you, if you agree with, but, with the MySQL HeatWave service.</p> <p>00:24:28:03 - 00:24:52:10<br /> Right. We have AI that, so you can build your AI application or, AI anything with the vector search. You you have, you know, HeatWave that will help for you doing AI, but it seems with the AutoPilot and stuff we have also AI that helps, MySQL HeatWave users to improve your experience. Right.</p> <p>00:24:52:12 - 00:25:28:18<br /> So that's a very good distinction. And I have to admit that sometimes I am also not, let's say making, like, drawing that, like, you're absolutely right. So some of these applications we built are for customers and they could just go and extend it, or they can take inspiration from that and build something else. Right. So that's we're demonstrating our own, technology that, when it comes to AutoPilot, it is essentially another way of, let's say distributing this application, but it's all under control and it is out of our service that it's building to our service.</p> <p>00:25:28:20 - 00:25:50:19<br /> And you're absolutely right. In both cases, we are using similar, ideas or similar technologies. And, one of them, again, we are giving it to the people so that they could go and extend it the way they like and the others is is our under control. We see how people are using it and we are improving it as as we go along.</p> <p>00:25:50:19 - 00:26:11:04<br /> That's why there's always a new, let's say, auto feature. I mean, coming out and then sometimes the lines are actually pretty blurry, like, okay, I don't want to make things complicated, but one thing is that we are also working on some intersection where let's say that you have an application that, let's say, uses AutoPilot in a way that let's say a user would interact, but.</p> <p>00:26:11:04 - 00:26:33:21<br /> Right. So those these are interesting boundaries that we are always, looking. But from the product communication or maybe from the road network perspective, we, we don't really talk too much about this kind of stuff because it's just, maybe it's a little bit more like an intellectual exercise for us to see the limits of our technologies. Thank you very much, Onur, for, taking the time to talk with us.</p> <p>00:26:33:23 - 00:26:53:10<br /> I thank you, thanks for having me on this. Thank you. Onur. That's a wrap on this episode of inside my exclusive Killer Speaks. Thanks for hanging out with us. If you enjoyed listening, please click subscribe to get all the latest episodes. We would also love your reviews and ratings on your podcast app. Be sure to join us for the next episode of Inside Mysql:</p> <p>00:26:53:10 - 00:27:05:18<br /> Sakila Speaks.</p> <p> </p>

15 total episodes available

Deep-dive analytics for Inside MySQL: Sakila Speaks

Frequently asked questions

Have a different question and can't find the answer you're looking for? Reach out to our support team by sending us an email and we'll get back to you as soon as we can.

What is Inside MySQL: Sakila Speaks?

The Inside MySQL, Sakila Speaks podcast is dedicated to all things MySQL. We bring you the latest news from the MySQL team, MySQL product updates, and inciteful interviews with members of the MySQL Community. Sit back and enjoy as your hosts, Fred Descamps and Scott Stroz, bring you the latest updates on your favorite open-source database.

How often does this podcast release new episodes?

This podcast updates weekly.

Where can I listen to this podcast?

This podcast is available on 9 platforms including Apple Podcasts, Spotify, and more. You can also use the RSS feed directly.

Does this podcast accept guests?

Yes, this podcast regularly features guests.

Legal Disclaimer

Pod Engine is not affiliated with, endorsed by, or officially connected with any of the podcasts displayed on this platform. We operate independently as a podcast discovery and analytics service.

All podcast artwork, thumbnails, and content displayed on this page are the property of their respective owners and are protected by applicable copyright laws. This includes, but is not limited to, podcast cover art, episode artwork, show descriptions, episode titles, transcripts, audio snippets, and any other content originating from the podcast creators or their licensors.

We display this content under fair use principles and/or implied license for the purpose of podcast discovery, information, and commentary. We make no claim of ownership over any podcast content, artwork, or related materials shown on this platform. All trademarks, service marks, and trade names are the property of their respective owners.

While we strive to ensure all content usage is properly authorized, if you are a rights holder and believe your content is being used inappropriately or without proper authorization, please contact us immediately at hey@podengine.ai for prompt review and appropriate action, which may include content removal or proper attribution.

By accessing and using this platform, you acknowledge and agree to respect all applicable copyright laws and intellectual property rights of content owners. Any unauthorized reproduction, distribution, or commercial use of the content displayed on this platform is strictly prohibited.