Page 1 of 1

Encoding Techniques for table creation

Posted: Wed Jan 21, 2015 2:47 pm
by Rambhupal
Hi All,

I want to create a table with ENCODING rules. i just want to understand what is the best encoding for what data type. its great worth for me if you post in below format....


varchar---
char---
integer----
numeric----
Date--

example:

timestamp--- GCDDELTA <-----EXAMPLE

Re: Encoding Techniques for table creation

Posted: Wed Jan 21, 2015 3:01 pm
by NorbertKrupa
The easiest thing to do is run database designer after loading some data. DBD will determine the best encoding for the data in your columns. Otherwise, see the documentation on encoding types.

Re: Encoding Techniques for table creation

Posted: Wed Jan 21, 2015 10:54 pm
by id10t
Hi!

[DELETED]

Re: Encoding Techniques for table creation

Posted: Thu Jan 22, 2015 3:25 am
by msv
RLE on a rowid doesn't seem very optimal and sticks out like a sore thumb in your example. I think it is important to note that you need real, representative data in these tables before running DBD or related API.

Also, DBD can be run without deployment if you just want to look over the scripts. It's less targeted, but simpler and might show you other areas of interest in your projection design.