IIUG 2013 CALL FOR SPEAKERS, DE 21 A 25 DE ABRIL, 2013 San Diego, California.

A mais tradicional Conferência Informix continuará na Costa Oeste!

OS MELHORES REDBOOKS DE INFORMIX.

Veja aqui uma lista dos principais Redbooks IBM já escritos sobre Informix.

Novo software da IBM auxilia clientes a adotar a Computação em Nuvem

Computação em Nuvem: reinventando TI?.

IBM NETEZZA TWINFIN VS ORACLE EXADATA ... DARE TO COMPARE!

A caixa da IBM mostrou-se mais robusta com simplicidade operacional, performance e ROI. Veja o video!

COM TECNOLOGIA DO ANTIGO XPS O INFORMIX WAREHOUSE ACCELERATOR TURBINA A PERFORMANCE DE QUERIES DSS.

Funcionando como um add-on o IWA aumenta a performance de soluções de business intelligence em até 100x.

domingo, 1 de março de 2015

Informix Quick Reference Cards

Pessoal.
Seguem os links para os Informix Quick Reference Cards, como são conhecidos:

Configuration Parameters in the onconfig.std File
IBM®Informix®Version 12.10.xC4:
http://publibfp.dhe.ibm.com/epubs/pdf/i1320991.pdf

onstat Utility Commands Sorted by
Functional Category
IBM®Informix®Version 12.10.xC4:
http://publibfp.dhe.ibm.com/epubs/pdf/i1321001.pdf

SQL Administration API
IBM®Informix®Version 12.10.xC4:
http://publibfp.dhe.ibm.com/epubs/pdf/i1335011.pdf

Enterprise Replication
IBM®Informix®Version 12.10:
http://publibfp.dhe.ibm.com/epubs/pdf/i1335020.pdf

Informix JSON quick reference for IBM Informix Version 12.10.XC4:
http://www-01.ibm.com/support/docview.wss?uid=swg27041825

Enjoy!
FFO

sexta-feira, 27 de dezembro de 2013

Novo Technote de ER finalmente publicado!!!!

Pessoal,
levou um tempinho pra conseguir concluir, mas com a ajuda de outros colegas da IBM US
finalmente saiu: http://www-01.ibm.com/support/docview.wss?uid=swg21572991

How to identify a user flooding Enterprise Replication (ER) send/receive queues with transactions

Technote (troubleshooting)


This document applies only to the following language version(s):

English

Problem(Abstract)

This document can be used to identify a user flooding Enterprise Replication (ER) send/receive queues with transactions

Symptom

Several occasions when ER/CDR queues become 'flooded' with transactions, it is critical to identify the user(s) triggering Data Manipulation Language (DML) SQL statements which consume a lot of logical log area that can cause the DDR Block situation and hang the Informix instance.

Cause

A user triggered a huge transaction causing several logical logs to be filled and ER sync to hang.

Diagnosing the problem

1. Look at 'onstat -g rqm sendq'

2. Check the progress table and look for the 'group id' with the largest bytes queued;

3. The 'group id' is really the 'replicate id';

4. Look for the replicate id from 'onstat -g cat' to find the table used in that replicate;

5. With the table partnum information, now you can use one of the following options to find the session id or userthread:
- onlog
- onstat -g opn
- sqltrace history


Looking 'onstat -g rcv full" from one of the target servers also lists replicated id's and bytes received.

Resolving the problem

After finding the user/session id, cancell the userthread/session causing the flood.

*** NOVO Exame de Certificação da versão 12.10 do Informix

http://www-03.ibm.com/certify/tests/obj619.shtml

INFORMIX 12.1 - SIMPLY POWERFUL

PESSOAL,
Um pouco atrasado mas ae vai:

Lançada a nova versão do IBM Informix V12.1, e com ela vieram diversas inovações e pequenas mudanças no que diz respeito a licenciamento. Segue:


