Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Handling huge BLOB fields with DBI and MySQL

by gmax (Abbot)
on Mar 08, 2002 at 07:35 UTC ( #150255=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    type         max size
    ------------ -------------
    ...
    BLOB                65_535
    MEDIUMBLOB      16_777_215
    LARGEBLOB    4_294_967_295
    
  2. or download this
    
               UPLOAD FLOW                   DOWNLOAD FLOW
    ...
       | DB field < 2 MB         |        |                         |
       |                         |        |                         |
       +-------------------------+        +-------------------------+
    
  3. or download this
    +-------------+---------------+------+-----+---------+-----------+
    | Field       | Type          | Null | Key | Default | Extra     |
    ...
    | username    | varchar(30)   |      |     |         |           |
    | updated     | timestamp(14) | YES  |     | NULL    |           |
    +-------------+---------------+------+-----+---------+-----------+
    
  4. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    exit;
    }
    
  5. or download this
    $ perl blobs.pl u mysql4 mysql-4.0.1-alpha.tar.gz "4.0.1" "MySQL alpha
    +"
    
  6. or download this
    $ perl blobs.pl d mysql mysql-4.0.1-alpha.tar.gz
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://150255]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-12-23 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls