I'm not sure this is the right solution because it's not a database-based but you could try using
Cache::Memcached module (needs
memcached). (There's also pretty faster version
Cache::Memcached::Fast). It supports inserting nested Perl data structures, it's pretty reliable, and it works great for sharing data between processes.