Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6713587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:23:54+00:00 2026-05-26T08:23:54+00:00

I use BerkeleyDB in Perl with DB_File. How to store images (small size) as

  • 0

I use BerkeleyDB in Perl with DB_File.

  1. How to store images (small size) as values?

  2. Is BerkeleyDB a right choice for storing images within database? as unlike some other database systems, Berkeley DB offers no special support for binary large objects (BLOBs).

  3. Storing images in mysql is questionable as implementing changes to a large database is harder; but is it the case for a key/value database like Berkeley.DB?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:23:54+00:00Added an answer on May 26, 2026 at 8:23 am

    How to store images (small size) as values?

    Exactly as documented, read file, say using File::Slurp::read_file, taking care to binmode, and store the value in the hash.

    Is BerkeleyDB a right choice for storing images within database? as unlike some other database systems, Berkeley DB offers no special support for binary large objects (BLOBs).

    BerkeleyDB, not being a relational database, doesn’t have field types with limitations, so you can store anything (with the usual caveats)

    Storing images in MySQL is questionable as implementing changes to a large database is harder; but is it the case for a key/value database like Berkeley.DB?

    Yes, storing binary data is questionable, because the filesystem is so good at doing exactly that, but people do it all the time without too much trouble — remember to backup your data regularly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to replace BerkeleyDB module in some old Perl with DB_File ties.
Use of gradient images is very common among developers for styling a page. Gradient
use Modern::Perl; use Algorithm::Permute; use List::AllUtils qw/uniq/; find_perms(1151); sub find_perms { my ($value) =
Hello i am trying to implement a database-object(connection) pooler for BerkeleyDB... I decided to
I want to use a fast key-value store on an Android device where the
I'm trying to install DB_File in Strawberry Perl following these instructions . Download and
I am trying to use Berkeley DB to store a frequency table (i.e. hashtable
BerkeleyDB is the database equivalent of a Ruby hashtable or a Python dictionary except
Since BerkeleyDB can use the SQLite api, can python use sqlite module to connect
I am testing BerkeleyDB Java Edition to understand whether I can use it in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.