Hello guys ! I try to explain this as simple as i can.
When i do queries on our database i have a table where the ERP software stores all the descriptions and traductions. Example :
FIELDS
CODIFIC(table it makes reference) : for example ITEMS
ZONE(difference between description1, 2, 3...) : An item can have a long desc, a short one...
LANGUE(language) : The different languages it's translated (SPA,ENG,BRI,ITA,FRA...)
IDENT1 : The field that match with other tables , it's the field i use to join then , it's for example an ITEM reference.
The table have more fields but those are the relevant ones.
This it's killing my performance in queries , since the table have 500k rows.
I have queries where i need to add this table twich because i want to extract the description of two different things , and the union field it's always IDENT1.
It's any...