Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
10567 Widoki

Hey Guys,

I am stuck to resolve this error tables can have at most 1600 columns and not getting any idea to solve it.

Kindly help me out to solve it.

Thanks in advance.



Awatar
Odrzuć
Najlepsza odpowiedź

This is a limitation of the underlying database, PostgreSQL.

Note that this is ALSO a larger amount than Oracle, which can support 1,000 columns per table, allows.

You should be able to to design your database tables in a way that require way less than 1,600 columns - check out "normalization" which is the technique database designers use to address this problem.  It would be extremely rare that a single object would have 1,600 attributes that are functionally dependent on the object key/identifier.

http://www.essentialsql.com/get-ready-to-learn-sql-database-normalization-explained-in-simple-english/

Awatar
Odrzuć
Najlepsza odpowiedź

I think you have to split the table into multiple tables. For that you can create multiple masters for that and have one2many relation  to each other. It is same as what Ray said , use the normalization and identify how to split the table effectively. For more information on the normalization , would suggest you to go below link

https://www.youtube.com/watch?v=UrYLYV7WSHM

Awatar
Odrzuć