Conversion of Excel database to PostgreSQL using Full Convert
Purpose of this tutorial is to show you basic use of Full Convert Enterprise. To learn about advanced features such as built-in scheduler, data type customization, project customization rules, logging etc., take a look at the video tutorials.
1. Connecting to databases
As we start Full Convert, you will notice a welcome panel with links for common tasks.
Let's create new conversion session. Click on the Create new conversion link, or click on the New button on the ribbon above.
Selecting source database
We will choose Excel from the list of available database formats. Full Convert supports all versions of Excel documents from Excel 97 to Excel 2007. XLS and XLSX files are read flawlesly. Formulas will be calculated during the conversions, so target database will have formula results stored, not the formula expression texts. Just type-in the folder containing your Excel documents, or click the ellipsis button on the right and Full Convert will display Browse for Folder dialog. You don't even need to have Excel installed to be able to convert your Excel documents. We directly read your Excel files.
Selecting target database
From the list of available target database engines, we'll choose PostgreSQL. Connecting to Postgres is straightforward - we need to specify server name/IP, username, password and database name.
2. Selecting tables to convert. All by default.
We will now select tables for conversion. All tables in the right list will be converted from Excel to PostgreSQL. Please note that you can count rows of tables to easily see where data actually resides. Clicking Unselect empty moves all empty tables to Do not convert list.
Clicking Next button brings us to the last page in the wizard, the summary. By default, I want to convert immediately option is selected. We will just leave this on to start right away. Otherwise, you can also choose to only explore target database at this point (as Full Convert has full-fledged database/data explorer built-in) and simply press Convert! button in ribbon when ready.
Full Convert is very fast. We use dedicated native database components instead of relying on translation libraries like ODBC which incur performance hit and often have bugs of their own. Reaching transfer of 20.000 records per second is not uncommon. Of course, that speed can't be reached with slow databases (like Access, for example), when large binary data is in table, or when network lag is an issue.
After Excel to PostgreSQL conversion is finished, you will be presented with a summary. If errors occur, you will be able to inspect then in a separate tab. If appropriate, we will provide you with suggestions of how to further speed up transfer or avoid errors in conversion. Also, you can choose to have SQL commands displayed, so you can explore the generated SQL script and save it for use in your other database tools.
Have you noticed that we migrated 700k records in less than a minute? By the way, Full Convert handles databases of unlimited size!
Navigating the target database
Navigating structure tree shows us what the target database looks like now. You are free to do further modifications on structure, rename columns or change their type, drop obsolete columns, extract part of a table to new table etc.
You can also explore the data of each table, edit the data directly in the powerful grid, import/export cell values from/to disk and more.
That's all for this basic Excel to PostgreSQL conversion tutorial. Full Convert is very powerful - it's very easy to use, but offers much more than presented here.
We invite you to explore Full Convert more, and, of course, to purchase it. If you want to test it yourself, just download a free trial.