Load Overview
VeloDB Cloud provides two paths for loading data into warehouse tables:
- Console imports: Use Data Integration to configure and monitor imports from supported sources through a visual wizard.
- SQL/API and connector loading: Use SQL statements, HTTP requests, or data-processing connectors to write from applications, automate pipelines, and configure method-specific behavior.
These paths complement each other. Console import jobs use warehouse loading capabilities, while direct interfaces give applications and pipelines access to those capabilities without using an import wizard.
Choose a loading path
| Consideration | Console imports through Data Integration | SQL/API and connector loading |
|---|---|---|
| Best fit | Import from a supported source with a guided setup and job monitoring. | Write from an application, integrate an existing pipeline, or define SQL transformations. |
| How you configure it | Select a source, target tables, and settings in a wizard. | Submit SQL or HTTP requests, or configure a connector. |
| Coverage | The sources, formats, and settings exposed by the selected wizard. | The sources, formats, and settings supported by the selected loading method or connector. |
| How it runs | The warehouse executes the configured import job. | The warehouse executes loads or persistent jobs. An application or connector can also submit data. |
| How you manage it | View progress, errors, and available job actions in the console. | Use the method's SQL commands, API responses, or connector tooling. |
| Availability | Depends on warehouse version, deployment type, cloud provider, and enabled capabilities. | Depends on the loading method, source connectivity, and warehouse capabilities. |
For a supported source, start with a console import unless you need application integration or custom pipeline logic. See Data Integration for the available workflows and their requirements.
The two paths share underlying capabilities. For example, the Kafka import wizard creates a Routine Load job. MySQL and PostgreSQL import wizards create Streaming Jobs. Object storage imports use a Streaming Job to run an INSERT INTO SELECT query over a table-valued function. The selected method determines loading behavior and guarantees. Using the console does not replace the method's reference documentation or make every SQL/API option available in the wizard.
Data Integration also includes external catalogs, migration, local file uploads, and sample datasets. An external catalog lets you query data in its source system without copying it into warehouse tables. To copy external query results into a warehouse table, use INSERT INTO SELECT.
Choose a method by scenario
Direct application writes
Use Stream Load to send files or batches of application data over HTTP. Use INSERT INTO VALUES for small writes through SQL clients such as JDBC. For warehouse endpoints and client configuration, see Connection Methods.
For high-frequency small batches, consider Group Commit with Stream Load or INSERT INTO. Test batch sizes and concurrency with representative data for your workload.
Continuous ingestion
For a guided setup, use a console import from MySQL, PostgreSQL, Kafka, or object storage. Check the source guide for deployment, version, and connectivity requirements.
For SQL-based job management, use Routine Load to consume Kafka topics, or see Continuous Load for Streaming Job source and sync-mode configuration.
If you already use a stream-processing pipeline or need transformations before ingestion, use the Flink Doris Connector. If you use Kafka Connect, see the Doris Kafka Connector. These connectors write into warehouse tables through loading interfaces and have their own configuration and operational requirements.
Batch file loads
- Local files: Use Upload a Local File for a guided upload in a SaaS warehouse. Check that guide for file size and format limits. For scripted uploads or application batches, use Stream Load.
- Object storage files: Use the object storage import wizard for a managed import workflow, Broker Load for an asynchronous SQL load, or INSERT INTO SELECT to load the result of a file query. Confirm that the selected method supports your storage service and that the warehouse can reach it.
The console upload limit is specific to that workflow. It is not the general limit for Stream Load or other loading methods.
External data queries and loads
Use an external catalog when you want to query source data in place. See Lakehouse Overview for catalog-based access and supported sources.
Use INSERT INTO SELECT when you need to filter, transform, or copy query results into warehouse tables. This also applies to transformations between tables that are already in the warehouse.
Load method reference
| Method | Use case | Execution |
|---|---|---|
| Stream Load | Send files or application batches over HTTP. | Synchronous request |
| Broker Load | Submit a batch load from supported external storage through SQL. | Asynchronous job |
| INSERT INTO VALUES | Write small batches through a SQL client. | Synchronous statement |
| INSERT INTO SELECT | Load query results from warehouse tables, external catalogs, or file queries. | Synchronous statement |
| Routine Load | Continuously consume Kafka topics. | Persistent asynchronous job |
| Streaming Job | Continuously load supported database sources or object storage files. | Persistent asynchronous job |
| MySQL Load | Load a local CSV file with LOAD DATA LOCAL INFILE. This is distinct from MySQL source CDC. | Synchronous statement |
| Group Commit | Combine small writes with Stream Load or INSERT INTO. | An option for those methods, not a separate source connector |
Prepare and verify a load
Before loading, prepare the source credentials, warehouse network path, target table schema, and privileges required by the selected method. For console import connectivity, see Connect for Import.
Use the detailed references to configure:
- Parsing and formats: CSV, JSON, Parquet, and ORC. Check which formats the selected method supports.
- Field mappings and invalid rows: Data Conversion and Handling Messy Data.
- Commit and retry behavior: Transactions and the selected method's load-result and error-handling guidance.
- Batching and concurrency: Load Best Practices.
After a load, check its request result or job status and compare representative rows and row counts in the target table with the source. For continuous ingestion, also verify that new source records arrive. If a load fails, inspect its error before retrying, then check connectivity, credentials, parsing options, and column mappings.
Loading consumes warehouse compute and storage. See Billing when planning ingestion workloads.
Partial column updates
When you need to update selected fields without supplying every column, check the table model and loading method's partial-update requirements. See Update Selected Columns for supported behavior and configuration.
FAQ
Does a console import provide different transaction guarantees from a SQL-created job?
The underlying loading method and its configuration determine transaction and delivery behavior. Check the selected method's reference rather than assuming that all console imports, SQL jobs, and connectors have the same guarantees.
Does SQL/API loading always require a separate ingestion service?
No. Routine Load and Streaming Jobs run in the warehouse after submission. Application writes and connectors need a client or pipeline to submit data.
See also
To set up and monitor a managed import job in the VeloDB Cloud Console, see Console Imports.