Обсуждение: Waiting for Update

Поиск
Список
Период
Сортировка

Waiting for Update

От
JGM
Дата:
Could it be true??

I've a table with < 46000 rows. And a little Update like

UPDATE foo set xxx = 'X';

needs about 15 seconds???

What's wrong?

Greetings 

Juergen






Re: Waiting for Update

От
Jan Wieck
Дата:
JGM wrote:
> 
> Could it be true??
> 
> I've a table with < 46000 rows. And a little Update like
> 
> UPDATE foo set xxx = 'X';
> 
> needs about 15 seconds???
> 
> What's wrong?

How long since you vacuumed that table? How big are the rows? Are there
triggers, constraints, anything fancy? How many indexes does foo have?


Jan

-- 

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #