Official comment
I keep my music library and database on an external drive, it's not a problem to do just that. Simply add the music to your rekordbox library from its external location and it stays there. If you want, you can then also move the database to the external drive following the instructions here, but it's not a necessary step, especially if you don't plan on using that same library with different computers.