IBM® Informix® V12.10:

  • Solves the Big Data challenge of sensor data, such as RFIDs, smart meters, and builting sensors
  • Enhances performance for both online transaction processing (OLTP) and analytic workloads
  • Provides easy-to-use interface to smart devices when on the go
  • Makes it much easier to move applications from other database systems
  • Reduces cost and risk for private cloud and distributed enterprise deployments via enhancements to Flexible Grid technology
  • Provides new SQL compatibility with other leading database systems making it much easier to port applications to Informix and take advantage of the power and cost savings of Informix
  • Is easier to embed in applications and devices
  • Makes deployment simpler
  • Delivers enhanced warehouse management infrastructure for increased manageability and performance
  • Contains integration and simplification of management and administration

Para alinhamento com outros produtos de IM, foram renomeadas algumas versões: Informix V11.70               Informix V12.10

Informix Developer            Informix Developer
Informix Innovator-C          Informix Innovator-C
Informix Express®             Informix Express

Informix Growth               Informix Workgroup
Informix Growth Warehouse     Informix Advanced Workgroup
Informix Ultimate             Informix Enterprise
Informix Ultimate Hypervisor  Informix Enterprise Hypervisor
Informix Ultimate Warehouse   Informix Advanced Enterprise


Página do Produto
http://www-01.ibm.com/software/data/informix/index.html

Carta de Anúncio 26/03/2013
http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&appname=gpateam&supplier=897&letternum=ENUS213-156#h2-ordinfx


FFO

sábado, 9 de fevereiro de 2013

Chegou a hora ! Vamos VOTAR !

Pessoal.
O Board do IIUG está sendo composto novamente para 2013.

'don't forget to vote!'

IIUG - Election time IIUG Board of Directors 2013

The 2011 IIUG Board of Directors is a diverse group of users, partners and IBM employees from all over the world. The current IIUG Board will complete its term soon. In preparation for the upcoming election of the 2013 IIUG Board, a Nominating Committee has been established chaired by former Board Member James Edmiston. The committee is currently seeking candidates to run for the 2013 IIUG Board of Directors. If you have a passionate interest in Informix products, and the drive, vision, and commitment to lead and represent the world's most influential community of Informix users, please give your potential nomination serious thought. Nominations will be accepted February 18, 2013 through March 4, 2013 and the election will take place shortly thereafter.
For additional info, visit: http://www.iiug.org/about/election.php.
If you would like to nominate yourself or a colleague, please contact the IIUG Nominating Committee by writing to board-election@iiug.org.
James Edmiston
Former IIUG Board Member
IIUG Elections Commissioner 2013
board-election@iiug.org






Boa sorte e abraços.
FFO

terça-feira, 29 de janeiro de 2013

### NEW Informix v12 IBM WEBCAST ###

Pessoal.
A versão 12.10 do Informix (code name Centaurus) será oficialmente lançada no dia 5 de Março de 2013.

Teremos um Webcast com Jerry Keesee, Diretor do Time de Desenvolvimento do produto e John Milller III, Arquiteto Lider do Projeto Centaurus, falando do futuro do Informix,
e principalmente sobre esta nova versão.


Para registrar-se no evento acesse o link abaixo:

The New IBM Informix: It's Simply Powerful
http://event.on24.com/r.htm?e=571631&s=1&k=6740A7076E0FE9C59EBFDC80C8487D34&partnerref=IBM02


Até!
Fernando

quinta-feira, 25 de outubro de 2012

Fix list for Informix 11.70.xC6 *** LIBERADO!

Neste mês de Outubro, foi liberada a versão 11.70.xC6 do Informix. Eis o fix list:

- TITLE: Fix list for Informix 11.70.xC6
- URL: http://www.ibm.com/support/docview.wss?uid=swg27036092&myns=swgimgmt&mynp=OCSSGU8G&mync=E

- ABSTRACT: Informix provides periodic fixes for release 11.70.  The following list is the most recent report of fixes for customer-reported defects in Version 11.70.xC6.  This report combines both Windows- and UNIX-specific defect fixes.

Dando uma olhada no Release Notes, percebi na sessão de New Features, que mesmo a IBM
afirmando que só lançaria novas funcionalidades na 12.x, temos algumas poucas novidades:
http://publib.boulder.ibm.com/infocenter/idshelp/v117/topic/com.ibm.relnotes.doc/notes/ifx_1170xc6/ids_unix_relnotes_11.70.html#dqx1ids_rel_535


[ ]'s
@FFO

