Yes—in Greenplum Database, the default storage model for a newly created heap table is row-oriented, but the default append-optimized storage type, when AO storage is chosen, is column-oriented. The precise answer depends on which “default” you mean: ordinary CREATE TABLE without a storage clause produces a row-oriented heap table; explicitly requesting append-optimized storage without specifying orientation yields a column-oriented table. The phrase “columnar by default” is therefore a common oversimplification that is true for AO tables but false for the bare CREATE TABLE case.
What “Default” Means in Greenplum’s Storage Model
Greenplum (the open-source massively parallel PostgreSQL derivative, and its commercial siblings such as VMware Tanzu Greenplum and, historically, Pivotal Greenplum) inherits PostgreSQL’s heap table as its baseline. A plain CREATE TABLE sales (...) creates a heap table, and heap tables in Greenplum are row-oriented. That is the literal default: no storage clause, no append-optimized layout, rows stored together.
Separately, Greenplum offers append-optimized (AO) storage, designed for bulk load and analytical scans. AO tables come in two orientations: row-oriented (AO_ROWS) and column-oriented (AO_COLUMNS). The Greenplum CREATE TABLE syntax lets you specify WITH (appendoptimized=true, orientation=column) or orientation=row. When you set appendoptimized=true but omit orientation, the documented behavior is that orientation defaults to column. So the “columnar by default” claim is accurate only within the narrower frame of “if you ask for append-optimized storage and say nothing about orientation.”
The confusion is entirely understandable: Greenplum is marketed as an analytical, column-store-capable MPP database, and most guidance for analytics recommends AO column tables. People hear “columnar” and assume it is the universal default. It is not.
The Three Practical Cases
| Statement you write | Resulting storage |
|---|---|
| CREATE TABLE t (...) | Heap, row-oriented (PostgreSQL-style default) |
| CREATE TABLE t (...) WITH (appendoptimized=true) | Append-optimized, column-oriented |
| CREATE TABLE t (...) WITH (appendoptimized=true, orientation=row) | Append-optimized, row-oriented |
A fourth case, specifying orientation=column without appendoptimized=true, is not a valid way to get a column table; column orientation is a property of append-optimized storage, not of heap storage. In Greenplum, column storage is tied to AO. So “columnar” and “append-optimized column” are effectively the same thing in practice.
This three-way split is the crux of the answer. If someone asks “is Greenplum columnar by default?” the honest reply is: “Not for ordinary tables; yes for append-optimized tables when orientation is unspecified.” Anything shorter misleads.
Why the Distinction Matters Operationally
The storage model is not cosmetic. It changes how data is written, updated, vacuumed, and read.
Heap row tables support efficient single-row INSERT, UPDATE, and DELETE, and they participate in PostgreSQL-style MVCC with free-space reuse. They are the right choice for OLTP-like workloads, small dimension tables, and tables subject to frequent row-level changes.
AO column tables store each column’s values contiguously, which lets analytical queries read only the columns they need and apply compression effectively. They are optimized for large scans, wide tables where queries touch a subset of columns, and bulk-loaded fact tables. The trade-off is that row-level updates and deletes are handled differently—Greenplum’s AO tables historically did not support ordinary UPDATE/DELETE in the same way as heap tables; visibility is tracked separately, and maintenance differs. (Exact capabilities vary by Greenplum major version; some later releases broadened AO update support. Check the documentation for your specific version rather than assuming.)
Compression is another lever tied to AO storage. Column-oriented AO tables commonly use compression such as zstd or zlib, with the compression applied per column block. A heap row table does not get this columnar compression benefit. So choosing AO column versus heap row is a genuine architectural decision, not a syntax nicety.
A Concrete Example
Suppose an analyst writes:
This is a heap, row-oriented table. A query like SELECT region, sum(amount) FROM fact_orders GROUP BY region must read entire rows across all columns, because the row layout interleaves every column. That is wasteful when order_id and customer_id are irrelevant to the query.
Now consider:
Here the table is append-optimized and column-oriented. The same aggregation can read only region and amount column data, and compression may shrink the on-disk footprint. If the analyst had written only WITH (appendoptimized=true) and omitted orientation, Greenplum would have produced a column table anyway—this is the sense in which “AO defaults to column” is true.
Conversely, a small lookup table such as CREATE TABLE dim_region (region_id int PRIMARY KEY, region text) is best left as the default heap row table, because it is small, frequently joined, and may receive row-level changes. Making it AO column would not help and could complicate maintenance.
Where the Ambiguity Comes From
Three sources generate most of the confusion.
First, the word “default” is overloaded. Database documentation uses “default” both for the implicit behavior of a bare statement and for the implicit value of a parameter within an explicitly chosen mode. Greenplum’s documentation states that for AO tables the default orientation is column; that is a parameter default, not a table-creation default.
Second, Greenplum is frequently described in contrast to PostgreSQL as “the columnar MPP database,” which is a positioning statement about its analytical capabilities, not a statement about the storage of every table.
Third, Hadoop-era and cloud-warehouse comparisons encourage the assumption that an analytical database must be columnar everywhere. Greenplum’s hybrid model—heap rows plus AO rows plus AO columns—is more flexible than that assumption allows.
There is also a version nuance. Greenplum evolved from the older “append-only” terminology to “append-optimized,” and syntax like appendonly=true appears in older documentation while appendoptimized=true appears in newer documentation. Some releases accept both. The orientation-default behavior (column when unspecified) has been the long-standing documented behavior for AO tables, but exact syntax and feature support, including which orientations and compression options are available, should be confirmed against the documentation for your installed Greenplum version. Without a version specified, the safest statement is the principle: heap = row; AO with unspecified orientation = column.
What the Answer Does Not Tell You
“Is it columnar by default?” does not tell you whether you should rely on that default. In practice, explicit is better than implicit. Writing orientation=column when you want a column table, and orientation=row when you want an AO row table, makes intent readable and protects against configuration or version differences. Relying on an implicit orientation default in production DDL is a small but real maintainability risk: a future reader cannot tell whether the omission was deliberate.
Nor does the default tell you about partitioning, distribution keys, or compression—all separate decisions that materially affect performance. A column table with a poor distribution key can perform worse than a well-designed row table. Storage orientation is one axis among several.
Summary of the Distinction
The claim “Greenplum is columnar by default” is half-true and therefore misleading as a standalone statement. Greenplum’s table default is row-oriented heap storage. Greenplum’s append-optimized default orientation is column. The correct one-sentence answer names both facts, because the question “is it columnar by default?” cannot be answered with a single yes or no without specifying which default is meant. If you are creating analytical fact tables and intend to use AO storage, the orientation will indeed default to column; if you are creating any table without a storage clause, you will get a row-oriented heap table.