<img alt="" src="https://secure.intelligent-consortium.com/820374.png" style="display:none;">

Can TOP Server log directly to SQL without OPC Router?

Connor Mason
January 01, 1970

TOP Server does not write rows to a SQL database on its own; it serves tag data to a client, and that client does the logging. OPC Router is one such client, not the only one.

TL;DR

  • To log TOP Server to SQL without OPC Router, put another OPC client between them: Cogent DataHub, Dream Report, or a custom client.
  • TOP Server is the connectivity layer. It reads from devices and exposes tags over OPC; SQL writes happen downstream.
  • Cogent DataHub to SQL Server is the closest alternative to OPC Router for continuous logging.
  • Size the database for write volume before choosing a tool: 500 tags at 1 s is 43.2 million rows a day.

Can TOP Server log directly to SQL without OPC Router?

Short answer: the logging step needs a client, and that client does not have to be OPC Router. TOP Server's job is device connectivity, spanning 140+ drivers. It talks to PLCs and other devices, then presents the data as OPC tags. Something else subscribes to those tags and inserts them into SQL Server, PostgreSQL, or another database.

That split is deliberate. A connectivity layer that also owns database schemas, retry queues, and store-and-forward becomes a second product bolted onto the first. Keeping them separate means you can change the database without touching the device layer.

Before you design around this, confirm the current feature list for your TOP Server version on softwaretoolbox.com. Licensed options and plug-ins change between releases.

Why this matters in 2026

Plants in 2026 are asked to put production data in a relational database for reporting, traceability, and analytics. The common mistake is assuming the OPC server is the logger. Teams then discover the gap in commissioning, when the SQL table is empty and the schedule is tight.

The second mistake is picking a tool by name recognition. The right choice depends on three things: whether you need continuous logging or event-driven writes, whether the data needs transformation before it lands, and who maintains the pipeline after the integrator leaves.

Your options for logging TOP Server data to SQL in 2026

Every option below reads TOP Server tags as an OPC client. Pick by the job, not by the vendor.

OPC Router

  • Best for: Mapping, transforming, and routing data to SQL with a visual workflow
  • Main trade-off: Another product to license and maintain

Cogent DataHub

  • Best for: Continuous historian-style logging to SQL Server and bridging between systems
  • Main trade-off: Built around tag streams, not business-process workflows

Dream Report

  • Best for: Report-driven logging for compliance and shift reporting
  • Main trade-off: Aimed at reports, not general-purpose data pipelines

Custom OPC client

  • Best for: Narrow, fixed requirements where you own the code
  • Main trade-off: You own error handling, reconnects, and buffering

SCADA or HMI historian

  • Best for: Plants that already run a SCADA package with database logging
  • Main trade-off: Ties logging to the SCADA project and its licensing

Cogent DataHub: the closest alternative to OPC Router

If you want continuous tag logging and not a workflow engine, Cogent DataHub is the natural fit. It connects to TOP Server as an OPC client and writes to SQL Server. The full walkthrough is in Cogent DataHub to SQL Server: complete historian workflow.

Best for: plants that want a historian-style table of timestamped tag values with minimal mapping logic.

  • Pro: designed for tag-stream data, so the logging model matches how OPC data actually arrives.
  • Pro: also bridges data between systems, which helps when logging is one of several jobs.
  • Con: if the database write needs business rules, lookups, or multi-step transformations, a workflow tool fits better.

Verdict: Buy for continuous logging. Skip if your main need is transforming data before it hits the database.

OPC Router: when it earns its place

OPC Router is a data-integration tool. It reads OPC tags, applies logic, and writes to databases, REST endpoints, and other targets. For SQL logging specifically, see OPC Router to SQL Server: automatically log production data.

Best for: event-driven writes such as logging a batch record when a trigger tag changes, or combining OPC data with MES and ERP fields in one row.

  • Pro: visual configuration instead of code.
  • Pro: one tool covers SQL plus other destinations.
  • Con: more capability than you need if the goal is a flat table of tag values.

Verdict: Buy when the write is logic-driven. Hold if a plain historian table is all you need.

Dream Report: logging driven by reporting

If the end product is a compliance report or a shift report, Dream Report can pull from OPC data and write to SQL Server. The workflow is in Dream Report to SQL Server: complete compliance workflow.

