Deutsch   |   English
   
 digg.com  del.icio.us 

EXAplus Usage

SQL-Commands in EXAplus 

SQL-Commands have to be closed with a semi-colon in EXAplus.
 
Commands for creating of functions and packages (create or replace <function|package|package body>) may contain semi-colons. These commands have to be closed in EXAplus with a line containing a single „/“.

Start EXAplus in background

When I start EXAplus using nohup, it goes into [stopped] mode. How can I start EXAplus in the background?

The problem with NOHUP is well known and is caused by a conflict between the terminal and a call in EXAplus.

As workaround you can put EXAplus with the help of the program 'setsid' in its own session or use 'screen' to start EXAplus in background:

  1. > nohup setsid exaplus <params>

Useful commands

Eine Nachricht ausgeben

  1. prompt Message;
  2.  

Print out execution time after each command

  1. SET timing ON;

Avoiding of line breaks in output

  1. SET linesize 20000;

Using of EXAplus variable

  1. DEFINE tab=tabelle;
  2. DEFINE col=spalte;
  3. SELECT &tab..&col AS &col.1 FROM &tab;
  4.  
  5. -- executed command:
  6. -- SELECT tabelle.spalte AS spalte1 FROM tabelle;
  7.  

&var will be substituted with the variable value "var". An after variable name following dot "." will be considered as a separator between the variable name and following text. As shown in the example, if you need a dot after the variable, you have to put two dots after each other. The first one will be considered as a separator and will be removed.

These define variables are a feature of EXAplus. Therefore the substitution will be done bei EXAplus before sending of the command to EXASolution. Define variables cannot be used via other interfaces f.e. ODBC.

Switch off additional output

You may want to process EXAplus output further. In such case it is usefull to be able to switch off all the additional output, e.g. header, etc. If you start EXAplus as a console application, use the -q switch to disable EXAplus output at the program start.

Following commandos help you to format the output for further processing:

  1. SET heading OFF;
  2. SET feedback OFF;
  3. SET linesize 2000000;

Comments with help of DEFINE

  1. define nodebug=--
  2. &nodebug SELECT COUNT(*) FROM ergebnis;

You may want to have some sort of debug output in your script and be able to simply switch it off.

Every line starting with &nodebug will be commented out through simply setting of nodebug to --.  If you set "define nodebug=", no lines will be commented out. 

Are you stuck?
Learn from the experts:
References
  • AHOOLY
  • COOP
  • “With EXASolution, we are best prepared for future data growth. The fact that we can now process geodata – that is to say, also evaluate the dimension of the spatial reference – means that we can offer our customers brand new analysis options and even more comprehensive market overviews. We are very satisfied with the new solution. We can react flexibly to future demands but still reduce our total cost of ownership as the selected BI stack fully supports our vision of a ‘lean BI’.”

    Guido Niermann, Head of IT, Dataforce GmbH

    Dataforce
  • "By integrating EXASOL we can offer our customers a whole new experience in explorative data analysis… Besides the technical aspects we were also extremely pleased with the pre-sales advice and support during the integration." 

    Martin Heink
    CEO and owner, econda 

    Econda
  •  

     

     

     
     

    IMS
  • "With EXASOL’s innovative database we are able to perform complex analyses more precisely and with a larger amount of data. Thus we have a significant technological lead over our competitors." 

    Tobias Kiessling
    CTO, intelliAd 

    Intelliad
  • "The continuously high performance and the possibility to run real-time-analyses were the decisive factors for us when chosing EXASolution." 

    Tobias Kroha, CEO, seto GmbH (m-pathy-project)

     

    m-pathy
  • Media Control
  • Olympus
  • "We chose EXASolution because of its high performance; it offers optimal flexibility and handles our increasing amount of data very well." 

    Dr Michael Röbbecke
    (former) CEO, RatePAY 

    RatePAY
  • "With EXASolution we can considerably optimise our business processes."

    Gerhard Zapf
    Project Leader, Semikron 

    Semikron
  • "Reliable and quick support, excellent customer care and proven expertise…"

    David Hodge
    IT Director, Sony Music Entertainment Germany 

    Sony Music
  • SOQUERO
  • SponsorPay
  • Stayfriends
  • "EXASOL’s database is technology made in Germany on which we can count on in the long term. As it is self-scaling and physically expandible, the database grows with our company, and we are able to react to new requirements flexibly and quickly also in the future." 

    Heinrich Zetlmayer
    CEO, Turtle Entertainment 

    Turtle Entertainment
  • United Internet Dialog
  • "With EXASolution, we have acquired a database solution that ideally meets the high standards we demand of complex analyses on increasing volumes of data for our customers." 

    Christian Sauer
    CEO, Webtrekk 

    Webtrekk
  • "We chose the solution from EXASOL after an extensive benchmark test. The high performance of the system, the price/performance relationship and the service had us completely convinced." 

    Dr Ulrich Fricke
    Head of Business Intelligence, XING 

    Xing
  • "Efficiency, speed, high performance and flexibility were the determing criteria when chosing our database… The new database offers us scalability with reduced total cost of ownership. Thus also in the future we are able to perform optimal analyses for our customers…" 

    Sebastian Hoop
    Head of Operations, xplosion interactive
     

    Xplosion
  • Zalando