Save 
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

RSS Feed: IDS Forum: IDS

More IIUG RSS Feeds

The IDS Forum is a discussion forum to communicate about all aspects of the Informix Dynamic Server (IDS) Engine


URL: http://www.iiug.org/rss/ids.rss

Below is the latest content available from this feed:

Re: Error -243 ISAM -154 with Select sentence
Posted by: rvilca@luzdelsur.com.pe (ROGER VILCA) - Wed, 09 Jan 2019 18:23:52 EST
Thanks Jacques.



You're right.

We were monitoring the program and effectively the isolation level is comitted

read. Investigating we realize that the main program uses esql functions that

are in an external library. One of these functions executes the command "set

isolation to committed read" with which it overrride the initial setting

(dirty read) of the program.



Best regards.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41449]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Unused space inside a Table
Posted by: dirk.moolman@mtn.com (DIRK MOOLMAN) - Wed, 09 Jan 2019 04:00:32 EST
Awesome. Thank you.



As I expected.



:-)

Thanks again









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41448]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Unused space inside a Table
Posted by: benjamin.thompson@skybettingandgaming.com (BENJAMIN THOMPSON) - Tue, 08 Jan 2019 08:55:27 EST
I believe it will fill up the allocated extents first "at the end of the

table". When it gets to the end of the extents currently allocated, the engine

will scan the table's bitmap pages from the beginning looking for empty or

partially full pages and use these up before a new extent is allocated.



There is a slight complication in with tables with variable width columns

(usually varchars) whereby a partially full page may have space for a shorter

row and not a longer one. If the row is too long to fit, the engine will

continue to scan the bitmap pages.



Ben.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41447]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Unused space inside a Table
Posted by: dirk.moolman@mtn.com (DIRK MOOLMAN) - Tue, 08 Jan 2019 03:34:40 EST
When you delete records from a Table, the empty space is not released /

free'ed up.



My question is:



If you now insert records again, will the unused space be used first, to add

the new records, or will it be added "at the end of the table" (for lack of

better words), and new extents be added (the table will still grow) ?



IDS 12

AIX 7









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41446]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Informix csdk download?
Posted by: in4mixdba@gmail.com (DAVE BALIGO) - Mon, 07 Jan 2019 09:59:38 EST
Benjamin,



Great! Thank you so much. I was able to download it. Thank you for the

comprehensive response.



--Dave









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41445]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reading logical logs of informix
Posted by: mahmed04@i2cinc.com (MUNAWAR AHMED) - Sun, 06 Jan 2019 21:19:39 EST
Is it possible to find what was being written in database at a certain point

of time by reading logical-logs?









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41444]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Error -243 ISAM -154 with Select sentence
Posted by: rvilca@luzdelsur.com.pe (ROGER VILCA) - Fri, 04 Jan 2019 17:06:55 EST
Thanks Doug,



But according to the article:





http://informix-technology.blogspot.com/2006/10/when-exclusive-is-not-really-exclusive.html



"When you set the exclusive lock on a table using "BEGIN WORK; LOCK TABLE IN

EXCLUSIVE MODE you don't prevent sessions with DIRTY READ isolation level from

accessing the table"



I've made a little laboratory, and that's certainly true.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41443]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Error -243 ISAM -154 with Select sentence
Posted by: jacques.renaut@hcl.com (JACQUES RENAUT) - Fri, 04 Jan 2019 13:50:01 EST
Original post:



Hi,

We have a program esql/c that has the following sentences:



set isolation to dirty read;

set lock mode to wait 30;



The program makes several select, update and insert operations



Recently these error messages came out when executing a select statement:



error -243 (Could not position within a table) ISAM -154 (Lock Timeout

Expired)



I wonder how it is possible that he has shown a blocking message despite

having the sentence set isolation to dirty read;



The really weird thing is that this error occurred after executing a Select

statement.



My environment is 11.70FC8 in HP-UX 11.31



Thanks in advance.



Response:



Well there's a couple things that pop to mind. First is isolation level is

retained, meaning that if your esql/c program happened to execute a SPL and in

the SPL it had code that did set isolation to something other then dirty

ready, but didn't set it back before leaving, then the session wouldn't be

