On my local computer, where is the data stored for a search on a dynamodb database
The search is made on the server host where the database service is installed. And you will only get the result set sent to you. 
  It would make no sense your client to make this, as your client is just an interface that allows your to interact with your database.
 This is available for all databases.