Pages

Google Ads

Showing posts sorted by relevance for query postgreSQL. Sort by date Show all posts
Showing posts sorted by relevance for query postgreSQL. Sort by date Show all posts

Friday, November 16, 2012

Comunidade Brasileira de PostgreSQL

Amigo leitor,

Desde que começei a escrever o meu blog tenho postado algumas coisas sobre o banco de dados PostgreSQL, mas hoje resolvi postar algumas coisas sobre a Comunidade PostgreSQL.

Antes de mais nada, preciso dizer que sou fã deste banco de dados e felizmente tenho utilizado esse super produto em sistemas OLTP e OLAP.

Ainda estou aprendendo muitas coisas, mas posso dizer que gosto muito de usar o PostgreSQL como DW (Data Warehouse) para projetos de BI Open Source.

Para ler meus posts sobre PostgreSQL utilize o link abaixo:

http://blog.professorcoruja.com/search?q=postgreSQL

Alguns blogs que são interessantes:

http://postgresqlbr.blogspot.com.br/

http://postgreslogia.wordpress.com/

http://planeta.postgresql.org.br/

Abaixo compartilho um trecho do texto extraído do link: http://www.postgresql.org.br/participe

Comunidade PostgreSQL Brasil

A comunidade PostgreSQL brasileira é composta por usuários, desenvolvedores e administradores de banco de dados.

Lista de discussão

pgbr-geral: onde você pode debater sobre PostgreSQL, enviar dúvidas e sugestões.
pgbr-dev: onde é discutido sobre a Organização da Comunidade PostgreSQL Brasileira.
Leia as regras da lista de discussão.

Wiki
Acesse o nosso wiki e adicione sua contribuição!

Planeta
Você tem um blog e costuma postar assuntos sobre Postgres? Ajude o Planeta PostgreSQL crescer!

IRC
O canal oficial da comunidade PostgreSQL brasileira é o #postgresql-br na Freenode (irc.freenode.net).

Internacional
Para aqueles que falam inglês também, a comunidade internacional é rica em documentação. Existem diversas listas de discussão separadas por finalidades e um canal de IRC oficial na Freenode, o #postgresql.

Saturday, May 30, 2009

This error usually means that PostgreSQL's request for a shared memory segment

Bom dia amigo leitor,

Fiz o update do meu laptop com ubuntu 8.10 (64bits) para a nova versão 9.04 (64 bits) do Ubuntu e o PostgreSQL 8.3 parou de funcionar exibindo a seguinte mensagem de erro:

Extraído do meu shell script.

root@coruja-mobile:/home/caio# /etc/init.d/postgresql-8.3 start
* Starting PostgreSQL 8.3 database server * The PostgreSQL server failed to start. Please check the log output:
2009-05-30 08:23:14 BRT LOG: could not load root certificate file "root.crt": no SSL error reported
2009-05-30 08:23:14 BRT DETAIL: Will not verify client certificates.
2009-05-30 08:23:14 BRT FATAL: could not create shared memory segment: Invalid argument
2009-05-30 08:23:14 BRT DETAIL: Failed system call was shmget(key=5432001, size=39288832, 03600).
2009-05-30 08:23:14 BRT HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 39288832 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 103).
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
[fail]
root@coruja-mobile:/home/caio#

Como resolver?

Muito simples abaixo segue os passos:

Edite o arquivo /etc/postgresql/8.3/main/postgresql.conf

Eu gosto de utilizar o Jed, mas tanto faz podem utilizar o famoso vi

root@coruja-mobile:/home/caio# jed /etc/postgresql/8.3/main/postgresql.conf

Procure pelo parametro shared_buffers e altere o valor da variável de 32MB para 26MB.

# - Memory -

shared_buffers = 26MB # min 128kB or max_connections*16kB
# (change requires restart)


Depois de salvo, reinicie o PostgreSQL

root@coruja-mobile:/home/caio# /etc/init.d/postgresql-8.3 start
* Starting PostgreSQL 8.3 database server [ OK ]

Pronto funcionou!!!

Saturday, December 06, 2008

Installing PostgreSQL and PGAdminIII on Ubuntu Server or Desktop

PostgreSQL is a good open source database so you probably would like to install it on your Ubuntu Server or Desktop.

