Chapter 9. Checking the Postgres Pro AXE Deployment

This chapter describes how to check that Postgres Pro AXE is deployed successfully and ready for work, assuming the deployment described in Chapter 8.

To check the Postgres Pro AXE deployment:

  1. Create a local storage for Parquet files.

    For example:

      SELECT axe.create_storage('axe_storage', 'file:///pgdata/axe_storage/');
    
  2. Create a heap table and insert data into this table.

    For example:

      CREATE TABLE public.axe_heap_table (id int4, name text, price numeric(10,2), created_at timestamp);
      INSERT INTO public.axe_heap_table VALUES (1, 'Product 1', 150.99, '2026-08-09 00:01:01.75');
      INSERT INTO public.axe_heap_table VALUES (2, 'Product 2', 300.99, '2026-08-10 00:01:01.75');
    
  3. Create an analytical table from the heap table.

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

    For example:

      CREATE TABLE axe_table USING axe WITH (storage = 'axe_storage')
      AS SELECT * FROM public.axe_heap_table;
    
  4. Read the data from the analytical table.

    For example:

      SELECT * FROM axe_table;
    

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

  5. (Optional) Delete the test objects:

    1. Delete the analytical table.

      For example:

        DROP TABLE axe_table;
      
    2. Delete the storage.

      For example:

        SELECT axe.drop_storage('axe_storage');
      
    3. Delete the heap table.

      For example:

        DROP TABLE public.axe_heap_table;
      
FAQ