Re: Trigger vs web service

Поиск
Список
Период
Сортировка
От Marc-André Goderre
Тема Re: Trigger vs web service
Дата
Msg-id F8CF7C70BB8C7441A2F81F655AF22DD7013B16C01EB6@facteur07.cegep-chicoutimi.qc.ca
обсуждение исходный текст
Ответ на Trigger vs web service  (Marc-André Goderre <magoderre@cgq.qc.ca>)
Список pgsql-general

 

I receive a long string (about 1 per second) than content many information. For the moment it is directly inserted in the database (1 column).

I have to treat the hole string every time i need information in it.

 

Now, I want split the sting and save the informations in differents fields.

I have 2 solutions and would like to have your opinion on them.

 

1- Program a trigger function detecting the orginal insert, split the string and fill the other field.

2- Program a web service for receiving the string, split it and insert the informations in the db.

 

Witch is the fastest one (in performance).

 

Thanks

 

Marc-Andre Goderre

TI Analyst

 

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Trigger vs web service
Следующее
От: Andy Colson
Дата:
Сообщение: Re: Large Object permissions lost in transfer