How to get information on resource usage of DBT model before and after running? (cpu, ram, disk)

How can I get information about the cpu, memory, disk and other resource usage of a dbt model at the testing stage before having it deployed and at the deployed stage? How would I find this if I am not using dbt cloud? How can I estimate the amount of load a model will create other than the time it took to run the model locally?

1 Like