Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Informix job scheduler issues

Posted By: John Miller iii
Date: Tuesday, 24 January 2012, at 7:21 p.m.

In Response To: Re: Informix job scheduler issues (MARK COLLINS)

What is really happening:

What happens when you create a task? The tk_next_execution time
gets sent to CURRENT and time values are sanity checked. If the time
values fit executing the task now we continue to execute the task else
we do not execute the task, but just request that the task be schedule for
the
next valid execution. This is tracked as the task running even though the
function
itself was not executed, it was work done to manage this task (often very
small).

In order to simulate the a task being executed by the scheduler
the function exetask() are availible. These force the worker
thread to execute the task now, even if the schedule indicates
it should not be run.

execute function exectask( tk_name )

OR
execute function exectask( tk_id )

Something that does not seem correct is
that the exectask() function does not take
the function to be executed, but rather the
name of the task which is is stored in tk_name
column. In version 11.50 if you called this with
an incorrect name to many times this could
serverly slow down the scheduler and a restart
of the scheduler would clena this up.

I would look at the onstat option onstat -g dbc to view any error
messages which occur during the running of your task.

John F. Miller III
STSM, Embedability Architect
miller3@us.ibm.com
503-578-5645
IBM Informix Dynamic Server (IDS)
(Embedded image moved to file: pic00070.gif)

ids-bounces@iiug.org wrote on 01/24/2012 12:26:20 PM:

> From: "MARK COLLINS" <markc@myfastmail.com>
> To: ids@iiug.org
> Date: 01/24/2012 12:32 PM
> Subject: Re: Informix job scheduler issues [26029]
> Sent by: ids-bounces@iiug.org
>
> Thanks for the response.
>
> OK, that almost makes sense about the first run. I would have thought
that
> since I created the ph_task entry prior to the scheduled start time, that
it
> would use the specified start time to determine when to try the
> first run. The
> way you describe it, if I want something to run at daily 6:00 PM starting

> today, I would have had to create the ph_task entry yesterday?
>
> I did confirm the run times and number of runs for the original posting
by
> querying ph_run.
>
> You may be onto something about the logging. No, dev_db_2 is not logged.
> Sadly, many of our databases are not logged (it's on our to-do list).
>
> However, your idea of testing it by running EXECTASK seems to indicate
that
> this is not a problem. I executed the following:
>
> database sysadmin;
> execute function exectask("dev_db_2:my_test_function(3)");
>
> and it appears to be running correctly (the function takes several
minutes to
> run, and it is taking time now. Last night, the ph_run indicated that it
was
> ending in less than a second.) Also, I am able to run the function
manually
> 'execute function my_test_function(3)' successfully when I am logged in
to
> dev_db_2. I mention this because I am not certain whether the scheduler
runs
> the task from sysadmin, or if it instead connects to dev_db_2 prior to
> attempting to execute the function.
>
> The function is defined in dev_db_2. The signature is
> my_test_function(smallint) returning integer.
>
> Can you give me more details, or tell me where to find more details,about
the
> problem calculating stop time (the problem affecting AUS) in this
version?
>
> Also, where is EXECTASK documented? I did a search in the online
> docs and came
> up with no matches.
>
> >> When you set it to run at 1H interval, it will wait that interval to
run
> >> the first time. So it would have run at around 20:05H.
> >> I don't have a good explanation to the other questions (specially the
99
> >> runs - did you verified this on ph_run?).
> >>
> >> As for why it didn't run... Your database dev_db_2 has logging?
> >> Where did you create your function?
> >> What is the function signature?
> >>
> >> For he scheduling issue I believe that version has a problem thatleads
to
> >> a bad calculation of the stop time (it affected AUS) but it
> doesn't seem to
> >> match your scenario...
> >> But I'd suggest you solve the reason why it doesn't run and then try
to
> >> check the scheduling.
> >>
> >> You can run the task manually using:
> >>
> >> DATABASE sysadmin;
> >> EXECUTE FUNCTION EXECTASK("my_test_function");
>
> Regards.
>
>
>
*******************************************************************************

> Forum Note: Use "Reply" to post a response in the discussion forum.
>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.