local or server filtering/sorting in CRDBGrid?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
alex2006

local or server filtering/sorting in CRDBGrid?

Post by alex2006 » Fri 23 Jun 2006 16:02

Hi all!
What is the best method - on local or on server side applying filter/sort in crdbgrid component?
thanx

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Fri 23 Jun 2006 18:41

Server side will always be the best choice

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 26 Jun 2006 08:48

As a rule sorting and filtering on the server side are better than local ones. But there are some situations when local sorting and filtering let you achieve better performance.
Anyway you should decide yourself depending on the situation.

alex2006

Post by alex2006 » Mon 26 Jun 2006 13:43

thanks a lot!

Post Reply