Skip to content

Instantly share code, notes, and snippets.

View ruslanBik4's full-sized avatar

Руслан Бикчентаев ruslanBik4

View GitHub Profile
@ruslanBik4
ruslanBik4 / big_pictures_prepare.sql
Last active December 19, 2025 11:13
Example of optimise PostgreSQL request
CREATE TYPE itembigpicture AS
(
name character varying,
sum_pnl double precision
);
-- store aggregate data
create type reccrossdata as
(
trades_made bigint,
total_volume bigint,