When I had my ear surgery about 20 years ago, the doctor explained to me that I would be awake for part of the procedure, but the anesthesia meant that I would have no memory of it.¹ It’s a weird thing to think about whether that lack of memory would obviate the pain or discomfort of the moment.
⸻
1. As it turned out, I was so frightened in the lead-up to the surgery that they had to do general anesthesia on me because I was shaking too much for them to operate so I was unconscious for the whole thing.
I had the same thoughts "but won't i feel it THEN?" when I was getting an upper endoscopy. The anesthesiologist said you're in such a trance, dreamlike state plus with the inability to form memories its like you're not your real "consciousness" but something different. Sort of like your brain is in "limp mode" and its not really _you._ This was both comforting and slightly terrifying in a different way.
> the doctor explained to me that I would be awake for part of the procedure, but the anesthesia meant that I would have no memory of it
The short story "Transition Dreams" by Greg Egan touches on this concept
I had a dentist explain to me the same for getting my wisdom teeth out, as if it was a selling feature. At least for me, having my memory wiped is far more scary than just being put unconscious (or having some pain and a local anaesthetic).
> so I was unconscious for the whole thing
Or so they claim - the patient would have no memory of that anyway.
Purely anecdotal, but I had surgery a few years ago (relatively minor). But I could feel for months after a sort of 'unconscious PSTD' I don't know how else to describe it. Even after it was healed and the pain was gone, there was just a deep sense of 'something bad happened in there' feeling. I'd have dreams of someone digging around in my body. Anyway, it's all gone now, but a weird experience for sure.