
Like pulling teeth
Metaphorical Pain
The phrase suggests an experience that is as unpleasant or difficult as physically pulling out teeth. 
Emphasize Frustration
Use it to stress the level of difficulty or resistance encountered in doing something. 
Informal Expression
The phrase is informal, so it's best used in casual conversations or informal writing. 