Skip to content
Prev 305519 / 398506 Next

SQL query with multicore option

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.