executing at dirty read anymore (and thus could possibly wait for locks on a

select and get the lock timeout error). Also, there is the $ONCONFIG parameter

USELASTCOMMITED. That can override what you set your isolation to in the

application and cause it to use committed read last committed isolation

instead. Certain type of locks are waited on when using that isolation level

and could therefore also get the -154 timeout error. I guess first thing I

would do is verify the esql/c app is running (for it's duration) at the

isolation level you think (ie dirty read) using onstat -g ses <session #>

output. There's a isolation level field in there, and/or at least check to see

if USELASTCOMMITTED is set to something or not.



Jacques Renaut

HCL Informix Advanced Support









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41442]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Error -243 ISAM -154 with Select sentence
Posted by: douglawry@hotmail.com (DOUG LAWRY) - Fri, 04 Jan 2019 12:09:53 EST
Hi Roger.



Row locks due to uncommitted transactions are ignored with "set isolation to

dirty read" in force, but select statements can still be blocked by other

types of exclusive locks. For example, you could get that result if another

session has executed the following and still has the transaction open:



BEGIN WORK;



LOCK TABLE <table-name> IN EXCLUSIVE MODE;



There might also be another session about to make a schema change,

particularly if IFX_DIRTY_WAIT has been set:





www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.sqls.doc/ids_sqs_0891.htm



Regards,

Doug









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41441]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Informix csdk download?
Posted by: benjamin.thompson@skybettingandgaming.com (BENJAMIN THOMPSON) - Fri, 04 Jan 2019 09:44:47 EST
After replying to this, I thought this information ought to be available on

the IIUG web site.



http://www.iiug.org/links/ibm.php contains a few out of date or broken links.



Focusing only on the links relevant to this question:

IBM Software Downloads - links to "IBM Support is Transforming" page.

Informix Client SDK D/L - still links to a software trials page but no

Informix trial seems be available at this location.

IBM Passport Advantage - broken link.



Is there any chance the maintainers could update this page?



Ben.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41440]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Informix csdk download?
Posted by: benjamin.thompson@skybettingandgaming.com (BENJAMIN THOMPSON) - Fri, 04 Jan 2019 09:36:02 EST
There are three online sources I am aware of:



1. Fix Central:



If you have an up to date support contract and want the latest version you can

get it from Fix Central:

https://www-945.ibm.com/support/fixcentral/



Select "Information Management" and then "Informix Client Software

Developmennt Kit". The latest is at time of writing is 4.10.xC12W1 but select

an earlier version.



This is the best way to get it if this method is available for you.



2. Passport Advantage



https://www.ibm.com/software/passportadvantage/pao_customer.html



This should offer up to date package versions like Fix Central but is more

fiddly to use and (I think) you have to be an IBM direct customer to have

access to it.



3. Trials and demos



https://www.ibm.com/analytics/informix



Often this is a few releases behind the latest and greatest.



Click "Download the free Informix Client Software Development Kit". The

version available there at time of writing is 4.10.xC9.



All these download methods come from IBM. I am not sure what is available if

you bought through HCL. If you can't access (2) or maybe (1) as well, your

reseller or IBM business partner should be able to.



HTH

Ben.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41439]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Error -243 ISAM -154 with Select sentence
Posted by: rvilca@luzdelsur.com.pe (ROGER VILCA) - Fri, 04 Jan 2019 01:23:00 EST
Hi,

We have a program esql/c that has the following sentences:



set isolation to dirty read;

set lock mode to wait 30;



The program makes several select, update and insert operations



Recently these error messages came out when executing a select statement:



error -243 (Could not position within a table) ISAM -154 (Lock Timeout

Expired)



I wonder how it is possible that he has shown a blocking message despite

having the sentence set isolation to dirty read;



The really weird thing is that this error occurred after executing a Select

statement.



My environment is 11.70FC8 in HP-UX 11.31



Thanks in advance.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41438]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Number and size of chunks
Posted by: rvilca@luzdelsur.com.pe (ROGER VILCA) - Fri, 04 Jan 2019 01:04:35 EST
Thanks Benjamin









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41437]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Informix csdk download?
Posted by: in4mixdba@gmail.com (DAVE BALIGO) - Thu, 03 Jan 2019 12:51:51 EST
Hi,



I need the ODBC driver for Informix. Where can I download the Informix csdk? I

