There's no single "last rebuilt" timestamp sitting in Oracle's data dictionary. Instead, you infer the rebuild date from evidence the database does preserve: the index's creation time, its current object number, statistics collection history, and—most directly—the LAST_DDL_TIME value that moves whenever the index is rebuilt with ALTER INDEX ... REBUILD. The exact method depends on what you mean by "rebuild date" and how much history your site retains. If the index was recreated rather than rebuilt, or if it was rebuilt online, some of these signals update while others don't, so checking two or three sources and comparing them is the practical way to a defensible answer.

This matters more than it might seem. Index rebuilds are routine maintenance, but they also happen as side effects of partition operations, MOVE commands, and statistics-driven workflows. When performance changes or a plan regresses, the first question is often "when did this index last change?" Getting that date wrong—or trusting a single view—leads to chasing the wrong cause. The four paths below run from fastest to most thorough, and each one has a clear success check.

Start with the data dictionary: LAST_DDL_TIME on DBA_INDEXES

The fastest answer comes from the index's own metadata. Oracle records a DDL timestamp for every object, and for an index this value updates when the index is rebuilt, recreated, or altered in a way that counts as DDL.

Run this as a user with DBA privileges (or substitute ALL_INDEXES and add an owner filter if you have narrower access):

Prerequisite: you know the index name, or at least the table it belongs to. If you only know the table, filter on table_name instead and scan the result set.

What you get: CREATED is the timestamp of the index's original creation. LAST_DDL_TIME is the timestamp of the most recent DDL change to the object. For a straightforward ALTER INDEX ... REBUILD, these two values are the same thing: the rebuild replaces the index segment and stamps new DDL time. So LAST_DDL_TIME is your answer in the common case.

The catch: LAST_DDL_TIME is a blunt instrument. It also moves when you change storage attributes, rename the index, or rebuild a single partition of a partitioned index. It does not distinguish a full rebuild from a trivial ALTER INDEX ... SHRINK SPACE or a COALESCE. And it never moves for operations Oracle classifies as DML rather than DDL—which is why the next two paths exist.

Success check: confirm the timestamp makes sense against your change records. A LAST_DDL_TIME that predates the index's CREATED value is impossible, and one that equals CREATED usually means the index has never been rebuilt since creation.

Distinguish a rebuild from a recreate and from a partition rebuild

The dictionary path gives you a date, but the date's meaning depends on how the index was last changed, and three cases behave differently.

Full rebuild. ALTER INDEX ... REBUILD drops the old segment and builds a new one, then updates LAST_DDL_TIME to the rebuild time. Simple and clean.

Recreate. If someone did DROP INDEX followed by CREATE INDEX, the index is a brand-new object with a new OBJECT_ID, a fresh CREATED timestamp, and LAST_DDL_TIME equal to CREATED. The old rebuild history is gone—the current object never existed before that moment.

Partition rebuild. For a partitioned index, ALTER INDEX ... REBUILD PARTITION p2026_q3 updates the global LAST_DDL_TIME but leaves the individual partition's own metadata untouched in DBA_IND_PARTITIONS. If you need the date of the last partition-level rebuild, query the partitions:

LAST_ANALYZED here records when statistics were last gathered for that partition, not when it was rebuilt—but in many shops the rebuild and the statistics collection happen in the same maintenance window, so the two dates usually align. Treat that as a correlation to verify, not a guarantee.

Online rebuilds. ALTER INDEX ... REBUILD ONLINE allows DML during the operation and updates LAST_DDL_TIME the same way a standard rebuild does. The timestamp is still reliable; what changes is the duration and the locking behavior, not the detectable date.

Success check: if LAST_DDL_TIME equals CREATED, the index has most likely been recreated (or never rebuilt). If the two differ, the index has been rebuilt or altered in place. If you need partition-level dates, the partition view is the only place to get them.

When the dictionary date is ambiguous, trace statistics history

LAST_DDL_TIME tells you when but not what or why. Oracle's statistics history fills in the gaps, and for sites using Automatic Workload Repository (AWR) or Automatic Maintenance Tasks (the nightly auto-stats job), it can tell you whether the change was a structural rebuild or just a statistics refresh.

Statistics history (DBA_TAB_STATS_HISTORY and, for indexes, the associated history views) records when statistics were last collected. A rebuild doesn't automatically trigger statistics collection—you often do it afterward—so a statistics timestamp shortly after a LAST_DDL_TIME is a strong signal that the rebuild and the stats gather were part of one maintenance step. Note that the retention window matters: statistics history is kept only as long as your STATISTICS_LEVEL and retention settings allow, typically a few weeks, so this source may not reach far enough back.

AWR and DBA_HIST views are more powerful if your site licenses the Diagnostic and Tuning packs. DBA_HIST_SEG_STAT tracks segment-level changes such as space allocation and physical reads, and a large jump in segment size or a discontinuity in reads often coincides with a rebuild. The signal is indirect, but it lets you date a change that the dictionary has already overwritten.

DBA_OBJECTS as a cross-check. Because DBA_INDEXES and DBA_OBJECTS are different views of the same underlying metadata, you should get consistent results:

