Patent ID: 8549038

Claim:
A method comprising: plugging a first pluggable session context into a first database session to execute a first command in the first database session, wherein the first pluggable session context has information that changes as commands are executed for a first user or application; receiving, in the first database session, a particular identifier and a second command; wherein the particular identifier is associated with a second pluggable session context having information that changes as commands are executed for a second user or application; in response to receiving the particular identifier, plugging the second pluggable session context into the first database session without modifying a first common context that existed in the first database session after executing at least the first command in the first database session, wherein the first common context includes session information that does not depend on the first user or application; using the second pluggable session context to execute the second command in the first database session; storing the second pluggable session context such that the second pluggable session context is accessible for plugging into a second database session; wherein the method is performed by one or more computing devices.