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:
Create a local storage for Parquet files.
For example:
SELECT axe.create_storage('axe_storage', 'file:///pgdata/axe_storage/');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');
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;
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.
(Optional) Delete the test objects:
For example:
DROP TABLE axe_table;
For example:
SELECT axe.drop_storage('axe_storage');For example:
DROP TABLE public.axe_heap_table;