Глава 9. Проверка установки

В этой главе описывается, как проверить установку Postgres Pro AXE. Для шагов ниже предполагается, что установка выполнена в соответствии с описанием, приведённым в Главе 8.

Чтобы проверить установку, выполните следующие шаги на сервере Postgres Pro AXE:

  1. Создайте аналитическую таблицу.

    Например:

      CREATE TABLE axe_table (
          id int4,
          name text,
          price numeric(10,2),
          created_at timestamp
      ) USING axe;

    Аналитические таблицы — это логические объекты, которые представляют Parquet-файлы в каталоге метаданных, делая данные доступными для запросов.

  2. Вставьте данные в аналитическую таблицу.

    Например:

      INSERT INTO axe_table VALUES (1, 'Product 1', 150.99, '2026-08-09 00:01:01.75');
      INSERT INTO axe_table VALUES (2, 'Product 2', 300.99, '2026-08-10 00:01:01.75');
  3. Прочитайте данные из аналитической таблицы.

    Например:

      SELECT * FROM axe_table;

    Если запрос возвращает данные, Postgres Pro AXE установлен успешно.

  4. (Необязательно) Обновите данные.

    Например:

      UPDATE axe_table SET price = 199.99 WHERE id = 1;
  5. (Необязательно) Удалите аналитическую таблицу.

    Например:

      DROP TABLE axe_table;

Chapter 9. Checking the Installation

This chapter describes how to check the installation of Postgres Pro AXE. For the steps below, the installation described in Chapter 8 is assumed.

To check the installation, perform the following steps on the Postgres Pro AXE server:

  1. Create an analytical table.

    For example:

      CREATE TABLE axe_table (
          id int4,
          name text,
          price numeric(10,2),
          created_at timestamp
      ) USING axe;
    

    Analytical tables are logical objects that represent Parquet files in the metadata catalog and make the data available for queries.

  2. Insert data into the analytical table.

    For example:

      INSERT INTO axe_table VALUES (1, 'Product 1', 150.99, '2026-08-09 00:01:01.75');
      INSERT INTO axe_table VALUES (2, 'Product 2', 300.99, '2026-08-10 00:01:01.75');
    
  3. Read the data from the analytical table.

    For example:

      SELECT * FROM axe_table;
    

    If the query returns the data, Postgres Pro AXE is installed successfully.

  4. (Optional) Update the data.

    For example:

      UPDATE axe_table SET price = 199.99 WHERE id = 1;
    
  5. (Optional) Delete the analytical table.

    For example:

      DROP TABLE axe_table;
    
FAQ