phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: varchar vs. varchar(x)
Date Tue, 11 Mar 2014 16:21:10 GMT
Hi Yosi,
The biggest difference is that Phoenix will check that the content is less
than or equal to the max length and give an error if that is the case.
There's no real performance difference.
Thanks,
James


On Tue, Mar 11, 2014 at 3:16 AM, Yosi Botzer <yosi.botzer@gmail.com> wrote:

> Hi,
>
> What is the difference between varchar and varcha(x) types?
>
> Does varchar(x) fro example has better performance and why?
>
> I am asking about columns which are part of the key
>
> Yosi
>

Mime
View raw message