What is the difference between uvm_config_db and uvm_resource_db?

In reply to chr_sue:

For the code that is provided, each of the uvm_resource_db::set functions are identical and performed in the build phases of the my_test and my_env components. If the ‘names’ are the same, don’t they utilize the same queue (and my_test build_phase ‘sets’ the head of the queue)?