Skip to content

List of Ingres functions per release

Yesterday Ray Fan published an article that shows IMA queries that allow you to see the list of functions available for different Ingres releases. I’ve now taken these queries an generated a list of functions for Ingres 9.2.0 with the added functions for 9.3.0 and 10.0.0 (a recentish build). I’ve not looked at earlier releases as the SQL did not work with my 9.1.0 installation. When I get the time I’ll update the page going back to 9.0.4, or you could do the same :) .

  • Share/Bookmark

What BLOB tables do I have?

The following is SQL code was published in the #ingres IRC channel on freenode in response to a question about the best method to determine which iietab_xx_yy table belongs to which table:

select r1.relid as base_table,
       c.attname as column_name,
       r2.relid as extend_table
from iirelation r1,iirelation r2,iiattribute c,iiextended_relation e
where r1.reltid=e.etab_base and r2.reltid=e.etab_extension
  and r1.reltid=c.attrelid
  and c.attid=e.etab_attid
  and r1.reltidx=0
  and c.attrelidx=0
order by base_table,column_name

Running this against my demodb database I get the following:

┌────────────────────────────────┬────────────────────────────────┬────────────────────────────────┐
│base_table                      │column_name                     │extend_table                    │
├────────────────────────────────┼────────────────────────────────┼────────────────────────────────┤
│nclob                           │ntext                           │iietab_367_368                  │
│nclob2                          │ntext                           │iietab_369_36a                  │
│nclob2                          │ntext2                          │iietab_369_36b                  │
│nclob3                          │ntext                           │iietab_3c0_3c1                  │
│user_profile                    │up_image                        │iietab_f5_f6                    │
└────────────────────────────────┴────────────────────────────────┴────────────────────────────────┘
(5 rows)

Extending the above query we can also determine the size of each iietab_xx_yy table:

select r1.relid as base_table,
       c.attname as column_name,
       r2.relid as extend_table,
	   t.allocated_pages * float4(t.table_pagesize) / 1024 / 1024
       as megabytes
from iirelation r1, iirelation r2,
     iiattribute c, iiextended_relation e,
     iitables t
where r1.reltid=e.etab_base
  and r2.reltid=e.etab_extension
  and r1.reltid=c.attrelid
  and c.attid=e.etab_attid
  and r1.reltidx=0
  and c.attrelidx=0
  and t.table_reltid = e.etab_extension
  order by megabytes desc;

For example:

┌────────────────────────────────┬────────────────────────────────┬────────────────────────────────┬───────────┐
│base_table                      │column_name                     │extend_table                    │megabytes  │
├────────────────────────────────┼────────────────────────────────┼────────────────────────────────┼───────────┤
│nclob2                          │ntext2                          │iietab_369_36b                  │      1.258│
│nclob2                          │ntext                           │iietab_369_36a                  │      0.258│
│nclob                           │ntext                           │iietab_367_368                  │      0.258│
│nclob3                          │ntext                           │iietab_3c0_3c1                  │      0.258│
│user_profile                    │up_image                        │iietab_f5_f6                    │      0.258│
└────────────────────────────────┴────────────────────────────────┴────────────────────────────────┴───────────┘

Useful if you want to know how much space your BLOB/CLOB data is taking up. Thanks to Kristoff, Paul and Gerhard for working out the SQL.

Updated to recognize Kristoff Picards’ contribution

  • Share/Bookmark

UK IUA 2010 Call for Papers Now Open

It’s that time of the year again – the call for papers for the UK IUA June conference:

UK Ingres User Association Conference 2010
10th June 2010, London
www.iua.org.uk

Outlines or abstracts for presentations on Ingres, OpenROAD, open source, or any other Ingres-related topics are welcome. The theme for this year’s event is “Open Source Innovation” so any papers relating to Ingres and Open Source tools and products would be particularly welcome.

The UK IUA Committee invites anyone working with Ingres or OpenROAD, or related technologies to submit ideas for papers to be presented at this year’s annual conference. The conference will take place on 10th June 2010 in Central London (venue to be confirmed).

A sell-out crowd attended the high quality presentations at last year’s event, and with your assistance and contribution, we aim to make this year’s IUA Conference an even bigger success.

Outlines and abstracts can be submitted in any reasonable format (e.g. Word, plain text, Powerpoint, PDF, etc.). Please submit your ideas for papers via email to Ray Collins (ray.collins@iua.org.uk) by Monday, 12 April 2010 for evaluation by the conference paper selection committee. Note that you need only send an outline or proposal at this stage. You do not need to provide a complete presentation to be considered.

Notification of whether your paper has been selected or rejected will be sent by Friday 14 April 2010.

Topics we are particularly interested in hearing about this year:

  • VectorWise
  • Hardware and software consolidation, and virtualization
  • Applications developed with Open Source
  • Migrations to Open Source
  • Ingres Community Projects
  • Open Source economics
  • Management issues in Open Source
  • Productivity Tools
  • Security
  • Improving Performance

