You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2009/01/14 20:01:03 UTC

[Pig Wiki] Update of "PigUserCookbook" by OlgaN

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The following page has been changed by OlgaN:
http://wiki.apache.org/pig/PigUserCookbook

------------------------------------------------------------------------------
  
  The following are a list of tips that people have discovered for making their pig queries run faster.  Please feel free to add any tips you have.
  
- ''' Use Code from Types Branch'''
+ ''' Use Latest Code'''
  
- The new and improved code available from http://svn.apache.org/viewvc/hadoop/pig/branches/types/ is significantly faster than the code currently on the trunk.  (Currently, 2008 Dec 2, it requires hadoop 18.x; and you should make sure to fix the pig.properties). We are planning to merge the code back to trunk in a couple of weeks but meanwhile, please, give it a try. Here is the performance comparisons:
+ The latest code has been merged into trunk on 1/12/09. It is significantly faster than the currently released code in Pig 0.1.1.  We are planning to release Pig 0.2.0 that incorporates new changes shortly. Here is the performance comparison:
  
  ||'''Query Type''' || '''Pig 1.4 (s)''' || '''Pig 2.0 (s)''' || '''Improvement (times)''' ||
  || GENERATE with Arithmetic operations || 837 || 345 || '''2.4x''' ||