Unix Technical Forum

RE: Running 4GL on table that changes a lot

This is a discussion on RE: Running 4GL on table that changes a lot within the Informix forums, part of the Database Server Software category; --> Dirk Moolman said: > > -----Original Message----- > From: Obnoxio The Chav [mailto bnoxio@serendipita.com] > Sent: 11 January 2005 ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:23 AM
Obnoxio The Chav
 
Posts: n/a
Default RE: Running 4GL on table that changes a lot



Dirk Moolman said:
>
> -----Original Message-----
> From: Obnoxio The Chav [mailtobnoxio@serendipita.com]
> Sent: 11 January 2005 04:17 PM
> To: Dirk Moolman
> Cc: informix-list@iiug.org
> Subject: Re: Running 4GL on table that changes a lot
>
>
> Dirk Moolman said:
>>
>> I think this is in the CDI archives, but I haven't found it yet. If
>> memory serves me right, it was discussed on this list some years ago.
>>
>> Some of our programs run batch processes, dropping & creating tables,
>> and then inserting lots of records into them ... BUT, and this is my
>> problem, the program also reads from the tables being inserted into.
>>
>> Because these tables are recreated, no (update) statistics exist on
>> them. But I also can't create them, run update stats and then read

> from
>> them - the reading and inserting happens at the same time.
>>
>> How do I overcome this problem ? Hope my question is clear enough.

>
>
>
>>Well, let's start again: do these tables have any indexes? If not, what
>>difference will an update stats make? What is the actual problem that

> you
>>think update stats will fix?

>
>
> Yes, the table has indexes. And the developer noticed that her program
> gets slower as the table grows. Logically queries on a table with 10
> record will be faster than queries on the same table with 1 000 000
> records, but she monitors the program, and says that it drastically
> slows down, and which is why I was thinking of update stats.


Table gets dropped, created with indexes, loaded, read...? Sounds like a
recipe for pain.

--

Bye now,
Obnoxio

"C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule"
- Coluche

"I'm trying to see things your way, but I can't get my head up my ass"
- JCH

"Ogni uomo mi guarda come se fossi una testa di cazzo"
- Marco

You're so stupid, you think martial arts are paintings by a sheriff...

I went to the airport to check in and they asked what I did because I
looked like a terrorist. I said I was a comedian. They said, "Say
something funny then." I told them I had just graduated from flying
school.

-- Ahmed Ahmed
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com