Skip to content
Octo × Geodatabase PT Request an assessment

Octo for geodatabases and data quality

The state tree, pruned every night. The administrator decides.

The Esri geodatabase is administered almost entirely through ArcPy: creating, upgrading, reconciling and posting versions, compressing, reindexing, validating topology and attribute rules. With read access to the database and the extracts, Octo can build the nightly routine with a report and alert, diagnose the health of an enterprise geodatabase and audit the quality of a cadastral database, all prepared for human review. System tables are not changed through SQL, and publishing to production, edit conflicts and topology exceptions stay with whoever administers the database.

State tree of a versioned geodatabase, with the DEFAULT version trunk and two branches of edit versions; a compress arrow leads to the pruned tree; from the center, Octo takes the numbers to a before-and-after table and to a list of outstanding items per owner STATE TREE DEFAULT EDICAO_ANA OBRA_42 STATE 0 A123 D123 RECONCILE · POST · COMPRESS BEFORE × AFTER STATES A/D DELTA ROWS CONNECTIONS RELEASED OUTSTANDING 12 7 0 PER OWNER propy.bat manutencao_noturna.py --executar OCTO × GEODATABASE MAINTENANCE A-03
ArcGIS Pro3.7released May 14, 2026 (Esri lifecycle)
New databases in Pro 3.7PG 18.1and SQL Server 2025
Sources16listed at the end of the page
01

What Octo does in the geodatabase.

Six possible deliverables, drawn from the survey. All of them start from reading the database or an extract; anything that changes data or schema runs only on the geodatabase administrator's order.

Nightly routine with a report

Can write the routine for reconcile, post, compress, index rebuilding and statistics updates, with a dry run first, guaranteed release of connections and a snapshot of states and delta tables before and after.

Deliverable: schedulable script + report and alert

Health assessment

Can measure through read-only SQL the state tree, the versions holding back the compress, lineage depth, the A/D delta tables and the statistics, and add the Diagnose Version Tables log.

Deliverable: report with recommendations by severity

Quality audit

Can validate topology and attribute rules on a copy of the database, add cadastral business rules in Python and assign outstanding items by department and owner, with the coordinates of each one.

Deliverable: list of outstanding items per team

Creation and upgrade by script

Can prepare the creation of the enterprise geodatabase (Oracle, PostgreSQL, SQL Server) and the upgrade with a prerequisites check the day before, with the list of what changes and what needs a backup.

Deliverable: creation or upgrade runbook

Versioning explained

Can compare traditional and branch versioning for your workflows (direct connection, service, utility network, parcel fabric) and show what changes in the maintenance of each.

Deliverable: comparison for the administrator's decision

Database record

Can document the geodatabase version, registered datasets, attribute rules, topologies and the routine in force, and compare staging and production schemas with Esri's schema reports.

Deliverable: schema and routine record
02

Eight arms, one geodatabase.

The same Octo cycle, applied to the geodatabase. Each arm has a narrow role; publishing, editing the official database and resolving conflicts belong to the administrator and the cadastral team.

  1. Discovery

    Identifies the database

    Geodatabase type, DBMS and version, geodatabase version, traditional or branch versioning, registered datasets, topologies, attribute rules and what already runs at night.

  2. Data

    Reads the structure

    System tables read-only, actual columns in the installed version, delta tables by registration_id, spatial types (ST_Geometry or PostGIS) and versioned views.

  3. Security

    Respects the connection and the data

    An administrator .sde file is a credential. Cadastral databases usually hold personal data (LGPD) and utility networks may be critical infrastructure: sending anything to an external service, including AI, is assessed with the client first.

  4. Architecture

    Picks the path

    Read-only SQL when measuring is enough; Esri tools when something must change; a copy or extract to validate; never write SQL against a geodatabase table.

  5. Development

    Writes the script

    Prepares routine, assessment and audit in ArcPy and SQL, with a dry run by default, guaranteed release of connections and the Esri page for each call noted in the file.

  6. Review

    Checks in staging

    Before production, runs on a copy or in staging and checks by the numbers: states before and after, delta rows, number of outstanding items against a known sample.

  7. Release

    Delivers to the decision-maker

    Only with your OK, the routine goes into the scheduler of the environment the client approved. Running in production, reconcile, compress and version deletion stay with the geodatabase administrator.

  8. Documentation

    Records what holds in your database

    Geodatabase version, routine in force, calibrated thresholds, accepted rules and exceptions. The next job starts from this record, and a script for one database is not assumed ready for another.

Octo does not edit the official database, publish to production or decide edit conflicts or topology exceptions. That belongs to the geodatabase administrator and the cadastral team.

