Quantcast
Channel: IIUG Forum: IDS Forum
Viewing all 9843 articles
Browse latest View live

Informix CSDK- End of Support

$
0
0
I would like to know the End of Support date for Informix CSDK 3.70xC5
specifically. In general, a link to End of Support dates for Informix Servers
and Tools would be helpful




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

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: [41256]

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

Re: Informix JDBC 4.10.FC11 missing from maven....

$
0
0
Hi,

We just posted 4.10.JC12 to maven central. I'm not sure what happened to JC11
as it was supposed to be posted. I'll see if we can get JC11 added.

https://search.maven.org/artifact/com.ibm.informix/jdbc/4.10.12/jar




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

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: [41257]

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

Re: ifxjdbcx.jar

$
0
0
Thanks for you question.

Looks we have a gap in our documentation in explaining the change that
happened in JC8. Looking at the documentation locations you provided we should
be able to add a few lines in there explaining the separate jar is not
required after JC7.




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

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: [41258]

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

IIUG discussion forums?

$
0
0
Hi,

I get emailed messages from various discussion forums on IIUG. A month or two
back we were asked to confirm our email address due to system changes (?) or
something.
Since then the volume of messages has dropped to almost nothing, previously it
was really quite busy.
I was just curious if the discussions had moved to some other platform or
address, or have informix discussions just died?

Thanks,
Bryce.




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

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: [41259]

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

25582 error on high volume of short live trans

$
0
0
Hi IIUG,

Trying to find why my DB blows up to high CPU. it has 62 physical cores (x4
smt) on AIX machine P8 running 11.70 IDS.

We are getting -25582 error after putting significant load of transactions.
The volume of transactions is big but short live.

Here's the config below:

NETTYPE ipcshm,1,100,CPU
NETTYPE soctcp,35,500,NET
LISTEN_TIMEOUT 10
MAX_INCOMPLETE_CONNECTIONS 1024
FASTPOLL 1
NUMFDSERVERS 23
NS_CACHE host=900,service=900,user=60,group=900
ASF_SOCTCP_BACKLOG 1024

BUFFERPOOL
default,buffers=23068672,lrus=511,lru_min_dirty=0.28,lru_max_dirty=1.12
BUFFERPOOL
size=4K,buffers=69206016,lrus=511,lru_min_dirty=0.28,lru_max_dirty=1.12

We've tried NUMFDSERVERS=1 as well, but we are still seeing nsf locks. Any
thoughts?

Thank you 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: [41260]

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

SQL Plan Management in Informix

$
0
0
Are there any SQL plan management like SQL Baseline in Oracle for Informix?




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

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: [41261]

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

Re: SQL Plan Management in Informix

$
0
0
As there would be multiple execution plans for one SQL Text, can we fix
specific execution plan for one SQL Text?




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

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: [41262]

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

Re: SQL Plan Management in Informix

$
0
0
If you are looking for something exactly like Oracle SQL Query Baselines,
there is no such feature.

If your aim is to lock down a query plan you need to use query directives. I
realise that directives do not necessarily guarantee a specific plan, just
restrict the optimiser's freedom. Usually though this distinction is not a
problem.

Directives can either be added to your SQL at the client end or at the server
end via the external directive feature.

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: [41263]

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

Re: SQL Plan Management in Informix

$
0
0
Thanks for your reply.




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

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: [41264]

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

Convert BSON to real JSON

$
0
0
Hi there,

I am evaluating the BSON data types in informix and want to process the data
further in my application. Sadly a query like this

select first 1 genbson( ROW(some_date), 1, 1 )::json from some_table

results in:

{"some_date":ISODate("1980-07-18T00:00:00.000Z")}

Is there any way to get some_date as string instead of ISODate for further
processing in JSON aware libraries?

Thanks,
Florian




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

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: [41265]

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

12.10.FC11 GRIPE & WHINE

$
0
0
12.10.FC11
Solaris 10 1/13

We upgraded from FC3 to FC11. One of our SPLS broke as a result. Opened tech
support case. Tech support informed us that a feature added in 12.10.XC6
causes some multi-table, ANSI notation JOINS to fail.

Tech support supplied an ONCONFIG parameter (SQL_FEAT_CTRL2 0x0004) to disable
this "feature".

I think Informix upgrades should not break existing syntactically and
semantically correct SQL.

But, the worst thing is that IBM has had about 3 years to fix this defect
(they themselves referred to it as a "defect"), but simply declined to do so.
Existing, functioning, legal JOINs that suddenly fail, due to IBM's code
modifications from several years back are unacceptable in this customer's
eyes.

DG




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

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: [41266]

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

Re: Convert BSON to real JSON

$
0
0
The format seems to be MongoDB focused. If your application can parse the
MongoDB json extensions, then that would be the better way.
Or you can convert the datetime to a string with the 'TO_CHAR' function:

SELECT FIRST 1 genbson( ROW( TO_CHAR( some_date, '%Y-%m-%dT%H:%M:%S.%F3Z' ) ),
1, 1 )::JSON FROM some_table;

Maybe also open an RFE asking to add that functionality to the genbson
function.




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

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: [41267]

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

Re: Convert BSON to real JSON

$
0
0
Thanks, I tried TO_CHAR but that looses the "name" of the field and I get a ""
as key in the JSON document :/ -- can I somehow provide an alias value 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: [41268]

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

