Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Optimize Database Population Performance With Array DML In Delphi

This sample demonstrates how to use Array DML in FireDAC and compares its performance for different array sizes.

Location

You can find the ArrayDML sample project at:

How to Use the Sample

  1. Navigate to the location given above and open FireDACArrayDML.dproj.
  2. Press F9 or choose Run > Run.

Files

File in DelphiContains
FireDACArrayDML.dproj
FireDACArrayDML.dpr
The project itself.
fMain.pas
fMain.fmx
The main form.

Implementation

Instead of configuring the main components of this sample at design time using the Object Inspector, this sample configures the setup of the TFDConnection and the TFDQuery in run time. When you run the application, you see the following components on the form:

Once the sample is running, you can interact with the sample by changing the edit boxes or clicking on the aforementioned buttons:

For more detailed information and external links to other articles, please follow the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FireDAC.TFDQuery.ArrayDML_Sample

Exit mobile version