If you have any questions regarding this year’s 2010 Conference, the committee members are happy to assist. Please send all questions and queries to info@iua.org.uk.

Thank you to all who have supported the IUA by presenting at our previous Meetings, Special Events and the Annual Conference in the past, and for your continued interest and support of the UK IUA.

  • Share/Bookmark

Ingres Administration Tools Webcast

Later this week Roger Whitcomb will be hosting two webcasts exposing Ingres’ strategy for developing an administration tool for Ingres. The webcasts are scheduled for 7am and 4pm Pacific Standard Time on Thursday 11th Feburary. For information on joining the webcasts see the post in the Community Forums.

  • Share/Bookmark

Maven driver repository updated

Following on from my earlier post, a new JDBC driver has been published to our external Maven repository by Alan Raison. In the next 24 hours the updated driver will be propagated to the central Maven repostory. For more information about obtaining the Ingres JDBC driver using Maven see Alan’s original post.

  • Share/Bookmark

New Ingres Ruby driver and Rails adapter posted

It’s been a quiet few months here on the blog, however it’s been any but quiet in the office. Since my last update I’ve been busy updating the Ingres Ruby driver and Ruby on Rails adapter to support multiple connections as well as Rails/ActiveRecord 2.3.x (2.3.5 was released this week). For a complete run down of the changes made take a look at the CHANGELOG. See my forum post for more information regarding downloading the source or the pre-built binaries for Windows.

  • Share/Bookmark

Best Facebook Updates ever.


Posted via email from Idle thoughts

  • Share/Bookmark

Curso de Administración de BBDD Ingres – Madrid 14 de Diciembre

Nos complace anunciarles el próximo curso de Administración de Bases de Datos Ingres (Managing Ingres Installations and Databases – Ingres DBM), que dará comienzo el día 14 de diciembre en Madrid.

Este curso tiene una duración de 5 días, y permitirá, obtener los conocimientos necesarios para:

  • Crear, configurar y monitorizar su instalación Ingres
  • Entender las tareas vitales que tienen que realizarse para asegurar un funcionamiento eficiente de la instalación
  • Comprender los roles dentro de Ingres
  • Utilizar las herramientas de administración de la Base de Datos

El curso está orientado a aquellas personas responsables de la gestión de una instalación de Base de Datos Ingres bajo Linux, UNIX, VMS o Windows. Cubre todos los aspectos de planificación, instalación, configuración y ejecución diaria de su instalación Ingres. También cubre todos los aspectos relativos a la administración de la Base de Datos, incluyendo: gestión de objetos de la BBDD (tablas, índices, aplicaciones, etc), integridad de los datos, seguridad, backup y recovery, mantenimiento de tablas y optimización.

Pueden obtener más información en: http://www.ingres.com/services/course-IngresDBM.php

El curso será impartido por un experto formador de Ingres en idioma Inglés. El precio por asistente es de 2800 Eur.

Si están interesados en el curso, por favor, pónganse en contacto con Manuel Lopez (Manuel.Lopez@ingres.com o +34 619.29.07.44). Dese prisa y aproveche esta oportunidad: el plazo para apuntarse finaliza el próximo 13 de Noviembre, y las plazas son limitadas.

  • Share/Bookmark

Using Ingres with Grails via a Hibernate DAO

The following is a (rough) translation of a post by Fátima Casaú Pérez I picked up via twitter. To see the original post go to http://blogs.salenda.es/fatima_casau/2009/09/30/inyectar-un-datasource-ingres-en-grails/:

Recently I found the need to use a DAO data source based on an external library in my application. In fact a different data source from my application against which I needed to connect an Ingres database. First off it sounded quite difficult but in the end it was really easy to do.

The fact that it was Ingres and not another RDBMS such as Oracle or MySQL presented no problems. Not even if it’s going to be the database administration for the application. I’ve come across this sort of situation before and haven’t had any problems apart from some data-type incompatibilities, nothing serious.

It was no problem that I needed to use different data source in my application, Just give the source a different name and that’s it. How and where to install? I edited resources.xml adding the new data source and the bean that references the DAO, like so:

<!--- resources.xml -->
< ?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

    <bean id="dataSourceIngres">
        <property name="driverClassName" value="ca.ingres.jdbc.IngresDriver" />
        <property name="url" value="jdbc:ingres://DATABASE" />
        <property name="username" value="USERNAME" />
        <property name="password" value="PASSWORD" />
    </bean>

    <bean id="ingresDao" factory-method="getInstance">
       <property name="dataSource"><ref local="dataSourceIngres"/></property>
    </bean>
</beans>

After that you call getInstance() for the DAO in the application which in turn calls the corresponding method passing the necessary arguments.

—–

Editor’s note: Fátima is using the driver class ca.ingres.jdbc.IngresDriver and not com.ingres.jdbc.IngresDriver since the client is using Ingres 2.6.

  • Share/Bookmark

Alternative GPL License

Seen in Arroyo, Valladolid. Visto en Arroyo, Valladolid.

Posted via web from Idle thoughts

  • Share/Bookmark