Best for: regulated sites where the report is the deliverable and the database exists to support it.

Verdict: Buy for reporting-first projects. Skip as a general-purpose logger.

Custom OPC clients and SCADA historians

A custom client works when requirements are small and fixed. You write the subscription, the insert, the reconnect logic, and the buffering for when the database is unreachable. That last piece is where most in-house loggers fail: without store-and-forward, a database outage becomes a permanent gap in your data.

A SCADA historian works when the plant already runs SCADA with database logging. TOP Server does not require SCADA to run; see Can TOP Server run without a SCADA platform installed. That is the reason a dedicated logger is often the cleaner path for sites without one.

Verdict: Hold on custom code unless you have a developer who will own it for years.

Why the right setup varies

  • Write pattern. Continuous logging at a fixed rate and event-driven logging need different tools.
  • Transformation. Raw tag values into a table is simple. Joining with product, order, or operator data is not.
  • Volume. Write rate sets your database sizing and retention plan.
  • Failure handling. Decide what happens to data when SQL is down: buffer, drop, or fail.
  • Ownership. A pipeline only the original integrator understands becomes a liability.
  • Existing licenses. A SCADA or reporting tool already on site may already do the job.

How much data will you write?

Do this arithmetic before choosing anything. It is an example, not a measurement from your plant.

  • 500 tags logged every 1 second is 500 rows per second, or 43.2 million rows per day.
  • The same 500 tags logged every 10 seconds is 4.32 million rows per day.
  • Logging on change rather than on a fixed interval usually cuts that further for tags that sit steady.

A row-per-tag-per-sample table grows fast. Decide the logging rate per tag group, not one rate for everything. Slow process values like tank temperature do not need the same rate as a fast motion signal.

Scope your SQL logging setup

Talk to a Software Toolbox specialist about TOP Server and your database.

Contact sales

Does TOP Server need OPC Router for SQL logging in 2026?

No. TOP Server needs a client for SQL logging in 2026, and OPC Router is one of several that qualify. Choose Cogent DataHub for tag-stream logging, OPC Router for logic-driven writes, and Dream Report for report-first projects.

What does TOP Server do in a logging pipeline?

TOP Server handles device communication. It polls your PLCs and devices, normalizes the data into tags, and serves them over OPC. Keep that responsibility separate from the database write so a database problem never stops device polling.

What should you check before committing to a design?

  1. List the tags and the logging rate for each group.
  2. Decide continuous versus event-driven writes.
  3. Decide what happens to data during a SQL outage.
  4. Confirm the current TOP Server feature list on softwaretoolbox.com for your version.
  5. Pick the client that matches the write pattern, not the one with the most features.

FAQ

Can TOP Server write directly to a SQL database?

Plan on a separate client to do the SQL writes. TOP Server serves device data as OPC tags, and a downstream OPC client inserts them into the database. Confirm your version's feature list on softwaretoolbox.com.

Do I need OPC Router to log TOP Server data to SQL?

No. OPC Router is one option. Cogent DataHub, Dream Report, a custom OPC client, or a SCADA historian can also read TOP Server tags and write them to SQL.

What is the best way to log TOP Server tags to SQL Server continuously?

Cogent DataHub is the closest fit for continuous tag logging to SQL Server. It reads TOP Server as an OPC client and writes timestamped values without a workflow layer.

When is OPC Router better than a plain logger?

OPC Router is better when the database write depends on logic, such as a trigger tag, or when rows combine OPC data with MES or ERP fields. For flat tag tables, a historian-style logger is simpler.

How many rows will SQL logging create?

500 tags logged every second create 43.2 million rows per day. At a 10-second rate the same tags create 4.32 million rows per day. Size storage and retention before you deploy.

Does TOP Server need SCADA to feed a database?

No. TOP Server runs without a SCADA platform. A dedicated OPC client can handle the database logging instead.

One last thing

The expensive failure is not choosing the wrong logger. It is skipping store-and-forward. Test the pipeline by unplugging the database for ten minutes during commissioning and checking whether the gap fills when it returns. Whatever tool you pick should pass that test.

Related guides

About the Author

Connor Mason

Connor Mason

Share this article

Stay Updated with Our Latest Insights

Subscribe to our newsletter for weekly technical articles, product updates, and industry news.