A G.L. c. 211, § 3 petition asks the Supreme Judicial Court to use its general superintendence power over the lower courts to correct an error in a pending case. It's filed with a single justice of the SJC, and it's the main way to get immediate review of a ruling that otherwise couldn't be appealed until the case is over.
The SJC's superintendence power
Section 3 gives the SJC general superintendence over all lower courts, including the power to correct and prevent errors and abuses when no other remedy is expressly provided. Because it's meant for situations the normal appeal process can't handle, relief is extraordinary and granted only in exceptional circumstances.
The standard
To get relief, you have to show two things:
A substantial claim that your substantive rights have been violated.
An error that can't be remedied through the ordinary process of trial and appeal.
Most interlocutory rulings fail the second requirement, because they can be raised on appeal after a conviction. That's why most petitions are denied.
When it's used
The denial of a motion to dismiss usually can't be reviewed this way, because it can be raised on appeal after trial. The main recognized exception is a double jeopardy claim of substantial merit, since double jeopardy protects the right not to be tried at all. A petition is different from an interlocutory appeal of a suppression ruling, which has its own rule and its own standard.
Appealing the single justice's decision
If a single justice denies relief from an interlocutory ruling in a trial court, an appeal to the full SJC is governed by SJC Rule 2:21. You have to explain why review of the ruling can't adequately be obtained on appeal from a final judgment or by other available means. The full court reviews the single justice's decision only for an abuse of discretion or other error of law.
These petitions are narrow, technical, and often time-sensitive. Here's more on the appeals process. If a ruling in your case can't wait for an ordinary appeal, contact me.