Ask a Question related to Informix, Design and Development.
-
rkusenet #1
text field
IDS 9.21.
We are in the process of making a change in a heavy insert table.
This table gets lot of inserts. A row , after getting inserted,
is read and updated for next few minutes by another process. After
that the row has no utility left and is deleted at the end of the
day.
One of the columns in the table is a VARCHAR column. This column
now will store additional information which can run upto 20K in
length. This means both VARCHAR and LVARCHAR can not store that
size of information. My main concern is the performance penalty
during insert if the column is changed to a text field. Which is
the best way to store this field. TEXT in TABLE or TEXT in
blobspace. I know that TEXT in blobspace bypasses buffers. So that
would mean that every insert will result in more disk write.
OTOH text in table may consume lot of buffers, even though it
will avoid immediate disk write.
TIA.
rkusenet Guest
-
Forms: Text field - auto fill another field?
Someone PLEASE help me... how do i structure a form so that when text is entered into one field, it auto-fills other fields on the form that are... -
Defined text field in form -> subject field in e-mail
Hi, I have a form on my web site which users send to me by mailto-function. I would like the text they write in a particular text field to... -
Radio btn makes text field equal value of different text field
What I am trying to do is when someone clicks on the YES radio button I want the text field called MYTEXT to equal the text field named DATE. The... -
Converting a text field to a date field - FM6
I need to convert a Text field containing both auto and manually entered dates over to a Date field. The records that were autoentered move over... -
Linking date field to text field entry
Is there a way to setup a date field that will automatically enter the date when any information is entered into a field next to it? -
Mark D. Stock #2
Re: text field
rkusenet wrote:
Why not use a CHAR?> IDS 9.21.
>
> We are in the process of making a change in a heavy insert table.
> This table gets lot of inserts. A row , after getting inserted,
> is read and updated for next few minutes by another process. After
> that the row has no utility left and is deleted at the end of the
> day.
>
> One of the columns in the table is a VARCHAR column. This column
> now will store additional information which can run upto 20K in
> length. This means both VARCHAR and LVARCHAR can not store that
> size of information. My main concern is the performance penalty
> during insert if the column is changed to a text field.
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
| Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /|
| Mydas Solutions Ltd [url]http://MydasSolutions.com[/url] |///// / //|
| +-----------------------------------+//// / ///|
| |We value your comments, which have |/// / ////|
| |been recorded and automatically |// / /////|
| |emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+
sending to informix-list
Mark D. Stock Guest
-
rkusenet #3
Re: text field
"Mark D. Stock" <mdstock@mydassolutions.com> wrote in message
news:bksvi3$48s$1@terabinaries.xmission.com...A char field of 20000 length???>
> rkusenet wrote:
>>> > IDS 9.21.
> >
> > We are in the process of making a change in a heavy insert table.
> > This table gets lot of inserts. A row , after getting inserted,
> > is read and updated for next few minutes by another process. After
> > that the row has no utility left and is deleted at the end of the
> > day.
> >
> > One of the columns in the table is a VARCHAR column. This column
> > now will store additional information which can run upto 20K in
> > length. This means both VARCHAR and LVARCHAR can not store that
> > size of information. My main concern is the performance penalty
> > during insert if the column is changed to a text field.
> Why not use a CHAR?
rkusenet Guest
-
Colin Bull #4
RE: text field
rkusenet wroteLvarchar in 9.4 are up to 32k. Might be a better option than text fields and>
> We are in the process of making a change in a heavy insert table.
> This table gets lot of inserts. A row , after getting inserted,
> is read and updated for next few minutes by another process. After
> that the row has no utility left and is deleted at the end of the
> day.
>
> One of the columns in the table is a VARCHAR column. This column
> now will store additional information which can run upto 20K in
> length. This means both VARCHAR and LVARCHAR can not store that
> size of information. My main concern is the performance penalty
> during insert if the column is changed to a text field. Which is
> the best way to store this field. TEXT in TABLE or TEXT in
> blobspace. I know that TEXT in blobspace bypasses buffers. So that
> would mean that every insert will result in more disk write.
> OTOH text in table may consume lot of buffers, even though it
> will avoid immediate disk write.
>
blobspaces.
Colin Bull
[email]c.bull@videonetworks.com[/email]
sending to informix-list
Colin Bull Guest
-
Mark D. Stock #5
Re: text field
rkusenet wrote:
You can go up to CHAR(32767) if you want. It will just be fixed length,> "Mark D. Stock" <mdstock@mydassolutions.com> wrote in message
> news:bksvi3$48s$1@terabinaries.xmission.com...
>>>>rkusenet wrote:
>>
>>>>>>>IDS 9.21.
>>>
>>>We are in the process of making a change in a heavy insert table.
>>>This table gets lot of inserts. A row , after getting inserted,
>>>is read and updated for next few minutes by another process. After
>>>that the row has no utility left and is deleted at the end of the
>>>day.
>>>
>>>One of the columns in the table is a VARCHAR column. This column
>>>now will store additional information which can run upto 20K in
>>>length. This means both VARCHAR and LVARCHAR can not store that
>>>size of information. My main concern is the performance penalty
>>>during insert if the column is changed to a text field.
>>Why not use a CHAR?
>
> A char field of 20000 length???
that's all, but possibly easier to use than TEXT.
As Colin says, you can use LVARCHAR of similar size in IDS version 9.40.
However, in reality it is up to LVARCHAR(32739).
Cheers,
--
Mark.
+----------------------------------------------------------+-----------+
| Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /|
| Mydas Solutions Ltd [url]http://MydasSolutions.com[/url] |///// / //|
| +-----------------------------------+//// / ///|
| |We value your comments, which have |/// / ////|
| |been recorded and automatically |// / /////|
| |emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+
sending to informix-list
Mark D. Stock Guest
-
rkusenet #6
Re: text field
"Mark D. Stock" <mdstock@mydassolutions.com> wroteI know that CHAR can go up to 32K. I want to know whether it makes>> >
> > A char field of 20000 length???
> You can go up to CHAR(32767) if you want. It will just be fixed length,
> that's all, but possibly easier to use than TEXT.
sense to have such a huge char field. It will fill out the buffers,
logical logs rapidly.
May be I will have to compare the speed of char(32K) with a text
field in rapid inserts.
Ravi.
rkusenet Guest
-
Art S. Kagel #7
Re: text field
On Wed, 24 Sep 2003 13:21:03 -0400, rkusenet wrote:
I'd create a child table with a foreign key to the original table with CASCADE
DELETE enabled. The child has the original table's key, a sequence number, and
a reasonably sized CHAR column. Break the large text into multiple rows
inserted into the child table. Clean, neat, storage efficient, easily
implemented, and even portable.
Art S. Kagel
> IDS 9.21.
>
> We are in the process of making a change in a heavy insert table. This table
> gets lot of inserts. A row , after getting inserted, is read and updated for
> next few minutes by another process. After that the row has no utility left
> and is deleted at the end of the day.
>
> One of the columns in the table is a VARCHAR column. This column now will
> store additional information which can run upto 20K in length. This means both
> VARCHAR and LVARCHAR can not store that size of information. My main concern
> is the performance penalty during insert if the column is changed to a text
> field. Which is the best way to store this field. TEXT in TABLE or TEXT in
> blobspace. I know that TEXT in blobspace bypasses buffers. So that would mean
> that every insert will result in more disk write. OTOH text in table may
> consume lot of buffers, even though it will avoid immediate disk write.
>
> TIA.Art S. Kagel Guest
-
Paul Watson #8
Re: text field
Depending how you want to use it maybe look at creating your
opaque type
rkusenet wrote:-->
> IDS 9.21.
>
> We are in the process of making a change in a heavy insert table.
> This table gets lot of inserts. A row , after getting inserted,
> is read and updated for next few minutes by another process. After
> that the row has no utility left and is deleted at the end of the
> day.
>
> One of the columns in the table is a VARCHAR column. This column
> now will store additional information which can run upto 20K in
> length. This means both VARCHAR and LVARCHAR can not store that
> size of information. My main concern is the performance penalty
> during insert if the column is changed to a text field. Which is
> the best way to store this field. TEXT in TABLE or TEXT in
> blobspace. I know that TEXT in blobspace bypasses buffers. So that
> would mean that every insert will result in more disk write.
> OTOH text in table may consume lot of buffers, even though it
> will avoid immediate disk write.
>
> TIA.
Paul Watson #
Oninit Ltd # Growing old is mandatory
Tel: +44 1436 672201 # Growing up is optional
Fax: +44 1436 678693 #
Mob: +44 7818 003457 #
[url]www.oninit.com[/url] #
Paul Watson Guest
-
Qweertz #9
Text field
How can I create more then 1 text field while animation is playing?
I need to draw new point and write its name each time user clicks on button
"Draw point".
With point i don't have any problems but I don't know how to create text
fields with different names.
I tried using
_root.createTextField(something,...)
but I need to write some string instead of "something". Is there anyway to
put there element of array instead of "something"?
Can please someone help me?
Thanks
Qweertz Guest



Reply With Quote