quarta-feira, 17 de outubro de 2012

*** Artigo sobre o IWA na Datamag ***

Foi publicado na IBM Data Management deste mês um artigo sobre o IWA (Informix Warehouse Accelerator).

IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing:

http://ibmdatamag.com/2012/08/supercharging-the-data-warehouse-while-keeping-costs-down/

Tem também um artigo sobre os testes de performance do IWA:
http://public.dhe.ibm.com/software/data/sw-library/informix/whitepapers/Intel-IWA-performance.pdf

Boa leitura!
Fernando

*** NOVO - System Administration Certification (exam 919) for Informix 11.70 preparation series

Pessoal,
depois das partes 3, 4 e 5, mais dois artigos preparatórios para o exame 919 da certificação de System Administrator para Informix 11.70 foram publicados:

System Administration Certification exam 919 for Informix 11.70 prep, Part 2: Informix space management
http://www.ibm.com/developerworks/data/tutorials/db2-cert9192/index.html

System Administration Certification exam 919 for Informix 11.70 prep, Part 8: Security
http://www.ibm.com/developerworks/data/tutorials/db2-cert9198/index.html

Abraços e boa sorte!
FFO

terça-feira, 16 de outubro de 2012

@@@ Informix Chat with the Labs

Recebi o convite para participar do Chat with the Labs agora neste mês de Outubro:

-----------------------------------------------------------
- TITLE: Helping Us Help You: Informix Chat with the Labs, October 2012
- URL: http://www.ibm.com/support/docview.wss?uid=swg21614254&myns=swgimgmt&mynp=OCSSHPYE&mynp=OCSSGU8G&mync=E
- ABSTRACT: Come join Informix Support professionals discussing and demostrating ways you can help technical support diagnose and debug problems using 'Must Gather' or "Collecting data' documents, or product features.
-----------------------------------------------------------



O evento é dia 30/10 e a participação livre, basta cadastrar-se.

Apresentado por:
Jerry Keesee - Director, IBM Informix Database Development (IBM)
Sanjit Chakraborty -Support Engineer (IBM)
Ronald Privett - Support Engineer (IBM)

[ ]'s
FFO

segunda-feira, 8 de outubro de 2012

*** NOVO Redbook de DB2 HADR ***

A IBM acaba de publicar (em draft ainda) um novo Redbook de DB2 para o sistema de cluster e contingencia, baseado originalmente no código do HDR do Informix.

Segue:
  
High Availability and Disaster Recovery Options 
for DB2 Linux, UNIX, and Windows
 

Revised: October 1, 2012
More details are available at 

http://www.redbooks.ibm.com/redpieces/abstracts/sg247363.html?Open
   
Divirtam-se!
FFO

quinta-feira, 4 de outubro de 2012

Technote de Archecker ::: CRITICAL ERROR: Unable to initialize resources

Depois de algum tempo alocado no cliente, finalmente consegui terminar e pedir aprovação e publicação deste Technote. Ainda faltam 8...rs!

Escrevi o artigo baseado no atendimento a um cliente, em Agosto passado (2012).
Depois de muito pesquisar nas bases de conhecimento IBM, cheguei à conclusão de que ainda estamos bem carentes de material do Archecker. Neste caso o cliente não conseguia restaurar e então validar uma imagem de backup.

Não sei se o link já está disponivel na internet, então ae vai o conteúdo:
http://www-01.ibm.com/support/docview.wss?uid=swg21609172

Technote (troubleshooting)


Problem(Abstract)

When using Archecker to validate an IBM® Informix® archive backup image, the following error message: "Unable to initialize resources" is raised. This article describes the common causes and solutions for this error.

Symptom

Starting the archive backup validation process leads to the following output:
$ archecker -tvs
IBM Informix Dynamic Server Version 11.50.FC9
Program Name:   archecker
Version:        8.0
Released:       2011-07-25 22:02:01
CSDK:           IBM Informix CSDK Version 3.50
ESQL:           IBM Informix-ESQL Version 3.50.FC4
Compiled:       07/25/11 22:02  on Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006

