Sybase iAnywhere SQL AAnywhere Mobile and Embedded Database

I'd rather play golf


Thoughts on data management, autonomic computing, and self-managing database systems.

header image

Self-healing statistics in SQL Anywhere 12

May 12th, 2010 · 1 Comment

SQL Anywhere has offered autonomic, self-managing statistics collection since 1992 [1]. In SQL Anywhere 12, we are going one step further with the introduction of a “statistics governor” that makes SQL Anywhere column histograms both self-monitoring and self-healing. Self-healing statistics management in SQL Anywhere 12 includes the: recording and categorization of selectivity estimation errors in [...]

[Read more →]

Tags: Database Administration · Query optimization · Self-managing database systems · SQL Anywhere

Query performance problem determination in Version 9.0.2

November 26th, 2009 · 1 Comment

In SQL Anywhere Version 10 we introduced Application Profiling, a set of graphical tools that could not only assist DBAs to diagnose performance problems but could also recommend solutions to common performance problems discovered during the analysis. Included in Application Profiling is a (cheap) mechanism to capture queries (and their access plans) that consume a [...]

[Read more →]

Tags: DBA Administration Tools · SQL Anywhere

Holistic approaches to query performance analysis

November 2nd, 2009 · Comments Off

Despite our efforts at making relational database systems such as SQL Anywhere self-managing, self-tuning, and self-healing, there remains the need to be able to diagnose and repair performance problems. In part, this requirement is due to the overall complexity of the optimization task. Query optimization is – still – an NP-hard problem and the input [...]

[Read more →]

Tags: Cost models · Database Administration · DBA Administration Tools · Self-managing database systems · SQL Anywhere

Is SQL a failed abstraction?

August 27th, 2009 · 2 Comments

At June’s 2009 ACM SIGMOD Conference, Surajit Chaudhuri of Microsoft Research presented a thought-provoking paper [1] entitled “Query Optimizers: Time to Rethink the Contract?”. Here is the abstract: Query Optimization is expected to produce good execution plans for complex queries while taking relatively small optimization time. Moreover, it is expected to pick the execution plans [...]

[Read more →]

Tags: Alternative query languages · Query optimization · Self-managing database systems · SQL Anywhere · SQL Standard

Using regular expressions with SQL Anywhere

June 26th, 2009 · 3 Comments

SQL Anywhere version 11.0.0 introduced support for search conditions that include regular expression searching. There are two variants of regular expression search predicates that one can use, each with their own semantics: SIMILAR TO and REGEXP. SIMILAR TO The SIMILAR TO predicate is part of the 2008 ANSI/ISO SQL standard. However, the draft of the [...]

[Read more →]

Tags: Query optimization · SQL Anywhere · SQL Standard

Sybase iAnywhere at SIGMOD 2009

June 18th, 2009 · Comments Off

ACM SIGMOD 2009 is being held in Providence, Rhode Island from June 29 through July 2. The conference program is online and this year’s sessions look particularly interesting. Alas I will not, unfortunately, be able to attend. However, Anil Goel and Ani Nica of my staff will be at SIGMOD. In particular, Ani will be [...]

[Read more →]

Tags: Join enumeration techniques · Query optimization · SQL Anywhere

DBTEST 2009 Workshop program is finalized

June 4th, 2009 · Comments Off

Yesterday the workshop’s PC co-chair, Carsten Binnig, posted the forthcoming DBTEST 2009 workshop program. This second DBTEST workshop is co-located with the 2009 ACM SIGMOD Conference, which will be held in Providence, Rhode Island later this month. Registration for both the workshop and the complete conference is now open. The workshop comprises talks of the [...]

[Read more →]

Tags: Cost models · Performance measurement · Query optimization

Query processing challenges with Object-Relational Mapping toolkits

May 17th, 2009 · 1 Comment

Object-relational mapping toolkits such as Hibernate/NHibernate, LINQ, and others permit one to develop object-oriented database applications in the paradigm offered by the object-oriented language (Java, C#, C++) and workaround the issues of the impedance mismatch between the application’s abstractions and the persistent relational store. My colleague Jason Hinsperger has written previously regarding the additional complexity [...]

[Read more →]

Tags: Database interfaces and persistent objects · Hibernate · LINQ · Query optimization

Materialized view terminology

May 1st, 2009 · 5 Comments

Every so often we encounter a situation where a prospective customer asks whether or not SQL Anywhere offers support for materialized views – or, more commonly, supports “materialized views” by another name. Below is a list of synonyms for materialized views across different commercial RDBMS products: DBMS Terminology When How Who MS SQL Server Indexed [...]

[Read more →]

Tags: SQL Anywhere

The Window operator and window aggregate functions

March 31st, 2009 · 1 Comment

OLAP (On-Line Analytical Processing) functions were first published as an addendum to the ISO SQL:1999 standard, and since have been completely incorporated into both the SQL:2003 and the recently-published SQL:2008 ISO SQL Standards. SQL Anywhere has included OLAP functionality since the 9.0.1 release (February 2004), which comprises grammar and query processing support for: GROUP BY [...]

[Read more →]

Tags: Query optimization · Semantic rewrite optimizations · SQL Anywhere · SQL Standard