BALTIMORE -- Orioles second baseman Brian Roberts will undergo surgery on his ailing right hamstring, a procedure that will add an extra six weeks to his time on the disabled list.

Roberts was placed on the DL with a strained right hamstring on April 5. Unsatisfied with his recovery, Roberts visited Dr. Daniel Cooper in Dallas on Wednesday for a second opinion.

After the consultation, Roberts agreed to have surgery. Cooper will attempt to repair a muscle in the hamstring at the Carrell Clinic on Thursday, according to the Orioles.

The 35-year-old Roberts played in only three games this season before hurting his hamstring, the latest in a series of injuries he's experienced over the past four years.

Roberts has played in only 118 games since the start of the 2010 season.