I gave you 4 possible terms, and I'm thinking that the person who implemented your data storage had probably either read about these or used another system somewhere where this was commonplace. As I said, IANAE ... it almost feels like a "Big Iron" thing, though. You'll need some old warrior with a broad area of knowledge to tell you, I'd imagine.
Why is it a bad idea? Current theory seems to be that you want to offload as much of the workload to the RDMBS as possible. Grabbing a huge array from the DB and then processing it with PHP goes against that theory.
Cue the flame wars 😉