Subject | Re: Performance bug located and solved |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-11-22T19:21:56Z |
Blas,
can specify, you can ignore it.
means "NONE". This is one of the thing that was in InterBase (and now
in Firebird) for a quite long time and I would prefer to keep it so.
We can put notice about performance penalty in H1 tag in a FAQ and
release notes, but I would prefer to have "NONE".
determined from "file.encoding" property and there were a lot of
problems with it. I strongly recommend "NONE".
what and how driver sends to server and not vice versa.
Roman
> The problem is that Jaybird, if the user don't set lc_typeNONE is the default character set according to the API reference. You
> parameter, don't send any character type identification to the
> server.
can specify, you can ignore it.
> In inserts of character data this means a performanceCan you discuss thin in firebird-devel list?
> penalty of about 10% and 20%.
> Now the driver, if the user don't set lc_type, find whichSorry, I'm not sure this is the best approach. In IB API no lc_ctype
> character set to notify to the server.
means "NONE". This is one of the thing that was in InterBase (and now
in Firebird) for a quite long time and I would prefer to keep it so.
We can put notice about performance penalty in H1 tag in a FAQ and
release notes, but I would prefer to have "NONE".
>We had this issue before. There were a code when lc_ctype was
> To find the character set the driver send to the Server:
> - If the default java encoding has an equivalent encoding in
> firebird the driver send it.
> - If the default java encoding has not an equivalente
> encoding in firebird use ISO8859_1.
>
> NONE is bad for performance, used in the server is bad for
> selects, and used in the client bad for inserts.
>
> Only if NONE is used in the two sides the performance will
> be good, but have another problems when moving data, tools that
> need the encoding etc.
determined from "file.encoding" property and there were a lot of
problems with it. I strongly recommend "NONE".
> Now, for the performance to be the best, the character setSorry, JayBird is a client software, this means that server determines
> of the database must be the equivalent of the Default java
> encoding.
what and how driver sends to server and not vice versa.
> For windows systems the charset of the database must be setCan you explain this? Why do we enforce charset of the database?
> to WIN1252.
Roman