I was working on a little pet project for a friend this morning, and we got to discussing various types of databases. Apparently, the definition of "database" has changed from what I used to know it as, and so has what folks call "dynamic databases" and "static databases".
Apparently, the modern definition of "static" or "dynamic" is simply determined by how we reserve memory for our database when we initially create it...
https://www.ayomaonline.com/academic/static-vs-dynamic-data-structures/Static Data Structures
As same as the word static suggests, static data structures are designed to store static “set of data”. However, static “set of data”, doesn’t mean that we can not change the assigned values of elements. It is the memory size allocated to “data”, which is static.
Dynamic Data Structures
Dynamic data structures are designed to facilitate change of data structures in the runtime. It is possible to change the assigned values of elements, as it was with static structures. Also, in dynamic structures the initially allocated memory size is not a problem. It is possible to add new elements, remove existing elements or do any kind of operation on data set without considering about the memory space allocated initially.
*****************
*****************
Since when did the definition become
that?? Apparently, if I DIM array(whatever), it's a STATIC database, but REDIM array(whatever) is DYNAMIC??
That's not how I've always used the words....
For me, a static database is one where the STRUCTURE remains static and unchanging. We might add or remove records -- thus changing the amount of memory the database consumes -- but the elements/structure of the data doesn't change itself.
Name, Age, Sex -- this is a STATIC data base. We might have 5 people in the database, or we might expand it to have 500; it's still the same unchanging data structure.
A dynamic database, on the other hand, is one where I've always felt had a structure built to be flexible and adaptable. If you guys remember my Homework Helper which I shared while in production (once finished, the local school purchased rights to it so I couldn't share the finished product), it relied on a dynamic database.
<President><Elected In><Elected Out> <---- It allowed the USER to create a header such as the following for their data, and it read the stuff between the brackets as individual fields, which it then used to track the actual data which followed.
When created, I had no idea what fields a teacher might want to add to make a set of test questionnaires for students to use and practice on. For our presidents, they might want name and years in office... Or they might want to add which president they were numerically (Who was the 14th president?), or what party they belonged to... I had no idea what fields the USERS might want to add to the database, so I had to create it to be flexible and dynamic to their needs.
Memory usage wasn't the least bit of a concern -- it was writing the database to the point where its STRUCTURE was fluid enough to allow field addition/editing/deletion which made me consider it to be a "dynamic database".
******************
******************
Have I just fallen out of the loop? What do you guys think of when you hear the terms? Is it honestly just the difference in how we allocate memory which designates the difference in "static vs dynamic" now? If so, then how do you differentiate between the two data types I was speaking of above? "Open vs closed data structure"?
Man, talk about something making me feel OLD....
I've worked with various databases and data styles all my life it seems, but today's the first time where it felt like I couldn't hardly even speak the same language when discussing one with a younger collage student.
Anyone else run into this conversational/generational gap? I always thought "once a computer nerd, always a computer nerd", but apparently that doesn't hold true in today's world anymore.
I'm just old....