I'm dealing with a large scale DB that grows every day. Pulling the required data from this DB involves some joins and due to the large amount of data it takes too long. A friend suggested the following:
Once a day pull all the required data from this DB and write it to a binary file which will reside in your source-control. Next, create a dal implementation which will work against this binary file, this way things should work smoothly.
I'm not familiar with this methodology and I'm wondering - is it a good practice? What are the advantages and disadvantages of such a practice and finally is there any reference for such an implementation (currently I'm using JPA)?
Thanks in advance