Showing entries 1 to 1
Displaying posts with tag: database drizzle mysql (reset)
Field Types, Three bears, A byte is just a byte

Ever run through an integer before?

One of the early design decisions in Drizzle was we were going to make the decision of field types simpler.

24bit ints? Multiple blob sizes? Display ranges on numeric types? Floats over doubles?

Why do we have types?

Good storage.
Constraint

We took those two principles and made a couple of decisions.

1) Blow the constraint, we throw an error.
2) Good strorage means not only size, but that we give the right choices and no more.

Drizzle lacks a TINYBLOB, MEDIUMBLOB, and LARGEBLOB (every time I see this my mind flips to the Goldilocks story...).



[Read more]
Showing entries 1 to 1