Folow the steps and enjoy it:

$ sudo apt-get install postgresql postgresql-client postgresql-contrib
$ sudo apt-get install pgadmin3

This installs the database server/client, some extra utility scripts and the pgAdmin GUI application for working with the database.

Now we need to reset the password for the ‘postgres’ admin account for the server, so we can use this for all of the system administration tasks. Type the following at the command-line (substitute in the password you want to use for your administrator account):

$ sudo su postgres -c psql template1
template1=# ALTER USER postgres WITH PASSWORD 'password';
template1=# \q

That alters the password for within the database, now we need to do the same for the unix user ‘postgres’:

$ sudo passwd -d postgres
$ sudo su postgres -c passwd

Now enter the same password that you used previously.

Then, from here on in we can use both pgAdmin and command-line access (as the postgres user) to run the database server. But before you jump into pgAdmin we should set-up the PostgreSQL admin pack that enables better logging and monitoring within pgAdmin. Run the following at the command-line:

$ sudo su postgres -c psql < /usr/share/postgresql/8.2/contrib/adminpack.sql

Finally, we need to open up the server so that we can access and use it remotely - unless you only want to access the database on the local machine. To do this, first, we need to edit the postgresql.conf file:

$ sudo gedit /etc/postgresql/8.2/main/postgresql.conf

Now, to edit a couple of lines in the ‘Connections and Authentication’ section…

Change the line:

#listen_addresses = 'localhost'

to

listen_addresses = '*'

and also change the line:

#password_encryption = on

to

password_encryption = on

Then save the file and close gedit.

Now for the final step, we must define who can access the server. This is all done using the pg_hba.conf file.

$ sudo gedit /etc/postgresql/8.2/main/pg_hba.conf

Comment out, or delete the current contents of the file, then add this text to the bottom of the file:

# DO NOT DISABLE!
# If you change this first entry you will need to make sure that the
# database
# super user can access the database using some other method.
# Noninteractive
# access to all databases is required during automatic maintenance
# (autovacuum, daily cronjob, replication, and similar tasks).
#
# Database administrative login by UNIX sockets
local all postgres ident sameuser
# TYPE DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5

# Connections for all PCs on the subnet
#
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
host all all [ip address] [subnet mask] md5

and in the last line, add in your subnet mask (i.e. 255.255.255.0) and the IP address of the machine that you would like to access your server (i.e. 138.250.192.115). However, if you would like to enable access to a range of IP addresses, just substitute the last number for a zero and all machines within that range will be allowed access (i.e. 138.250.192.0 would allow all machines with an IP address 138.250.192.x to use the database server).

That’s it, now all you have to do is restart the server:

$ sudo /etc/init.d/postgresql-8.2 restart

Thursday, January 22, 2009

Palestra PostgreSQL @ Campus Party 2009

Infelizmente acabei não percebendo que estava tendo uma palestra sobre PostgreSQL aqui na Campus Party, mas fui lá falar com o Palestrante que me passou o site Portal do Desenvolvedor.

Neste site tem algumas apresentações interessantes sobre PostgreSQL.

Aprenda a Instalar um Elefante Chamado PostgreSQL
Oficina realizada no Conisli 2008 Mostra de maneira facíl a compilação do banco de dados PostgreSQL, aborta também o quanto é importante definir alguns padrões. Configuração de variaveis de ambiente e muito mais...
De acordo com o Palestrante chamado Rodrigo Marins (Consultor de PostgreSQL) alguns projetos grandes estão sendo desenvolvidos com o Banco de Dados PostgreSQL, ele citou o exemplo do Metro de São Paulo, Exercito Brasileiro, Caixa Economica, etc.

Um outro rapaz também presente na discussão citou o case do Skype que utiliza o PostgreSQL em alguns projetos.

De acordo com o Rodrigo, o PostgreSQL não deixa nada a desejar ao Oracle, inclusive informou que muitas empresas estão migrando para o PostgreSQL.

Friday, May 16, 2008

Tutoriais Gratuitos

Pessoal,

Faz um tempo que acompanho o Blog http://todobi.blogspot.com/ gosto muito de tudo que leio nesse blog e eles tem uma sessão de tutoriais, nada mais do que uma lista de endereços de tutoriais espalhados na WEB, resolvi copiar e colocar aqui para vocês amigos leitores.

