Eli5 how is data deleted

415 views

Like where does it go?

In: 3

12 Answers

Anonymous 0 Comments

The data doesn’t move to anywhere. The information WHERE the data is, will be deleted and with time, the data itself. Let me visualize:

Imagine a simple non-filled rectangle on a white background. You draw lines inside this rectangle vertically and horizontally with regular spacing. What you have now inside the rectangle is a grid of many little squares. The little squares are the “data cells” for your renter called Bits, basically like their own homes where they live in happily.

Let’s say a new bit arrives at your rectangle and ask him _”Hey, I find this city very nice and want to save myself somewhere, can you tell me where I find the next free data cell to live in?”._

So how can your rectangle solve this problem for his citizens? How can he keep track of which data cell is free for rent and which is occupied by a bit already?

Approach B.a.D would be to knock on every single datacell he has inside him to find out. In our case we drew 300.000 cells and since all cells look the same and for heaven’s sake he can’t remember the status of every 300.000 houses he has to knock by 1 to end for every. Single. New. Citizen. Especially since these pesky Bits believe in index numbers so they are randomly spreadout

Well the simplest approach would be to *mark* every data cell in two colors, let’s say red and green. Green stands for “you can enter this home” and red stands for “someone lives here, don’t come in.”
With bookkeeping our rectangle can and will always keep track of every datacell and can respond to every new Bit where he can start his new life.

Now If a bit has enough and wants to leave our rectangle city he soon will find out that he actually can’t. The reason for this is in physical nature but to simplify it for this visualization we could say that once a bit created his own world in his data cell, it would take too much time and energy to bulldoze it clean. So instead our rectangle simply marks the datacell of the upset Bit green -free to enter.

If a new bit arrives for a home Rectangle looks at his book and sends him to the green datacell of angry bit. New bit arrives at his cell and simply eats angry bit bitwise. He immediately destroys everything angry Bit created and builds his own life.

Now the time between when we put the “For sale” sign up to a new bit entering our city and wanting or giving him the exact datacell could last months or years and for the entire duration our upset (and captivated) bit is still inside that data cell, still pissed,

If you would ask our rectangle about that particular datacell however he would look at his book and respond that it is empty because he marked it green 2 years ago and he is very sure that there is nothing and wouldn’t bother to knock.

_Does the one particular tree exist in a forest, if you never saw it_?

You are viewing 1 out of 12 answers, click here to view all answers.