如果用TClientDataset,就可以
TClientDataSet.PacketRecords
Indicates the number or type of records in a single data packet.
property PacketRecords: Integer;
Description
Use PacketRecords to specify how many records should be contained in a single packet fetched from the application server, or to indicate that the packet returned should contain only metadata from the server.
When a client dataset is instantiated, PacketRecords is automatically set to -1, meaning that a single packet should contain all records in the dataset.
If PacketRecords is greater than zero, then it specifies the exact number of records to return in a packet.
To retrieve the metadata for a dataset, set PacketRecords to 0. When PacketRecords is zero, the application returns all information from the remote database server that define the database抯 structure, such as table, column, constraint, and domain definitions.