Il 01/03/2018 15:16, Michael Loftis ha
scritto:
... or a column that specifies, e.g., the form ID. If all form has not the same number of BIGINT and TEXT, keep the maximum value and fill only the requested ones. You can also use the EAV schema, where the Entity is the form, the Attribute is the field, and the Value... is the value. CREATE TABLE tbl( id bigint, entity integer, attribute integer, --(or string, as you need) value_int bigint, value_string text ); This way you'll get more rows, but very thin, and with not more than 3 or 4 indexes (based on the querues you need to perform) you can retrieve values quickly. My 2 cent Moreno.- |
- Performance degrade in Planning Time to find appropriat... Meenatchi Sandanam
- Re: Performance degrade in Planning Time to find a... Laurenz Albe
- Re: Performance degrade in Planning Time to fi... Nandakumar M
- Re: Performance degrade in Planning Time t... Pavel Stehule
- Re: Performance degrade in Planning Ti... Pavel Stehule
- Re: Performance degrade in Planning Time to find a... Michael Loftis
- Re: Performance degrade in Planning Time to fi... Moreno Andreo