searched all over online and IBM just keeps taking me in circles. Can anyone

assist with the right place to download it?



Thank You,



--Dave









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41436]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

New releases of utils2_ak and myexport
Posted by: art.kagel@gmail.com (ART KAGEL) - Mon, 31 Dec 2018 17:44:42 EST
Art Kagel <art.kagel@gmail.com>

5:36 PM (6 minutes ago)

to IIUG, ids@iiug.org



Folks:



During December I have uploaded updated versions of myexport/myimport and of

the dostats_ng.ec and myschema code in utils2_ak to my website

(www.askdbmgt.com/my-utilities.html). I thought I'd kick off 2019 with a bang.



Changes include:



myimport: Improved and extended support for index or table only dbspace

remappings.



dostats_ng.ec: Fixed an old quirk that only accepted hostnames shorter than 18

characters. Expanded to 32.



myschema: Besides the --rename-auto-index option added in November I have made

some changes to the code to make it compatible with the newer GCC versions

(some sites had problems with GCC later than 4.8). Also fixed a bug affecting

disabled constraints.



Note that an APAR has been issued for dbschema and dbexport: both are failing

to print out CREATE INDEX statements for indexes built on REPLCHECK columns.

It is expected to be fixed in the version that follows 12.10.xC12W1 in 2019Q1.

This issue first appears in 12.10.xC9 IB. Myschema does not have this problem

and the "-l" option can be used to generate a schema that is compatible with

dbimport if needed.



Art









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41435]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Number and size of chunks
Posted by: benjamin.thompson@skybettingandgaming.com (BENJAMIN THOMPSON) - Mon, 31 Dec 2018 05:01:15 EST
Hi Roger,



It would good to understand your wider concerns on system performance, for

example are you concerned that a longer checkpoint would adversely affect your

applications?



There is a limit in Informix 11.70 of 32766 chunks

(https://www.ibm.com/support/knowledgecenter/en/SSGU8G_11.70.0/com.ibm.adref.doc/ids_adr_0722.htm)

so 528 chunks need not be a concern in itself.



There is no requirement to keep chunks all the same size and, if you were to

move to using storagepools, the engine itself can create some quite large

chunks based on the size of a new chunk being 10% of the size of the whole

dbspace.



In my opinion if you are running 11.70 you do not need to be too concerned

about long checkpoints (although watch the use of your physical log). The

engine only performs a blocking checkpoint in a limited number of scenarios

(start of L0 backup, block for external backup, maybe others).



With this in mind you could, if anything, reduce the number of cleaners rather

than be concerned that there are too few. If you monitor your checkpoint

activity with "onstat -F" presumably you'd see very few of these active

towards the end of the checkpoint.



I don't see that you need to start moving tables around, at least not for this

reason alone. If you were to, I'd give consideration to introducing larger

page sizes where appropriate.



HTH.

Ben.









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41434]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Number and size of chunks
Posted by: rvilca@luzdelsur.com.pe (ROGER VILCA) - Fri, 28 Dec 2018 18:01:28 EST
Hi,



I have an instance with 528 chunks running on IDS 11.70

The server is a HP-UX 11.31 with KAIO enabled and with raw devices and lvols.

The disk are SAN, aprox 25 LUNs in a combination of 30, 60 and 90 GB in size.

All chunks are 2 GB in size. The CLEANERS parameter is 120.



I would like to know if it is advisable to increase the size of each chunk and

reorder the locations of the tables, so that the number of chunks does not

increase more.

I am concerned that in the short term the number of CLEANERS is not enough for

the workload due to a greater number of chunks.



Please let me any clues according your experience

I'm sending some excerpts of relevant onstat commands.

The instance is up for 22 days.



Thanks in advance.



onstat -F



Fg Writes LRU Writes Chunk Writes

2 119362624 116202847

....



onstat -R

....

1019 m 2.0% 40 29 11

18564 dirty, 999995 queued, 1000000 total, 1048576 hash buckets, 2048 buffer

size

start clean at 4.000% (of pair total) dirty, or 78 buffs dirty, stop at



2.000%



onstat -g ckp



AUTO_CKPTS=On RTO_SERVER_RESTART=Off



Critical Sections Physical Log Logical Log