03

Each task, its path.

The criteria Octo uses to choose. Esri tools remain the only way to change the geodatabase; SQL is for reading.

TaskPathNote
Creating an enterprise geodatabaseCreate Enterprise Geodatabase (Oracle, PostgreSQL, SQL Server)ArcGIS Server keycodes; PostGIS requires a database created by hand
Upgrading the geodatabase versionUpgrade Geodatabase, with the prerequisites check firstBackup; treat as irreversible
Nightly maintenance (traditional)AcceptConnections, DisconnectUser, Reconcile Versions, Compress, Rebuild Indexes, Analyze DatasetsWith a dry run and a before-and-after report
Maintenance with branch versioningReconcile Versions via the service URL; Prune Branch HistoryCompress does not apply
Geodatabase healthRead-only SQL + Diagnose Version TablesRead-only
Cadastral qualityValidate Topology, Export Topology Errors, Evaluate Rules + rules in PythonOn a copy of the database
Reading versioned data through SQLVersioned viewThe base table alone does not show the edits
Writing through SQLNot recommendedEsri warns it can corrupt the geodatabase; the administrator's decision
Comparing schemasGenerate Schema Report and Compare SchemaHTML report since ArcGIS Pro 3.6
04

From assessment to routine.

Three steps. Each one only makes sense after the previous one has shown results in your database.

A proposal, not a promise

1 Today

On-demand assessment

With read access, you ask in administrator terms and Octo measures and explains.

  • “Why doesn't compress reduce the states?” becomes a list of the versions and connections holding the tree
  • Delta tables and statistics measured through read-only SQL
  • Comparison of traditional and branch versioning for your workflows
Benefit: decisions based on numbers, not impressions
2 Next

Routine with a report

Nightly maintenance now runs with a dry run, report and alert, and the quality audit with each extract.

  • One line in the morning: states and delta rows before and after
  • Alert when the tree does not shrink or the reconcile reports a conflict
  • Quality items assigned by team
Benefit: the team reads the result, without opening the database
3 Later

Database monitoring

The report history shows the database trend and prepares upgrades and schema changes.

  • Health compared month by month
  • Quality queue with numbers and owners
  • Upgrade prepared with a prerequisites check and schema comparison
Benefit: the database is documented and predictable
05

Confirmed by source.

Each point below has a source published by the vendor, the project or the responsible agency. The sources are in the next section.

4

points with a published source, each with its reference alongside.

ConfirmedMaintenance order
Esri recommends reconciling and posting, deleting unnecessary versions, compressing, rebuilding indexes and updating statistics, and says the routine can run every night by script. The official AcceptConnections example chains blocking, disconnecting, reconciling and posting, compressing and releasing.Source: Administer a traditional version; AcceptConnections
ConfirmedCompress and branch versioning
Compress only runs as the geodatabase administrator, does not apply to branch versioning and does not allow deleted records to be recovered afterward. In branch versioning, Reconcile Versions takes the feature service URL, not an .sde file.Source: Compress and Reconcile Versions pages (ArcGIS Pro)
ConfirmedSystem tables and SQL
System tables are not changed by anything other than ArcGIS; reading through SQL is allowed. Data with traditional versioning is edited only through the versioned view, and data with branch versioning is not edited through SQL.Source: system tables in PostgreSQL; ArcSDESQLExecute class
ConfirmedVersions and databases
ArcGIS Pro 3.7, released May 14, 2026, added support for PostgreSQL 18.1 and SQL Server 2025. Create Enterprise Geodatabase supports Oracle, PostgreSQL and SQL Server.Source: What's new in ArcGIS Pro 3.7; ArcGIS Pro lifecycle; Create Enterprise Geodatabase
06

What Octo does and what stays with you.

Octo prepares everything, but does not sign. The document of record stays with whoever is accountable for it.

Octo prepares

Gathers, calculates, organizes and produces the documents: spreadsheets, reports, maps and drafts.

Deliverable: material ready for review

Your team reviews

The licensed professional reviews what Octo delivered before signing. If something doesn't add up, it goes back to Octo with the correction.

Step: review by whoever signs

Who signs

Octo does not sign. Designs, technical reports, ART/RRT, accountability reports and any official document are still signed by the licensed professional at the company or agency: here, the professional of record for the map or survey.

Signature: professional of record for the map or survey
07

Sources.

Esri documentation used in the research, accessed October 29, 2026.

Your database, measured before anything changes.

The assessment starts with read access to the database or an extract, without touching the official database. You get the numbers and a proposal for what can be automated in maintenance and quality, and decide with it in hand.