Vale lembrar que a grande maioria eu nunca nem visitei, nem abri, nunca li...

São eles:

Business Intelligence-DW:

Tutoriales de código: La solución Business Intelligence Smart Tag - Abcdatos
Data Warehousing - Abcdatos
Data Warehouse - Características - El prisma
Data Warehouse - Manual para la Construcción - El prisma
Data Warehousing - El prisma
El Data Mining - Abcdatos
Minería de Datos - Introducción - El prisma
Servicios OLAP - Emagister
Data WareHouse - Sqlmax


Bases de Datos:

Tutorial de Bases de datos - Atenea
Manuales de Bases de Datos - Abcdatos
Modelo relacional - La web del programador
Apuntes de bases de datos - La web del programador
Sistemas de Información - La web del programador
Tutorial de SQL - Desarrolloweb
Tutorial de Bases de Datos - La web del programador
Manual de Visual Fox Pro - Emagister
Curso de Visual Fox Pro - Emagister
Curso de Visual FoxPro - Parte 2 (Para principiantes) - Emagister
Curso de Visual FoxPro - Parte 3 (Para principiantes) - Emagister
Guía didáctica de bases de datos en Internet - La web del programador
Curso de Bases de Datos - La web del programador
Teoría de Bases de Datos - La web del programador
Introducción a las bases de datos - La web del programador
Manual básico de SQL DB2 - La web del programador
Principios de diseño de bases de datos - Abcdatos
Introducción a los conceptos de Bases de Datos - La web del programador
Curso de Gestión de Bases de Datos: SQL Server y Access - La web del programador
Arquitecturas de sistemas de Bases de Datos - La web del programador
Curso de bases de datos - La web del programador


PostgreSQL:

Curso de Bases de Datos y PostgreSQL - La web del programador
PostgreSQL 8.0 en Windows - Adictos al trabajo
Manual del usuario de PostgreSQL - La web del programador
Introducción a PostgreSQL - La web del programador
Tutorial de PostgreSQL - La web del programador
PostgreSQL Práctico - La web del programador
Guía de referencia de PostGreSQL - La web del programador
Tutorial de Tecnicas de Uso de PostgreSQL - La web del programador





CRM:

Administración de la Relación con el Cliente (CRM) - Conocimientosweb
Lo que necesitas saber acerca de CRM - Conocimientosweb
Administración de las relaciones con el cliente (CRM) - Conocimientosweb
Artículos estadísticos - Conocimientosweb
CRM - Conocimientosweb
CRM, en la Organización - Conocimientosweb
Manual para Contacto CRM - Conocimientosweb
Vendiendo más y mejor… entendiendo CRM en la práctica - Conocimientosweb
¿Qué es la filosofía CRM? - Conocimientosweb
Desmenuzando la estrategia orientada al cliente - Conocimientosweb
Después del ERP - Conocimientosweb
Entendiendo CRM en la práctica. - Manualesnet
El mercado, el cliente y la distribución - Conocimientosweb
Evolucionando de CRM a eCRM - Conocimientosweb
Metodología para la gestión de las relaciones. - Manualesnet
Las realidades del CRM. - Manualesnet
CRM - Costumer Relationship Management - El prisma
CRM - Ejemplo Práctico - El prisma
CRM - Definición - El prisma
Marketing Relacional - Introducción - El prisma
Fidelización de Clientes - Emagister
crm: Tres Estrategias de éxito - Emagister
Las tres fases del crm - Emagister
crm: la nueva filosofía empresarial centrada en el cliente - Emagister
Gestión del cambio - Conocimientosweb
Interactividad: pilar fundamental de la estrategia CRM - Conocimientosweb
La importancia de las bases de datos para el CRM - Conocimientosweb
Las cuatro P del Matketing y CRM - Conocimientosweb
Las Realidades del CRM - Conocimientosweb
Las tres fases del CRM - Conocimientosweb
CRM: Bibliografía recomendada - Adictos al trabajo
CRM: CONCLUSIONES Y RECOMENDACIONES - Adictos al trabajo
CRM: DESARROLLO DEL PROTOTIPO DE eCRM - Adictos al trabajo
CRM: MODELO Y HERRAMIENTAS PARA DESARROLLO DE SOLUCIONES CRM - Adictos al trabajo
CRM: INTEGRACIÓN DE CRM Y E – BUSINESS - Adictos al trabajo
CRM: E–BUSINESS Y LOS NEGOCIOS EN LÍNEA - Adictos al trabajo
CRM: GESTIÓN DE LAS RELACIONES CON CLIENTES - Adictos al trabajo
CRM: Indice de Trabajo de CRM - Adictos al trabajo
La visión estratégica de la Información de un Web - Adictos al trabajo