Clock Total Flush Block # Ckpt Wait Long # Dirty Dskflu Total Avg Total Avg

Interval Time Trigger LSN Time Time Time Waits Time Time Time Buffers /Sec

Pages /Sec Pages /Sec

763889 16:07:51 CKPTINTVL 378244:0x10b10018 0.9 0.6 0.0 6 0.0 0.1 0.2 29529

29529 12493 40 15104 49

763890 16:12:54 CKPTINTVL 378244:0x12e03188 1.0 0.6 0.0 9 0.0 0.1 0.1 18137

18137 9324 30 8957 29

763891 16:17:58 CKPTINTVL 378244:0x157b5018 0.9 0.6 0.0 7 0.0 0.1 0.1 28167

28167 9280 30 10700 35

763892 16:23:02 CKPTINTVL 378245:0x790f4 0.7 0.5 0.0 4 0.0 0.0 0.1 28912 28912

11118 36 12194 40

763893 16:28:06 CKPTINTVL 378245:0x371008c 1.7 1.1 0.0 2 0.0 0.2 0.2 28894

26465 11947 39 13988 46

763894 16:33:10 CKPTINTVL 378245:0x6bf602c 0.7 0.5 0.0 6 0.0 0.1 0.1 25604

25604 11603 38 13546 44

763895 16:33:11 *Admin 378245:0x6bfc018 0.4 0.0 0.0 10 0.0 0.2 0.4 200 200 262

262 6 6

763896 16:36:58 *Admin 378245:0xa054018 0.4 0.1 0.0 7 0.0 0.3 0.4 1947 1947

8742 38 13400 59

763897 16:42:17 CKPTINTVL 378245:0xcdfc060 0.9 0.5 0.0 4 0.0 0.1 0.1 31085

31085 9962 31 11695 36

763898 16:47:21 CKPTINTVL 378245:0xfca7344 0.8 0.5 0.0 4 0.0 0.1 0.1 28109

28109 10823 35 11965 39

763899 16:52:25 CKPTINTVL 378245:0x126cb018 1.0 0.7 0.0 6 0.0 0.1 0.1 30474

30474 9389 30 10840 35

763900 16:57:29 CKPTINTVL 378245:0x16d29018 0.7 0.5 0.0 9 0.0 0.1 0.1 26153

26153 12025 39 18060 59

763901 17:02:35 CKPTINTVL 378246:0x3b14170 1.0 0.7 0.0 3 0.0 0.1 0.2 27028

27028 11992 39 21692 71

763902 17:07:41 CKPTINTVL 378246:0x70ad248 1.7 1.1 0.0 12 0.0 0.2 0.3 29023

27345 13220 43 13739 44

763903 17:12:47 CKPTINTVL 378246:0xb03f018 1.2 0.9 0.0 5 0.0 0.1 0.1 29566

29566 13366 43 16287 53

763904 17:17:53 CKPTINTVL 378246:0xd5595d8 1.9 1.4 0.0 5 0.0 0.1 0.1 31712

22114 8874 28 9505 30

763905 17:22:58 CKPTINTVL 378246:0xfd5a5a4 1.0 0.6 0.0 8 0.0 0.1 0.2 25124

25124 11273 36 10266 33

763906 17:28:05 CKPTINTVL 378246:0x12bad578 0.8 0.5 0.0 8 0.0 0.1 0.1 24247

24247 9316 30 11881 38

763907 17:33:10 CKPTINTVL 378246:0x158f9018 1.2 0.8 0.0 4 0.0 0.0 0.1 31988

31988 10187 33 11602 38

763908 17:38:15 CKPTINTVL 378247:0x1495018 1.4 1.0 0.0 4 0.0 0.1 0.2 30380

29107 10193 33 16961 55



Max Plog Max Llog Max Dskflush Avg Dskflush Avg Dirty Blocked

pages/sec pages/sec Time pages/sec pages/sec Time

5013 16099 3 15474 3 0









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41433]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: SQL question
Posted by: sergio.peres@airc.pt (SERGIO PERES) - Thu, 27 Dec 2018 11:21:43 EST
All code:



dbaccess sysmaster <<EOF > /dev/null 2> /dev/null

set isolation to dirty read;

unload to '$TMPFILE' delimiter "|"

