Hell yeah :D

RESTORING imdbIDs values for movies... DONE! (restored 2102978 entries out of 
2104144)
# TIME restore movies : 0min, 47sec (wall) 0min, 0sec (user) 0min, 0sec (system)
RESTORING imdbIDs values for people... DONE! (restored 3544106 entries out of 
3545620)
# TIME restore people : 1min, 19sec (wall) 0min, 0sec (user) 0min, 0sec (system)


Freaking fast !!!!

thank you for those quick fixs ! Also, thanks for the credits ;-) 

Le 19 févr. 2012 à 11:26, Davide Alberani a écrit :

> On Sun, Feb 12, 2012 at 21:17, Emmanuel Tabard <m...@webitup.fr> wrote:
>> 
>>> Well, that's a very interesting solution, thanks. :-)
>> 
>> I made a test run with this solution.
>> 
>> Time to save/restore : 6minutes
>> 
>> Restoring success :
>> 
>>  - People : 99.8777%
>>  - Movies : 99.8845%
> 
> That's great!
> 
> Ok, I've committed a compromise solution: when we're using CSV (which
> is thought to give you a set of files that you can move and restore on
> completely
> different db altogether), I use my previous implementation, but using
> a cursor instead
> of an ORM object (it should be really fast, at least storing the imdbIDs).
> 
> When not using CSV, I've implemented your solution (the version based on
> a dbm database is also used as a fallback, in case some db servers
> have problems).
> 
> But this is just the default: with the -i command line argument (by
> the way: I've
> removed -t to select a tmp directory: the CSV one is used or the
> current directory)
> you can force one method or the other: "-i dbm" and "-i table".
> 
> I hope it works and it covers all the possible use cases. :-)
> 
> -- 
> Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x465BFD47]
> http://www.mimante.net/


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to