Oracle:


Data Warehousing con Discoverer - LWP
Curso de Oracle 9i - LWP
Estructuras de Oracle - LWP
Tutorial de Oracle Reports 10g - Emagister
Oracle Security - Emagister
Oracle Basico - Emagister
Módulos Menú en Oracle Forms - Emagister
Introducción a Oracle - LWP
Creacion de una base de datos - Oracle - Emagister
Instalación de Oracle8i - Adictos al trabajo
Curso de PL-SQL - LWP
Curso de iniciación a Oracle - LWP
Introducción a la administración de Oracle - Emagister
Administración de Oracle - LWP
Oracle Designer 2000 and Developer 2000 - Emagister
Tutorial de administración de bases de datos - Emagister
Iniciación a Oracle - LWP
Introducción a la administración de Oracle - LWP
Manual sobre Oracle - LWP


MySQL:



Tutorial básico de MySQL - LWP
Modelado de MySQL con herramientas gratuitas - Adictos al trabajo
Tutorial de MySql - LWP
Imágenes en Base datos y Java - Adictos al trabajo
Índices y optimización de consultas - LWP
Tutorial básico de MySQL - I - Abcdatos
Tutorial básico de MySQL - II - Abcdatos
Modelado Gráfico de MySQL - Adictos al trabajo
Taller de MySQL - Desarrolloweb
Programación de aplicaciones MySQL con C - LWP
Integridad referencial en MySQL - LWP
MySql en Windows - Adictos al trabajo
Administracion Web de MySQL - Adictos al trabajo
Instalación de MYSQL 5 en Windows (I) - Abcdatos
Apache, MySQL y PHP - Adictos al trabajo
Tutorial de SQL - Abcdatos
Aplicaciones web con Tomcat y MySQL en Linux - Abcdatos
Manual de MySQL - LWP
Mysql++ a C++ API for Mysql manual - LWP
MySQL Reference Manual - LWP
Investigación sobre MySQL - LWP


SQL Server:

SQL Server - Abcdatos
Analysis Services de SQL Server 2000 - Emagister
Manual de Referencia de SQL Server - Emagister
Funciones en SQL Server 2000 - Emagister
Professional SQL Server 2000 Programming - Emagister
Instalación y administración de SQL Server 2000 - Emagister
Sql Server - Descripción Del Entorno y Creación de Bases de Dato - Emagister
Cursores en SQL Server - Emagister
Acceder a Bases de Datos SQL Server - Emagister



Business Objects

Manual de instalaci e OLAP Intelligence XI - Support Business Objects
Mapa de documentos de los productos BusinessObjects XI - Support Business Objects
Tips & Tricks (eng) - Support Business Objects
Bo Tutorials (eng)


Cognos

Integracion de SAP y Cognos ITEVA Solutions
Lea la documentación técnica de Cognos acerca de la evolución del sistema - Cognos
(eng)
The Full Promise of Business Intelligence - Cognos
Seven Steps to Flawless Business Intelligence - Cognos
The Importance of Open Data - Cognos
Choosing a Standard for BI and Reporting - Cognos
Reporting & Dashboarding - Cognos
The Strategic Importance of OLAP and Multidimensional Analyis - Cognos
Data Integration - Cognos
Scorecarding - Cognos
Business Event Management - Cognos
Afrontar el reto del Corporate Performance Management - Lantares


Hyperion

Hyperion Metrics Builder Release 7.3 Configuration Tutorial - Hyperion
Persistent Connector to Hyperion Essbase - Persistensys


IBM