select x0.sid,

x0.username,

x0.hostname,

x1.sqs_dbname,

dbinfo("UTC_TO_DATETIME",x0.connected) AS conn_dt

from

sysmaster:"informix".syssessions x0,

sysmaster:"informix".syssqlstat x1,

sysmaster:"informix".sysnetworkio n

where ( x0.sid = x1.sqs_sessionid ) and hostname is not NULL and

trim(hostname) <> ''

and trim(hostname) <> '-' AND sqs_dbname NOT LIKE 'sys%' AND sqs_dbname <>

'-' AND n.sid = x0.sid

EOF



for I in `cat $TMPFILE`; do



SID=`echo $I | awk -F'|' '{print $1}'`

BD=`echo $I | awk -F'|' '{print $4}'`

echo "" > $FILE

dbaccess $BD <<EOF > /dev/null 2> /dev/null

set isolation to dirty read;

unload to "$FILE" delimiter '|'

select first 1 sid_f_lig, max(dtlogin_f_lig), winuser_f_lig, tty_f_lig,

cod_capli from grlf_lig where

( sid_f_lig = '$SID' and dtlogout_f_lig is null )

group by sid_f_lig, winuser_f_lig, tty_f_lig, cod_capli

EOF



if [ -s $FILE ]; then



cat $FILE >> $FILE1

fi

done









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41432]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

SQL question
Posted by: sergio.peres@airc.pt (SERGIO PERES) - Wed, 26 Dec 2018 10:40:03 EST
Hi,



I am newbie about SQL and I would like to have 2 sql statements joined on same

query. The second one only execute if table exists on database, I am using

shell code for it but it takes some time to get results...

My code:



select x0.sid,

x0.username,

x0.hostname,

x1.sqs_dbname,

dbinfo("UTC_TO_DATETIME",x0.connected) AS conn_dt

from

sysmaster:"informix".syssessions x0,

sysmaster:"informix".syssqlstat x1,

sysmaster:"informix".sysnetworkio n

where ( x0.sid = x1.sqs_sessionid ) and hostname is not NULL and

trim(hostname) <> ''

and trim(hostname) <> '-' AND sqs_dbname NOT LIKE 'sys%' AND sqs_dbname <> '-'

AND n.sid = x0.sid;



Second query:

select first 1 sid_f_lig, max(dtlogin_f_lig), winuser_f_lig, tty_f_lig,

cod_capli from grlf_lig where



( sid_f_lig = '$SID' and dtlogout_f_lig is null )



group by sid_f_lig, winuser_f_lig, tty_f_lig, cod_capli



Can someone give some help how to do it?

Thanks in advance,



SP









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41431]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Re: Stress over system tables
Posted by: sergio.peres@airc.pt (SERGIO PERES) - Wed, 26 Dec 2018 06:35:45 EST
Hi Art,



Thanks for your reply, I use CentOS Linux (RedHat clone) and I have done some

experiences like configure PSORT_DBTEMP to use TMPFS. I also tryed to

configure that kind of filesystem for temporary dbspaces, but I quit because

the system restart takes about 40 minutes to backup and restore them...

I also have my swappiness defined for 10 to only when I have 90% of memory

occupied it uses swap.

Even though I still have latency over my systems and don't know how to

identify them and in case of lack of the code to show my colleagues the

mistakes.



SP









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41430]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Hi Art,



Thanks for your reply, I use CentOS Linux (RedHat clone) and I have done some

experiences like configure PSORT_DBTEMP to use TMPFS. I also tryed to

configure that kind of filesystem for temporary dbspaces, but I quit because

the system restart takes about 40 minutes to backup and restore them...

I also have my swappiness defined for 10 to only when I have 90% of memory

occupied it uses swap.

Even though I still have latency over my systems and don't know how to

identify them and in case of lack of the code to show my colleagues the

mistakes.



SP









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



To post a response via email (IIUG members only):



1. Address it to ids@iiug.org

2. Include the bracketed message number in the subject line: [41430]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

 
Subscribe to this feed
You can subscribe to this RSS feed in a number of ways, including the following:

Drag the orange RSS button into your News Reader

Drag the URL of the RSS feed into your News Reader

Cut and paste the URL of the RSS feed into your News Reader v