Re: Convert BSON to real JSON

$
0
0
You can use a table expression to work around that:

SELECT FIRST 1 genbson( ROW( vt1.some_date ), 1, 1 )::JSON FROM ( SELECT
TO_CHAR( t1.some_date, '%Y-%m-%dT%H:%M:%S.%F3Z' ) AS some_date FROM some_table
AS t1) AS vt1;

I have no idea what kinda of performance hit you will get with this.




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

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: [41269]

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

Re: Convert BSON to real JSON

$
0
0
Ah that actually seems like a viable approach; I just have to check if this
works in a trigger too :D (Ie if SELECT * FROM OLD/NEW) works.

Thanks for your help so far.

Florian




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

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: [41270]

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

Using BSON without utf8 as charset.

$
0
0
I am trying to use BSON/JSON functionality with a database set to de_de.8859-1
as locale. When converting a row to BSON like this:

SELECT genbson(testing) from testing;

I do get "9660: The database server operation failed due to an invalid JSON
document." as soon as I do have umlauts in there. This seems somewhat legit,
since JSON strictly requires UTF-8, but I had hoped that informix would
convert the data.

Is there any way around this?

Thanks,
Florian




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

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: [41271]

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

Re: 12.10.FC11 GRIPE & WHINE

$
0
0
Original post:

12.10.FC11
Solaris 10 1/13

We upgraded from FC3 to FC11. One of our SPLS broke as a result. Opened tech
support case. Tech support informed us that a feature added in 12.10.XC6
causes some multi-table, ANSI notation JOINS to fail.

Tech support supplied an ONCONFIG parameter (SQL_FEAT_CTRL2 0x0004) to disable
this "feature".

I think Informix upgrades should not break existing syntactically and
semantically correct SQL.

But, the worst thing is that IBM has had about 3 years to fix this defect
(they themselves referred to it as a "defect"), but simply declined to do so.
Existing, functioning, legal JOINs that suddenly fail, due to IBM's code
modifications from several years back are unacceptable in this customer's
eyes.

DG

Response:

It is a defect and it will be corrected, but the defect was only discovered 2
weeks ago.

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: [41272]

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

How to DROP unlogged table on RSS?

$
0
0
IDS 12.10.FC3
Solaris 10 1/13

I have an unlogged table in an RSS. I would like to DROP it. But, I cannot
access it to DROP it. I can see it in Server Studio and dbAccess, but cannot
execute a DROP TABLE command on it (because it is inaccessible because it is
raw).

I have already DROPed it from the primary.

How can I get rid of it on the RSS?

Thank you.

DG




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

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: [41273]

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

Re: How to DROP unlogged table on RSS?

$
0
0
P.S. The problem is that I want to dbexport that database. But, I cannot run
dbexport because it errors out when it comes to the unlogged table. But, I
cannot drop it because it errors out when trying to access it (i.e., run the
DROP command).

Sort of like, "I can't get there from here".

Is the only solution to DROP the entire database, and start RSS completely
from the beginning? Surely there must be a way to get rid of that table.




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

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: [41274]

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

systemd centos7

$
0
0
Hi All,

we configured systemd on CentOs7 to start and stop informix server 12.10.FC10.

Im not sure of the type of the service so I tried oneshot, simple and forking.
Informix starts in all cases. I see no difference.

But we have an issue: If starting informix via systemd, the automatic backup
of the logical logs will not work.

In onconfig we have set:
ALARMPROGRAM $INFORMIXDIR/etc/log_full_ontape.sh

cat $INFORMIXDIR/etc/log_full_ontape.sh
#!/bin/sh
###########################################################################
#
# Licensed Material - Property Of IBM
#
# "Restricted Materials of IBM"
#
# IBM Informix Dynamic Server
# (c) Copyright IBM Corporation 1996, 2004 All rights reserved.
#
# Title: log_full.sh
#
# Description Automates logical log backup using event alarms from the
# database server. To install this script, add the following
# line to the ONCONFIG file -
# ALARMPROGRAM <informixdir>/etc/log_full.sh
# where <informixdir> is replaced by the full value of
# $INFORMIXDIR
#

##############################################################################/

PROG=`basename $0`
USER_LIST=informix
#BACKUP_CMD="onbar -b -l"
BACKUP_CMD="ontape -a -d"
EXIT_STATUS=0

EVENT_SEVERITY=$1
EVENT_CLASS=$2
EVENT_MSG="$3"
EVENT_ADD_TEXT="$4"
EVENT_FILE="$5"

case "$EVENT_CLASS" in

23)

# onbar assumes no operator is present,

# so all messages are written to the activity

# log and there shouldn't be any output, but

# send everything to /dev/null just in case

$BACKUP_CMD 2>&1 >> /dev/null

EXIT_STATUS=$?

;;

# One program is shared by all event alarms. If this ever gets expanded to
# handle more than just archive events, uncomment the following:

*)
# EXIT_STATUS=1

;;
esac

exit $EXIT_STATUS

Thats nothing extra. And it works fine, if we start the informix server "by
hand" with oninit.

Only when started by systemd automatic backup of logical logs don't work.

Has anyone experienced this and could help?

TIA,
Reinhard.




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

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: [41275]

*******************************************************************************
Viewing all 9843 articles
Browse latest View live


Latest Images