openroad & ingres uk code sprint 2011 june 7 th, 2011
TRANSCRIPT
OpenROAD & Ingres UK Code Sprint 2011
June 7th, 2011
Confidential — © 2011 Ingres Corporation
Participants
Alex Hanshaw Chris Dawe Dean Vernon Doug Inkster Emma McGrattan Geraint Jones Henrik Sørensen Ian Kirkham James Lowden Karl Schendel Keith Bolam Roy Hann
Bodo Bergman Brigitte Duplenne Kim Ginnerup Joe Kronk Matt Rendell Roy Deal Simon Oliver Oyston
Oliver Oyston Roger Whitcomb Mark Whalley
Slide 2
Ingres DBMS OpenROAD
Management Tools
Service Desk Enhancement Request 150914
Check for empty database name before connecting to new database in Query tab
Complete
Slide 3
Service Desk Enhancement Request 118655
Change BgColor of ‘Database’ and ‘Table or View’ entry fields in the dialog titled ‘Select a Database Table’ to indicate that you can type into these fields.
Complete
Slide 4
Service Desk Enhancement Request 118656
Implement sorting by clicking on a ‘Table Selection:’ frame’s header column to order the rows in the display table. Please implement two levels of ordering.
Complete
Slide 5
Service Desk Enhancement Request 150994
When suggesting a string value for assignment to a variable in the debugger please enclose in single quotes
Complete
Slide 6
Service Desk Enhancement Request 123158
It would be nice to have an option like 'always on top' for the property inspector.
Complete
Slide 7
Service Desk Enhancement Request 116927
It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.
Complete
Slide 8
Service Desk Enhancement Request 116927
It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.
Complete
Slide 9
Service Desk Enhancement Request 116927
It should be possible to create a new application or component when right clicking in the applications or components pane. Currently the option 'new' is not available on the menus opened by right mouse click.
Complete
Slide 10
Confidential — © 2011 Ingres Corporation
Service Desk Enhancement Request 116925
When you click on the components pane and then click on the 'new' button, a popup for creating a new application gets opened.
Slide 11
Confidential — © 2011 Ingres Corporation
Service Desk Enhancement Request 116925
The customer expects to create a new component. Either the 'new' button should be dimmed, when the components pane is activated or when clicking the 'new' button you should get a list of possible components to create
Complete
Slide 12
Confidential — © 2011 Ingres Corporation
Unexpected Enhancement…
Slide 13
Confidential — © 2011 Ingres Corporation
Unexpected enhancement…
Slide 14
Confidential — © 2011 Ingres Corporation
Service Desk Enhancement Request 131097
When one class inherits from another it displays the defined attributes and methods in the class window with the application name ! in front of it. Can this display be suppressed.
Completed
Slide 15
Confidential — © 2011 Ingres Corporation
Smaller projects that require 3gl changes
Can you provide the developer with a list of running FrameExecs?
Can you provide a way to break out tight loops? Can you fix the runtime so that two level’s of property
options menu work properly on portlets? Can you provide a way to break out of tight in the 4gl by
allowing me to break the flow of 4GL instructions and stopping at that point in the debugger?
Slide 16
Confidential — © 2011 Ingres Corporation
Big projects that were worked on
Can you provide me with an intelli-sense editor? Can you upgrade my ABF application to OpenROAD and
allow some of the frames to be rendered in HTML using HTML5 communicating directly with my business logic in the OpenROAD Server?
Slide 17
Confidential — © 2011 Ingres Corporation
New Projects that were dreamed about
Allow the developer to view a single script that can be view as a processed script, a field script, or as a mixture of scripts with out the need to pick on style over another.
True multi dimensional arrays ( Filling contiguous block of memory
Slide 18
Confidential — © 2011 Ingres Corporation
Ingres DBMS Team Projects
Row value constructors
Multi-row inserts
Example
Slide 19
INSERT INTO Orders (OrderNo, ItemNo, Qty, UnitPrice) VALUES (1200, 23478, 10, 30.00),
(1200, 15453, 4, 23.00), (1200, 14545, 1, 89.00)
Confidential — © 2011 Ingres Corporation
Ingres DBMS Team Projects
Session start time and last recorded query start time in IIMONITOR
IMA object for query execution start time
II_GCD_LOG support for %p – the process id
alterdb –readonly | -readwrite
relocateckp - restore checkpoint to another database, potentially in another Ingres installation
Slide 20
Confidential — © 2011 Ingres Corporation
Ingres DBMS Team Projects
Ability to turn on SC924 via config.dat and to switch on a stackdump when it is triggered
Audit log maintenance script to prevent disk full problems
Infodb –database – display a list of databases
Fixed bug in QSF memory allocation for INGRES/STAR
Project D branch brought up to date
Slide 21
Confidential — © 2011 Ingres Corporation
Terminal Monitor Formatting Enhancements
Flag Description
\vert Display columns vertically
\redir <file> Redirect query output to specified file.
\colformat colname displayformat If column "colname" is selected, display it in the specified format.
\showcf Displays the user defined column formats.
Slide 22
Confidential — © 2011 Ingres Corporation
DECODE() function
Syntax:
decode( expression , search , result [, search , result]... [, default] )
expression is the value to compare.
search is the value that is compared against expression.
result is the value returned, if expression is equal to search.
default is optional. If no matches are found, the decode will return default. If default is omitted, then the decode statement will return null (if no matches are found).
Slide 23
Confidential — © 2011 Ingres Corporation
DECODE() Example
SELECT supplier_name, decode(supplier_id,10000, 'IBM', 10001, 'Microsoft', 10002, 'Hewlett Packard',
'Gateway') result FROM suppliers;
Slide 24
Confidential — © 2011 Ingres Corporation
REPEAT() function
Syntax:
repeat (expr,n)expr An expression that specifies the string to be
repeated.
n specifies the number of times to repeat the string.
Example:
REPEAT('REPEAT THIS', 5)'REPEAT THISREPEAT THISREPEAT THISREPEAT THISREPEAT THIS’
Synonym: replicate (expr,n)
Slide 25
Confidential — © 2011 Ingres Corporation
RAND() and SRAND()
rand([seed])– seed is an integer that gives the seed value. If seed is
not specified, it assigns a seed value at random. For a specified seed value, the result returned is always the same.
– Returns random float value between 0 and 1 srand(int)
– Sets the starting point for generating a series of pseudorandom values
Slide 26
Confidential — © 2011 Ingres Corporation
Management Tools
Port to RHEL 64-bit and OS/X completed
Nagios Agent updated to include 60 new Nagios Service Checks for VectorWise
Slide 27
Confidential — © 2011 Ingres Corporation
Thank You!
Slide 28