mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Schelter <>
Subject Re: FileDataModel vs ReloadFromJDBCDataModel
Date Sun, 11 Nov 2012 11:02:58 GMT
Hi Onur,

I'd say these number looks somewhat reasonable. Reading a file
sequentially from disk does not incur the overhead of going through the

However the time to load a data model from the database is subject to
the configuration settings of the database. I'm sure you can reduce the
loading time by tuning those.


On 11.11.2012 11:53, Onur Kuru 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

View raw message