I have to develop a data management system so that the my all digital information(like pdf or docs) i will scan and store in one database and the reference unique key for the digital documents will save on different database with the created users information. One mysql database I already created for storing created users information and document related information. But to scan and store the pdf data as digital records what is the best way i can do with second db?. Can i use a different mysql db for this. what db shall i use? is it possible to work with 2 databases in a ruby application in this case. whether the 2 database concepts be success in this case?. Will it make the application slow?. I want the application to run faster when i try to fetch records. Or with one database only any way to make it work faster?. i don't have a idea to do this. can anyone suggest an idea for this.