AC_STORAGE               /arc_ifmx
AC_MSGPATH               /tmp/ac_msg.log
AC_VERBOSE               on
AC_TAPEDEV               /informix/bkpdata/
AC_TAPEBLOCK             32 KB
AC_LTAPEDEV              /informix/bkplogs/
AC_LTAPEBLOCK            32 KB
AC_TIMEOUT               300
AC_SESSION
CRITICAL ERROR: Unable to initialize resources.

Cause

The path /arc_ifmx set in the AC_STORAGE ac_config file has no proper permissions set so user Informix can read/write Archecker temporary files.

Diagnosing the problem

The ac_msg.log file provides more details about the cause of the problem. Most of the times the following error can be found:

ERROR: Error(2) Unable to create directory /arc_ifmx/SAVE

ERROR: Unable to initialize the save page section.
CRITICAL ERROR: Unable to initialize resources.


STATUS: archecker completed Setup pid = 17911 exit code: 3

Depending on the kind of syntax error, the following message may also be found in the ac_msg.log:

ERROR: Error(13) Invalid filename /tmp/SAVE/TP.0_1

ERROR: Failed to save page(0_1) in /tmp/SAVE/TP.0_1
ERROR: Unable to init for restart feature.
ERROR: Unable to initialize the restartable restore
ERROR: Device type not set properly
ERROR: No device driver selected.
STATUS: Scan FAILED
ERROR: Archive Physical Validation Failed.

The AC_STORAGE ac_config variable path do not have proper permissions:

drwxr-xr-x   2 root     root      4096 Aug 24 08:18 arc_ifmx

Or even, when trying to use archecker '-d' flag to clean old temporary directories CHUNK_BM, INFO and SAVE with wrong permissions:

dr--r----- 2 root     informix    4096 Aug 17 14:44 CHUNK_BM
dr--r----- 2 root     informix    4096 Aug 24 08:11 INFO
dr--r----- 2 root     informix   20480 Aug 24 08:11 SAVE

Resolving the problem

Fix the AC_STORAGE path permissions properly.

STEPS

1. Add Read/Write/Execution permissions to others in the AC_STORAGE destination path directory:

$ chmod o+rwx arc_ifmx

or

$ chmod 777 arc_ifmx

2. Permissions should look like this:

$ ls -ltr
drw-rw-rwx   5 root     root      4096 Sep 26 08:03 arc_ifmx

Críticas são bem-vindas.
Abraços pessoal.
FFO

quinta-feira, 5 de julho de 2012

Novo Technote de HPL finalmente publicado!!!!