If OBJECT_ID changed between two snapshots separated in time, the index was recreated. If OBJECT_ID stayed the same but LAST_DDL_TIME moved, it was rebuilt or altered in place. That distinction is often more valuable than the timestamp itself.

Success check: a statistics-history timestamp within the same maintenance window as LAST_DDL_TIME, plus a stable OBJECT_ID, confirms an in-place rebuild. A changed OBJECT_ID confirms a recreate. If neither view has records old enough, the dictionary is your only evidence.

Audit trails and DDL triggers: the only direct proof

Every path above is inference from preserved metadata. If your organization needs direct evidence—an actual record that an index rebuild ran, not a timestamp that could mean several things—you need to have captured it at the time.

Unified Auditing (the default auditing framework in recent Oracle versions) can log DDL statements. If DDL auditing is enabled for the relevant objects or schemas, the UNIFIED_AUDIT_TRAIL view records the statement text, the user, and the timestamp. Filtering for ALTER INDEX against the index name gives you a dated, attributable record. The catch is that many environments audit only some DDL or none at all, so this path exists only if auditing was configured before the rebuild happened. You can't enable it retrospectively and see the past.

DDL triggers offer the same benefit at the schema or database level: a trigger on ALTER that writes a row to a custom audit table captures every rebuild from the moment it's created. This is a common pattern in shops that need a rebuild history and don't want to rely on the data dictionary.

GPS / Unified Audit / Fine-Grained Audit terminology varies by version, so confirm which framework your database uses before you plan around it. And note the honest limitation: if no audit trail or DDL trigger was in place when the rebuild ran, the direct record does not exist. A specific stop condition: if the dictionary timestamp, statistics history, and AWR all fail to give you a date that matches your change records, and you need a definitive answer for a compliance or forensic purpose, that's a question for your DBA team and change-management records rather than something the database can reconstruct—don't assume a plugin or script can recover what was never logged.

Success check: an audit row whose statement text names the index and whose timestamp matches the LAST_DDL_TIME. That's direct corroboration, and it settles the ambiguity that the earlier paths leave open.

A dependable workflow in practice

Here's the sequence I'd follow when someone asks me to find an index rebuild date.

1: Query DBA_INDEXES for owner, index_name, created, and last_ddl_time. This is your primary answer. Note both timestamps. 2: Compare created and last_ddl_time. If they're equal, the index was either created and never rebuilt or dropped and recreated. If they differ, it was rebuilt or altered. 3: Check DBA_OBJECTS for object_id. If you can compare against an older snapshot, a changed ID confirms a recreate; an unchanged ID with a moved LAST_DDL_TIME confirms an in-place rebuild. 4: For partitioned indexes, query DBA_IND_PARTITIONS to see per-partition last_analyzed values and align them with your maintenance windows. 5: Cross-reference statistics history if the retention window reaches the date. A stats gather within the same window corroborates a rebuild. 6: Look for an audit trail or DDL trigger if you need direct proof. If none exists, say so plainly—that's a legitimate limitation, not a failure of the query.

Expect step one to take seconds and answer the question in most cases. Expect steps three through six to be what you use when the answer has to withstand scrutiny, such as a post-incident review or a change-audit finding.

Why the date is hard to pin down

It's worth being clear about why Oracle doesn't just store "last rebuilt" as a first-class field. An index rebuild is one of several operations that replace or rewrite index segments, and the data dictionary records object-level DDL time, not operation history. That design keeps metadata small and fast; the trade-off is that you get a timestamp, not a narrative.

Two practical consequences follow. First, a rebuild and a COALESCE or SHRINK SPACE can both move the same timestamp, so LAST_DDL_TIME alone won't tell you which happened. Second, any change that touches the object through DDL—renaming, moving tablespaces, modifying storage—moves the same value. The timestamp is accurate about when the last DDL occurred, which is exactly why checking the nature of the change (via partition views, object IDs, or audit records) is what turns a date into an answer.

There's also a version consideration. In Oracle 12c and later, the data dictionary is exposed through both the legacy DBA_* views and the newer CDB_* views; in a multitenant database, query CDB_INDEXES from the root if the index belongs to a pluggable database and you don't want to log in to each container. The column names are the same, but the owner/container filters differ, so confirm which view your account can read.

For sites heavily automated around statistics, the auto-stats maintenance window is a useful anchor: rebuilds are often scheduled just before the nightly gather, so a rebuild timestamp five to ten minutes before the stats timestamp is a recognizable pattern. That's a heuristic, not a rule, but it makes a raw dictionary timestamp far more interpretable.

Finally, keep the query itself in a script and its output in a log. A LAST_DDL_TIME that changes between two runs of the same script is, by itself, a dated record that something changed—and for most shops that's the rebuild history they never realized they already had.

The four paths answer different versions of the same question, so the right one depends on what you need. For a quick check, DBA_INDEXES.LAST_DDL_TIME is the answer. For an in-place-versus-recreated distinction, DBA_OBJECTS and partition views are the evidence. For direct proof, you need an audit trail or DDL trigger set up in advance. Match the method to the rigor the question demands, and state the limitation when the evidence stops short.