You can use Data Studio for this.
Using filters and columns, you can download all the data on your database, or even
select specific columns to be included before downloading the data to a spreadsheet.
Downloading the entire data from database
Step 1: Select all the records on data studio.
Step 2: Go to Download records> Download All Data
Step 3: Click on Download All Data >View Status > Download.
You will also receive an email with a link to download the data sheet, once it is ready.