Pessoal,
a versao final do technote que estava escrevendo sobre processos de migracao utilizando o HPL como ferramenta de carga e descarga (http://the-information-x.blogspot.com.br/2012/04/novo-artigo-technotedevworks-sobre.html), ficou pronta, foi aprovada e publicada, veja no link abaixo:
http://www.ibm.com/support/docview.wss?uid=swg21587169

Setting up High-Performance Loader (HPL) in the Informix command line.

Technote (FAQ)


Question

How do I set up the High-Performance Loader (HPL) Informix utility?

Cause

Informix DBAs and System Administrators usually find HPL a little bit tricky, due to its own shared memory management engine and specific command line instructions to handle the load and unload jobs control.
This document gathers a compilation of useful links and ease-of-use instructions to quickly set HPL ready to run.

Answer

Eventually, some may find the GUI option the best path, but this document intends to prepare the reader to set HPL in just a few steps, thru the command line interface.

1. First of all, you should choose a table to create the HPL job (and the onpload database):

  $ onpladm create job j_items -d "items.unl" -D stores -t items

   Successfully created Job j_items

    where:
    As soon as the first job is created, the onpload database is created too, if is doens't exist already.
    If it does exist, you should rename it so it won't cause any trouble.

2. To execute the j_items job as an unload job, just issue the command below, using the -fu flag:

   $ onpload -j j_items -fu -l items.log -i 100000 -R $PWD/a

    where:

3. To use the same job as a load job, just issue the command below, changing the -fu flag by the -fl flag:

   $ onpload -j j_items -fl -l items.log -i 100000 -R $PWD/a

4. Obviously, no one would use HPL facility to unload/load a single table. The sections bellow show some SQL queries to generate the onpload commands for each table. You can use the DBAccess utility to execute these commands.

Don't forget to change the <dbname> variable for your database name, i.e.: stores_demo.
    select tabname from systables where tabid > 99 and tabtype = "T" into temp a;
    output to hpl_create_job.sh without headings
    select "onpladm create job job_"||trim(tabname)||" -d '/tmp/"||trim(tabname)||".unl' -D <dbname> -t "||trim(tabname) from a    
    select tabname from systables where tabid > 99 and tabtype = "T" into temp a;
    output to hpl_create_job_delux.sh without headings
    select "onpladm create job job_"||trim(tabname)||" -d '/tmp/"||trim(tabname)||".unl' -D <dbname> -t "||trim(tabname)||" -fc" from a    

For all the tables that has BLOB columns only Deluxe Mode can be used.

5. When all the shell scripts are done, you can clean them up, avoiding line feeds and weird characters which may cause a failure at execution time.

Follows attached, two scripts that might be used as cleaning tools:
    a. Use this tool to remove line feeds, name it join.sh:
      :join
      /\\$/{N
      s/\\\n/ /
      b join
      }

    b. Use this tool to remove blank lines, name it del_blank.sh:
      sed '/^$/d' $1
      Here's an example on its use:

      cat hpl_load_job.sh | sed -f join.sh > zz
      sh del_blank.sh zz > zzz
      mv zzz hpl_create_job.sh

And the final hpl_create_job.sh script is clean.

4. One important notice that should be taken care of is the following HPL environment variables:
  Criticas e sugestoes sao aceitas (e rating positivo tambem...rs!!)
Espero que gostem.

Abracos,
Fernando [FFO]

sexta-feira, 18 de maio de 2012

ATENÇÃO!!! Informix 11.10 End-Of-Suport on September 30,2012 !!!

Pessoal,
atenção para a data de encerramento do suporte IBM para a versão 11.10 do Informix:
http://www-01.ibm.com/support/docview.wss?uid=swg21593581&myns=swgimgmt&mynp=OCSSGU8G&mync=E

Abstract

Informix 11.10 enters End of Support status starting September 30, 2012

Content


The end of support date for Informix 11.10 products is rapidly approaching. Effective September 30, 2012, IBM will withdraw support from the Informix 11.10 product releases. 


E o link para o upgrade para a última versão disponível: 11.70

http://www-01.ibm.com/software/data/informix/upgrade/


Abraços,
Fernando

quarta-feira, 2 de maio de 2012

NEW! Best practices and technical papers to help customers learn about and use DB2 V10 features

Pessoal,
a equipe da IBM do Canadá nos enviou uma série de novos documentos para compartilhar com os clientes sobre as features do DB2 10:

Best practices: Storage optimization with deep compression (Authors: Thomas Fanghaenel and Bill Minor)
http://www.ibm.com/developerworks/data/bestpractices/deepcompression/index.html

Best practices: A practical guide to implementing row and column access control (Author: Walid Rjaibi)
http://www.ibm.com/developerworks/data/bestpractices/rcac/index.html

Best Practices: Temporal data management with DB2 (Author: Matthias Nicola)
http://www.ibm.com/developerworks/data/bestpractices/temporal/index.html

DB2 V10.1 Multi-temperature data management recommendations (Authors: Jim Seeger, Karen McCulloch, Naresh Chainani, Kiran Chinta, Aruna De Silva, Vincent Kulandai Samy, and Tom Hart)
http://www.ibm.com/developerworks/data/library/long/dm-1205multitemp/index.html

DB2 V10.1 Query performance enhancements (Author: David Sky)
http://www.ibm.com/developerworks/data/library/long/dm-1205db210performance/index.html

Boa leitura!
FFO

segunda-feira, 9 de abril de 2012

IBM vende familia U2 (UniVerse & UniData) para a Rocket Software Inc.

Pessoal,
a noticia parece desatualizada, mas acreditem: muitos clientes ainda me perguntam sobre a familia U2.
Sendo assim, estou postando apenas para constar: U2 foi vendido para a Rocket em 1 de Outubro de 2009.

Ao tentar suporte pelo Support Central Site ou acessar a homepage do U2 na www-01, você já é direcionado para o site da Rocket e uma mensagem alerta:

Notice: You are now leaving the IBM Web site, and connecting to the Rocket Software, Inc. site. Rocket acquired the IBM UniVerse and UniData (U2) product line on October 1, 2009. All future information regarding the U2 products will be available from Rocket. Please refer to the Rocket website www.rocketsoftware.com/u2/.

Para quem não sabe o U2 (uma alusão aos nomes dos dois produtos: UniVerse e UniData) foi o resultado da fusão em 1997 entre a VMark (dona do UniVerse) e a UniData que resultou na então Ardent Software, uma compania com tecnologia focada no emergente mercado de ferramentas ETL. Em 2000, a Ardent foi adquirida pela Informix, e o U2 passou a fazer parte da divisão de banco de dados da empresa. Mais tarde, em Abril de 2001, com a compra da divisão de banco de dados da Informix pela IBM, uma nova empresa surgia com os produtos restantes da fusão de 1997: a Ascential Software, que em Abril de 2005 finalmente seria comprada pela IBM para incorporar a familia InfoSphere.

Noticias na mídia:
IBM to Sell U2 Database Business to Rocket Software
http://www.itjungle.com/tfh/tfh092109-story03.html

IBM Sells U2 to Rocket Software
http://www.dbta.com/Articles/Editorial/News-Flashes/IBM-Sells-U2-to-Rocket-Software-56290.aspx

Rocket Software acquires U2
http://www.u2uk.com/41.html

IBM Sells U2 Product to Rocket Software
http://www.superinfoinc.com/rocket-buys-u2-productline

Oracle Taps HyperRoll, IBM Sells U2 Databases
http://www.informationweek.com/news/software/info_management/228901203

Rocket U2
http://en.wikipedia.org/wiki/Rocket_U2

Fernando.

Novas features do DB2 10

Pessoal,
eis algumas das principais características do novo DB2 10, possívelmente sobre as quais falaremos nos futuros posts do blog:

    * Adaptive Compression - os recursos e algoritmos de compactação já entregues nas versões 9.1, 9.5 e 9.7 foram aprimorados e onde antes tinhamos compressão de tabelas em torno de 7x agora a versão 10 promete a compressão na casa de 10x para suas maiores tabelas;
    * Time Travel Query - recurso que mantêm versões históricas das linhas da tabela para que você possa consultar de qualquer tempo no passado. Com as chamadas "tabelas temporais" você pode até consultar dados que só serão válidos no futuro. Um grande aumento na produtividade para clientes que necessitam de versões de dados sem ter que construir toda uma lógica através de scripts em suas próprias aplicações e batch jobs;
    * Recursos de segurança - controle de acesso e suporte multiusuário a nível de linha e coluna, simplifica o acesso aos dados e mascara dados reais de produção de usuários que não devem acessar valores das colunas;
    * Novas features focadas em performance de bases warehouse - novos tipos de join, novos tipos de acessos a índices, paralelismo melhorado, e muito mais. Melhor desempenho em jobs de carga em bases warehouse;
    * Multi Temperature data management - criação de storage groups e migração de dados com base em políticas de negócios para gerenciar de  forma mais eficaz os custos de armazenamento e expectativas de desempenho de seus usuários finais;
    * Gerenciamento de carga aprimorada, não só para gerenciar as cargas de trabalho com base em quem está acessando os dados, mas também que tipo de dados estão sendo acessados. Dados mais acessados podem ter maior prioridade e uma fatia maior de recursos de sistema, se necessário;
    * Alta velocidade de carga contínua de dados é um fator crítico de sucesso para bases warehouse e o DB2 10 oferece mais recursos nesta área;

Video que mostra o depoimento de um dos maiores clientes da IBM: ouça o que a Coca-Cola Bottling tem a dizer sobre o dinheiro que já economizou e os ganhos de desempenho que eles tiveram mudando para o DB2.

http://www.youtube.com/watch?feature=player_embedded&v=qma5TMpxtCY

Fonte: http://www.ibm.com/developerworks/data/library/techarticle/dm-1204whatsnewdb210/index.html?ca=drs-

FFO

quarta-feira, 4 de abril de 2012

*** LANÇAMENTO MUNDIAL DB2 10

Pessoal,
a IBM lançou finalmente a versão oficial do DB2 10. Veja a cobertura (em inglês) na IBM Data Management Magazine:


http://ibmdatamag.com/2012/04/hyper-speed-and-time-travel-are-db2-realities/

Vou postar (assim que tiver tempo) novidades sobre a versão nova.
 [ ]'s
FFO

segunda-feira, 2 de abril de 2012

Novo artigo (Technote/DevWorks) sobre migrações usando HPL.

Pessoal,
conforme havia prometido, material técnico sobre HPL, e que esta em revisão para virar um Technote, ou
se tudo der certo um artigo na DeveloperWorks Area. Esse material é um apanhado de experiências pessoais minhas em migrações de clientes. Agradeço o apoio nas informações enviadas pelo Carlos Eduardo Boccio e Dirceu Tirado, ambos especialistas Informix da Porto Seguro.

O material é rico em detalhes, e focado em ambientes grandes, que se beneficiam do poder de processamento do HPL.

Easely setting up High-Performance Loader (aka HPL) in the command line.


Technote (FAQ)


Question

How to set the High-Performance Loader utility.

Cause

Users (Informix DBAs and System Administrators) usually intend to find HPL a little bit tricky, due to its own shared memory management engine and specific command line instructions to handle the load and unload jobs control.
This document gathers a compilation of useful links and ease-of-use instructions to quickly set HPL ready to run.

Answer

Eventually, some may find the GUI option the best path, but this document intends to prepare the reader to set HPL in just a few steps, thru the command line interface.

1. First of all, you should choose a table to create the HPL job (and the onpload database):

  $ onpladm create job j_items -d "items.unl" -D stores -t items

   Successfully created Job j_items

    where: As soon as the first job is created, the onpload database is created too, if it doesn't exist already. If it does exist, you should rename it so it won't cause any trouble.

2. To execute the j_items job as an unload job, just issue the command below, using the -fu flag:

   $ onpload -j j_items -fu -l items.log -i 100000 -R $PWD/a
    where:

3. To use the same job as a load job, just issue the command below, changing the -fu flag by the -fl flag:

   $ onpload -j j_items -fl -l items.log -i 100000 -R $PWD/a

Obviously, no one would use HPL facility to unload/load a single table. The sections bellow show some SQL queries to generate the onpload commands for each table. You can use the DBAccess utility to execute these commands.

Don't forget to change the <dbname> variable for your database name, i.e.: stores_demo.
    select tabname from systables where tabid > 99 and tabtype = "T" into temp a; output to hpl_create_job.sh without headings select "onpladm create job job_"||trim(tabname)||" -d '/tmp/"||trim(tabname)||".unl' -D <dbname> -t "||trim(tabname) from a    
    select tabname from systables where tabid > 99 and tabtype = "T" into temp a; output to hpl_create_job_delux.sh without headings select "onpladm create job job_"||trim(tabname)||" -d '/tmp/"||trim(tabname)||".unl' -D <dbname> -t "||trim(tabname)||" -fc" from a    

For all the tables that has BLOB columns only Deluxe Mode can be used.

When all the shell scripts are done, you can clean them up, avoiding line feeds and weird characters which may cause a failure at execution time.

Follows attached, two scripts that might be used as cleaning tools:

a. Use this tool to remove line feeds, name it join.sh:

:join
/\\$/{N
s/\\\n/ /
b join
}

b. Use this tool to remove blank lines, name it del_blank.sh:

sed '/^$/d' $1

Here's an example on its use:

cat hpl_load_job.sh | sed -f join.sh > zz
sh del_blank.sh zz > zzz
mv zzz hpl_create_job.sh

And the final hpl_create_job.sh script is clean.

Related information

John Carlson's document on HPL usage
Environment variables needed for HPL proper execution
HPL tuning tips
Appendix B link. High-Performance Loader configuration 


Vou corrigindo o conteúdo antes da publicação oficial.
FFO

IBM Cloud Computing Social Media Residency, TI-2003-R01

Pessoal,
nova residencia em Raleigh/Carolina do Norte, para Smart Cloud Computing:
http://publib-b.boulder.ibm.com/residents.nsf/IntNumber/TI-2003-R01?OpenDocument

[ ]'s
Fernando