Re: How to convert ByteA to Large Objects
От | Francisco Figueiredo Jr. |
---|---|
Тема | Re: How to convert ByteA to Large Objects |
Дата | |
Msg-id | 438d02260901230434k2945c52dmc70f517e7199f743@mail.gmail.com обсуждение исходный текст |
Ответ на | How to convert ByteA to Large Objects (Howard Cole <howardnews@selestial.com>) |
Ответы |
Re: How to convert ByteA to Large Objects
|
Список | pgsql-general |
On Fri, Jan 23, 2009 at 10:08 AM, Howard Cole <howardnews@selestial.com> wrote: > Hi All, > Hi, Howard! > Is there some nice SQL I can use to convert a BYTEA field into large > objects? > > I am having some memory problems handling bytea parameters in Npgsql - > getting out of memory errors. From reading various posts on this I see that > bytea's can consume much more memory than the size of the object so I am > going to convert these bytea's to large objects so I can chunk the data. > About the memory issue of Npgsql, did you try to use a prepared statement for this? We have some performance improvements when handling bytea values but only when the NpgsqlCommand.Prepare() method is called. I hope it helps. -- Regards, Francisco Figueiredo Jr. Npgsql Lead Developer http://fxjr.blogspot.com http://www.npgsql.org
В списке pgsql-general по дате отправления: