Re: What secret resipy of PostgreSQL (insert more faster than delete)?

Поиск
Список
Период
Сортировка
От Chris
Тема Re: What secret resipy of PostgreSQL (insert more faster than delete)?
Дата
Msg-id 4692DAC4.1060605@gmail.com
обсуждение исходный текст
Ответ на What secret resipy of PostgreSQL (insert more faster than delete)?  (henryJack <henryJack85@yahoo.com>)
Список pgsql-general
henryJack wrote:
> What secret resipy of PostgreSQL (insert more faster than delete)?
>
> I doing an investigation on PostgreSQL, I figure out PostgreSQL powerful in
> inserting data into the database.
>
> We normally, expect that insert more slow than select and delete queries
> because database have to create a row then set the data one by one into the
> database (in between check is it the row correct to inside?)....
>
> Delete just delete the whole row that checked ones.

Not really. I don't know the nitty-gritty of how postgres does it's work
but foreign key checks, triggers, rules, the number of indexes in a
table (amongst other things) can all affect insert, update and delete
speeds.

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Предыдущее
От: "George Pavlov"
Дата:
Сообщение: Re: dropdb ; createdb equivalent without createdb permission?
Следующее
От: novnov
Дата:
Сообщение: Postgres 8.2 binary for ubuntu 6.10?