Created
January 28, 2024 18:20
-
-
Save mdcallag/bb2b01d4c52a7a25929125f48aa22644 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ib=# \d+ pi1 | |
Table "public.pi1" | |
Column | Type | Collation | Nullable | Default | Storage | Compression | Stats target | Description | |
----------------+-----------------------------+-----------+----------+--------------------------------------------+----------+-------------+--------------+------------- | |
transactionid | bigint | | not null | nextval('pi1_transactionid_seq'::regclass) | plain | | | | |
dateandtime | timestamp without time zone | | | | plain | | | | |
cashregisterid | integer | | not null | | plain | | | | |
customerid | integer | | not null | | plain | | | | |
productid | integer | | not null | | plain | | | | |
price | integer | | not null | | plain | | | | |
data | character varying(4000) | | | | extended | | | | |
Indexes: | |
"pi1_pkey" PRIMARY KEY, btree (transactionid) | |
"pi1_marketsegment" btree (productid, customerid, price) | |
"pi1_pdc" btree (price, dateandtime, customerid) | |
"pi1_registersegment" btree (cashregisterid, customerid, price) | |
Access method: heap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment