Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You are right: in the fast case of "NULL" the amount of physical work amounts to diddling catalogs around rather than copying potentially gigabytes of data.

So in any case a lock is taken, but I've never seen anyone get too bent out of shape over that momentary mutual exclusion to deform the table's type (exception: in transactional DDL where cheap and expensive steps are inter-mingled).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: