How to make update rapidly?

Поиск
Список
Период
Сортировка
От hewei
Тема How to make update rapidly?
Дата
Msg-id 4279588b0802191938n41be897dnf9882f6025ae46e3@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to make update rapidly?
Re: How to make update rapidly?
Список pgsql-general
Hi,Every body;
   I have a table contains 100,000 rows, and has a primary key(int).
  Now ,I need to execute sql command like "update .......... where id=*"(id is primary key).
  I expect execute 1200-1600 sqlcommands per second(1200-1600/s).
  In test,when the id increase by degrees in sqlcommands, then I can reach the speed(1600/s);
  But in fact , the id  in sqlcommands  is out of rule, then the speed is very slow, just 100/s.
  what can i do? can you help me ?

В списке pgsql-general по дате отправления:

Предыдущее
От: "Postgres User"
Дата:
Сообщение: Regex query not using index
Следующее
От: "Webb Sprague"
Дата:
Сообщение: Re: How to make update rapidly?