It doesn't sound too crazy since it is loading the entire contents of the table in memory. It does so in one query. You can dig out that query and run it separately to see how long it takes otherwise and make sure it's not wildly different. That's just the time taken to read it, once, and then it's in memory.
On Sun, Nov 11, 2012 at 10:53 AM, Onur Kuru <[email protected]> wrote: > Hi all, > > If I use FileDataModel, it takes about 5 secs to build the data model > with 1m movielens data but it takes about 25 secs if I use > ReloadFromJDBCDataModel. > I know the former uses file and the latter uses a database but is this > performance difference normal? > > Thank you, > Onur >
