Most database platforms are well evolved - and can handle load much better than the best possible business layer design and algorithms you may decide to use, for processing data.
You should distribute the load wisely between all the tiers involved.