in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

Last post 05-27-2009 9:44 AM by navaraf. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-31-2008 7:11 PM

    • Dave
    • Top 500 Contributor
    • Joined on 02-26-2008
    • Posts 4

    How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

     Hi there,

    In order to reduce the amount of memory used when writing a BLOB value, is it possible to write the BLOB to the database in "chunks" using the ADO.NET 2.0 Provider?

    Filed under: , ,
  • 03-31-2008 10:11 PM In reply to

    • Wiaz
    • Top 25 Contributor
    • Joined on 01-11-2007
    • Poland
    • Posts 47

    Re: How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

    Hi! Dig deep about incremental read and write in sqlite.org, e.g. http://www.sqlite.org/c3ref/blob_write.html
    dont know if system.data.sqlite can do that :(
    Wiaz
  • 05-23-2009 6:57 AM In reply to

    • Nob
    • Not Ranked
    • Joined on 05-23-2009
    • Posts 2

    Re: How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

    Hi there,

    In order to reduce the amount of memory used when writing a BLOB value, is it possible to write the BLOB to the database in "chunks" using the ADO.NET 2.0 Provider?

     I'm making an application to use the ADO.NET 2.0 Provider.

     I'm in a great hurry, you know want to help.

  • 05-24-2009 10:37 PM In reply to

    • liron
    • Top 50 Contributor
    • Joined on 06-14-2008
    • Posts 29

    Re: How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

    Hi I've had the same problem. It seems that the current version of the .net provider does not support this functionality even though the sqlite library supports it. I've wrote a simple example that you can copy and paste to your application. I hope it will help you. Note that you can't use the chunking API if the BLOB is NULL so you'd better check this before actually trying to use it.
    Filed under: ,
  • 05-27-2009 3:27 AM In reply to

    • Nob
    • Not Ranked
    • Joined on 05-23-2009
    • Posts 2

    Re: How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

    Was a temporary response.
    I will create a separate table, which is divided to register there.

    Thank you.

  • 05-27-2009 9:44 AM In reply to

    Re: How to Insert a BLOB into database in chunks (Chunking BLOB updates)?

Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems