‫Mid level, Debbie, Google came in and say, do we know what, we don't like these Beatriz's goofy
‫stuff.
‫Well, on something cooler, yeah, so this has been written level, Debbie has been written by Jeff
‫and Sanjay from Google in 2011 game.
‫And brilliant guys, when they build this database, they had one goal in mind.
‫They want to build a database engine and they want it to be so fast and insert and guess what?
‫Why do we say so fast?
‫Are you saying Beatriz's are slow, Hosain and search?
‫Oh, well, yeah.
‫And if you understand how B3 works, you you you'll you'll immediately know that every insert.
‫Can trigger a rebalance to the three.
‫And when you restructure the Belen's, that's that could cascade into a slow performance up to, I think,
‫big old logo log of and I think, you know, whereas this guy is big of one because there is no there
‫is no balancing of this thing.
‫There's no tree to go.
‫There's a log structure, inertia s.m.
‫We're going to make a video dedicated to that.
‫I'm going to go I'm not going to bother you guys with more details here, OK?
‫It doesn't have any transactions.
‫Those guys are keeping a simple.
‫Right, so no transactions.
‫This is the goal we're building something for high insert and this is deep, solid state drives, OK,
‫why solid state drives, guys?
‫Let's think about it a little bit.
‫So still drys and Beatriz's or a bad deal, guys, because.
‫Because every answer to you do.
‫Right.
‫It's not just going to the end of the file.
‫Sometimes you have to go and update the three to rebalance it.
‫Right.
‫And and when you rebalance the three you do on update, you move files around and you touch existing
‫bits on the disk to change that to something else it says dictates that you have limited number of lifetime
‫for the bit on the desk.
‫And this is the I don't know how much is that, but it's that they do not like that changing the bit
‫on place.
‫It's bad idea on this deal.
‫Yes.
‫Obviously we're running all on SSD and this is these are getting better.
‫Better.
‫But this is these are fantastic four reeds and Fantastics for inserts.
‫If there is an existing thing, you want me to add stuff, right.
‫There is a new blank disk.
‫I want you to write to it.
‫I can do this so fast.
‫You want to read?
‫I can do this for Sylfest.
‫You want to update.
‫OK, I can do that fast too.
‫But you're going to hurt me, man.
‫You're going to hurt me.
‫You're going to.
‫You're going to reduce my shelf life, OK?
‫I can only change this stuff stuff so much after which this, this bit will get burned.
‫And then if I, if it get burned, OK, if that die I'm going to market as unusable.
‫If that's markedly unusable, I have to find another place for your bed and that will degrade your life
‫of this SSD.
‫Sorry for the long run, but this is essentially that's why they were goal.
‫Their goal said how do I build then storage unit and that only inserts and never updates existing things.
‫OK, if I, if I want to update it's an insert.
‫If you want to update it then insert.
‫Well you might say I'm saying that kind of isn't that just like a losing disk space.
‫Well then you have to really think about what the heck are you doing.
‫OK, if you're deleting stuff a lot and inserting, I'm deleting probably not a good idea to use that
‫model.
‫If you're going to fill up your office space really well, right, and that's the lesson model is also
‫good for historical reasons because, you know, the history of what happened.
‫Nothing is ever deleted.
‫Inspired by Google make able yet?
‫Which I know nothing about.
‫OK, so I'm going to leave it at that.
‫I'm going to leave it to the experts of anyone who knows about this table.
‫Please feel free to comment.
‫And that the YouTube comments below to correct me or just add more information when I make a video about
‫big table in the future, when I will, I will.
‫And that time will probably know about this thing.
‫So why is it called level TV?
‫It has levels, guys, right.
‫Mr. Collingwood has leveled.
‫So when you insert the first level is the minimum table, that's the memory.
‫And you might be saying you might say, Hussein, what the hell are you talking about?
‫Memory, really?
‫Database.
‫A memory.
‫That's a bad deal, son.
‫That's a bad deal.
‫What if my database just just just crashed in the middle of writing to the memory table?
‫Well, that's not durable.
‫Those guys didn't say they are durable.
‫But here's the thing.
‫They do support right ahead.
‫LOG's, right.
‫It's a war.
‫And when when they arrive to the table, they also write to a log that commits to the desk immediately.
‫So, yes, ma'am, tables their memory, but they also write to disconnect in another place.
‫And there is like another level.
‫So the slower level and the slower live on the slower level until you reach all the levels.
‫So young level and then levels one to six.
‫And then every level gets moved to another level when it gets when it's reach its size.
‫So that's why it's called level deep.
‫And Facebook, when they looked at this, they did not like this too much.
‫So they write their own database that we're going to talk about in a minute.
‫As fire grows, larger, levels will be merged and it will be flushed, iDesk, as we said, look all
‫flushed Mersiades to flush it used in Bitcoin core.
‫Bitcoin core is actually using level DBI, AutoCAD, some version of it using level DBI internally and
‫Minecraft Pocket Edition, whatever it's called, also uses level Leiby.