Curso Manual Tutorial - DB2 - IBM - Conocimientosweb
DB2 Universal Database (eng) - IBM


Microstrategy

Software de evaluacion con documentacion - Microstrategy


Siebel

formación para empresas curso configuración básica siebel crm a medida - Emagister

SPSS

Paquete Estadístico - Conceptos Básicos - El prisma

Saturday, May 30, 2009

Basic Install of PostgreSQL (Linux Ubuntu)

Hello folks,

Below there are a step by step explaining how to install PostgreSQL 8.3 on Linux Ubuntu.

Installing postgresql (8.3)
sudo apt-get install postgresql-8.3

Setting up the password for postgres’ postgres user

sudo -u postgres psql template1
ALTER USER postgres WITH PASSWORD 'your-password';
\q

Configure postgres’ authentication method :

sudo cp /etc/postgresql/8.3/main/pg_hba.conf /etc/postgresql/8.3/main/pg_hba.conf_bak
sudo vi /etc/postgresql/8.3/main/pg_hba.conf

Add the following at the bottom of the file

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD
host all all 127.0.0.1 255.255.255.0 password

Saturday, October 17, 2009

hibernate.cfg.xml ( oracle, mysql e postgresql)

Amigo leitor,

Segue abaixo algumas informações que podem ser úteis.

PostgreSQL

org.hibernate.dialect.PostgreSQLDialect
org.postgresql.Driver
jdbc:postgresql://localhost:5432/hibernate
usuario
senha

Oracle Express Edition

org.hibernate.dialect.OracleDialect
oracle.jdbc.OracleDriver
jdbc:oracle:thin:@localhost:1521:xe
usuario
senha

MySQL

com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/webservices
usuario
senha
org.hibernate.dialect.MySQLDialect

Monday, November 08, 2010

Melhore a performance de seus Cubos OLAP criando tabelas Agregadas no Pentaho usando o PAD (Pentaho Aggregation Designer)

Amigo leitor,

Um tempo atrás fiz a documentação "Melhore a performance de seus Cubos OLAP criando tabelas Agregadas no Pentaho" e gostaria de compartilhar.

Para acessar o link Google Docs desta documentação, clique aqui.


O que são tabelas agregadas?

Tabelas agregadas são tabelas sumarizadas que armazenam dados em níveis mais elevados do que quando foram inicialmente capturados e armazenados.


Por que eu preciso criar tabelas agregadas?

Cria-se tabelas agregadas com o objetivo de aumentar a performance de um cubo OLAP.

Como criar tabelas agregadas no Pentaho?

A forma mais fácil e rápida para se criar tabelas agregadas no Pentaho é utilizar o PAD (Pentaho Aggregation Designer).

O que é o PAD (Pentaho Aggregation Designer)?

Uma ferramenta gráfica desenvolvida em Java para a criação de tabelas agregadas.



Onde eu faço a descarga/download do PAD (Pentaho Aggregation Designer)?

Até o momento a versão mais recente e estável do PAD é a versão 1.2.0.

Para baixar, clique no link abaixo:

http://sourceforge.net/projects/mondrian/files/aggregation%20designer/1.2.0-stable/pad-ce-1.2.0-stable.tar.gz/download

Outras versões do PAD encontram-se no link abaixo:

http://sourceforge.net/projects/mondrian/files/

Como configurar o Mondrian para reconhecer as tabelas agregadas?

É necessário informar ao Mondrian OLAP Server que as tabelas agregadas existem, para isso adicione as linhas abaixo no arquivo Mondrian.properties localizado em pentaho-solutions\system\mondrian (BI Server 3.5)

mondrian.rolap.aggregates.Use=true
mondrian.rolap.aggregates.Read=true

Feito isso, reinicie o BI Server.

Como habilitar o log MDX e SQL no BI Server 3.5?

Quando uma consulta MDX é executada, o Mondrian transforma essa consulta MDX em uma consulta SQL. Em alguns casos você precisa de mais detalhes, como por exemplo saber se o Mondrian está usando as tabelas agregadas.

Para isso:

Edite o arquivo log4j.xml localizado na pasta \tomcat\webapps\pentaho\WEB-INF\classes

Descomente as linhas abaixo:





<!-- ========================================================= -->
<!-- Special Log File specifically for Mondrian -->
<!-- ========================================================= -->


<appender name="MONDRIAN" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="mondrian.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>

<category name="mondrian">
<priority value="DEBUG"/>
<appender-ref ref="MONDRIAN"/>
</category>



<!-- ========================================================= -->
<!-- Special Log File specifically for Mondrian MDX Statements -->
<!-- ========================================================= -->

<appender name="MDXLOG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="mondrian_mdx.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>

<category name="mondrian.mdx">
<priority value="DEBUG"/>
<appender-ref ref="MDXLOG"/>
</category>


<!-- ========================================================= -->
<!-- Special Log File specifically for Mondrian SQL Statements -->
<!-- ========================================================= -->


<appender name="SQLLOG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="mondrian_sql.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>

<category name="mondrian.sql">
<priority value="DEBUG"/>
<appender-ref ref="SQLLOG"/>
</category>





Se você quer que o SQL também seja mostrado, adicione a linha abaixo no arquivo mondrian.properties localizado no arquivo pentaho-solutions\system\mondrian

mondrian.rolap.generate.formatted.sql=true

Reinicie o servidor e procure pelos arquivos mondrian.log, mondrian_sql.log e mondrian_mdx.log na pasta /tomcat/bin.

Como analisar se a query realmente está sendo realizada no PostgreSQL?

Uma das formas é habilitar o log do PostgreSQL caso o seu DW (Data Warehouse) seja o PostgreSQL.
log_statement = all

Adicione a linha abaixo no arquivo postgresql.conf
log_statement = 'all' (linha provável: 354)

Reiniciar o posgres

Links relacionados

Sim, abaixo os links encontrados:

http://mondrian.pentaho.com/documentation/schema.php

http://sourceforge.net/projects/mondrian/files/

http://julianhyde.blogspot.com/2008/10/pentaho-20-brings-good-things.html

http://www.willgorman.com/?p=30

http://diethardsteiner.blogspot.com/2009/07/tutorial-aggregated-tables-for-mondrian_6998.html

Os textos abaixo em inglês foram extraídos do arquivo Pentaho_ce_aggregation_designer_UG_v1.0.pdf (Documentação da Pentaho sobre o PAD)

Pentaho Aggregation Designer Overview

The Pentaho Aggregation Designer simplifies the creation and deployment of aggregate tables that improve the performance of your Pentaho Analysis (Mondrian) OLAP cubes. Pentaho Analysis is a pure, relational OLAP engine that works solely with the data stored in your relational database rather than providing its own multidimensional data storage model. This simplifies deployment and data management, but places limitations on performance when working with very large data sets (fact tables with more than 10 million records and/or cubes with a high cardinality of levels and members). To improve performance in these scenarios, Pentaho Analysis supports aggregate tables. Aggregate tables coexist with the base fact table and contain pre-aggregated measures built from the fact table. This improves performance by enabling the Mondrian engine to fulfill certain summary level queries from the smaller aggregate table versus aggregating a large number of individual facts from the base fact table.


The Pentaho Aggregation Designer provides you with a simple interface that allows you to create

aggregate tables from levels within the dimensions you specify. Based on these selections, the

Aggregation Designer generates the Data Definition Language (DDL) for creating the aggregate

tables, the Data Manipulation Language (DML) for populating them, and an updated Mondrian

schema which references the new aggregate tables. If you are unfamiliar with aggregate table

design concepts, the Aggregation Designer also includes an intelligent adviser that evaluates the

structure and cardinality of your OLAP cube and recommends some initial aggregate tables to

create for improving performance.


PAD - Installation Instructions

The pad-open-1.0-xx.zip file contains all the libraries and script files necessary to run Pentaho
Aggregation Designer. To install the Pentaho Aggregation Designer, unzip this file into a directory of your choice.

To launch the Aggregation Designer on Windows...

Run the startaggregationdesigner.bat script located in the root of your installation directory.

To launch the Aggregation Designer on Linux...
Run the startaggregationdesigner.sh script located in the root of your installation directory.

CAUTION: Place your JDBC driver JARs in the Drivers directory. Once in this directory, the drivers are added to the classpath automatically when the Pentaho Aggregation Designer starts.