[R] SQL query with multicore option

Madana_Babu madana_babu at infosys.com
Fri Sep 14 23:00:41 CEST 2012


Hi all,

I have the following sql query that I am executing on a machine with single
core. I want to know how can I execute the same sqery on a maching that is
running with 4 cores. Please provide me the code.

NEW_TABLE <- rhive.query("SELECT A, B, COUNT(C) FROM TABLE_A WHERE
A>='01-01-2012'")

Also let me know how can I leverage only 2 / 3 cores of the machine.

Regards,
Madana



--
View this message in context: http://r.789695.n4.nabble.com/SQL-query-with-multicore-option-tp4643197.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list