• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Working with PostgreSQL through DBeaver: A tutorial

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
PostgreSQL is one of the most advanced open-source databases, making it popular DB with Data Analysts and Data Engineers. To get the Postgres, Go to

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

. Select the suitable installer and download it and follow the installation instructions

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


DBeaver is a complimentary database tool that supports any database having a JDBC driver. Software developers, SQL writers, database administrators, and data analysts leverage its excellent functionality for interacting with databases. This DBeaver tutorial for PostgreSQL, from connecting and working with data achieve a particular objective
Why DBeaver?
DB is popular with many developers and data gurus because it provides an intuitive user interface to connect to multitude of databases, including MySQL, MariaDB, PostgreSQL, SQLite, and many others and allowing them to perform essential operations on the data.
**DBeaver Installation and Connecting to PostgreSQL
**To install DBeaver, the visit the download page using the following URL:

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


Select the version of DBeaver for your OS and download the installer. Then, open the installer and follow the instructions to complete the DBeaver installation.
Once installed, the next phase is connection to SQL. To connect to a database in DBeaver, open the utility and click Database in the top menu. Then, click the New Database Connection option or the Plug icon located within ribbon of icons at the top right portion of the user interface


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


Then select your DB (which in this case is PostgreSQL) and then hit the next down to go the connection section.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


The final stage before we have our DB ready is creating connection, which is very critical. Here is a snippet of how the connection section look like:


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


The I would explain using example when using localhost as host and the DB name is Jumia.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


Once the above details have been keyed in, it is important to test connection first before hitting the “finish” button to ensure that the connection is successful. Here is the output if the connection is successful.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


For non-local users, here is snippet of how yours will look (basically the same, just variation in the host used.)


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


For those using cloud services such as aiven, pretty the same but looks like this:


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


Upon successful connection, we can perform normal operation on DBeaver just as we would in PostgreSQL. Like shown below:


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



Fun Fact: The data is also available in PostgreSQL in your computer and you can access it using same DB name/tables like one below:

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу