Experimental database api for new data layout