Bulk actions in paginated table


I have a paginated table of items. We can do some bulk actions ( like delete) on items.
User selects some items on page 1 and goes to next page and selects some items on page 2.
is it better that bulk actions work per page? Or work on all selected items in all pages?