Search Postgresql Archives

Re: How to make update rapidly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Post the table, the query, and the explain output, and then we can help you.

On Feb 19, 2008 7:38 PM, hewei <heweiweihe@xxxxxxxxx> wrote:
> 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 ?
>

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux