sql - Long Query Times -
i have table 23.5 million rows , 20 columns. updated table set 1 of columns null
. query took hour complete. granted, don't have amazingly fast database server, update time normal? didn't have index on table when ran update. how have helped?
thanks in advance!
considering updated rows, index wouldn't have helped any.
were there reads going on @ same time? updates cause row level locking, if brief, cause lot of traffic , waiting in transaction log.
Comments
Post a Comment