Should the "Resource" for a local Database be stored centrally or with the DAT file?
I am sure I came across this in the past with Cache and just saw this again in IRIS.
When rebuilding or swapping a DAT file for a database it retains the Resource of the DAT file, not the Resource of the Database it is being used for.
For instance, if I have a local Database called APP with a resource %DB_APP and I want to refresh the data from another Database called TEST that has a Resource %DB_TEST I can just copy the DAT file from the TEST folder to the APP folder.
No Database settings are changed and it is all done with either IRIS down or the databases dismounted.
If you now look at the Database settings for the APP database it has the %DB_TEST resource not the %DB_APP it had before.
This is not necessarily a common occurrence and can obviously be handled but it something that can catch people out and not initially noticed.
What is peoples preference, should it keep the Resource for the Database settings or the DAT files?
For me, personally, I would prefer to keep the settings separate from the DAT file.