U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Acquiring large record
Re: Acquiring large record [message #23027 is a reply to message #23017] Tue, 08 September 2009 23:58 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

The problem appears when one tries to hold/fetch i.e. large files in/from database. Not going into detail, the maximum allowed SQL transaction size is commonly no more than 1 MB.
Just in case someone needs to store large blobs in a database too, publishing a solution. The idea is to have separate table with blob column. So you divide your large file into ~512 KB pieces and keep them as records sequence in the table. Each time you need this big blob, you have to fetch it with many transactions, piece by piece.
 
Read Message
Read Message
Read Message
Previous Topic: Postgres library improvements
Next Topic: Postgres and CurrVal
Goto Forum:
  


Current Time: Wed Sep 16 23:59:13 GMT+2 2026

Total time taken to generate the page: 0.00534 seconds