Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Structure Question

Hi,

In our WMS system (relational database) we have a link from Department(50 records) à Category(200) à Subcategory(600) à Product(30000). 2 of these tables only have 4 fields on them. My question is should I just leave QlikView join them automatically by the WMS link, this is done without creating any synthetic links, or should I manually join them when I read them into QlikView to create one table ? Are there any performance issues relating to each solution I should be considering ?

Ta,

Gav.

1 Solution

Accepted Solutions
Not applicable
Author

For me, I tend to keep the tables separate. I create QVDs for each table and then join them up when loading into my app. This could simply be because I'm used to using relational databases and that's how they work.

I've heard a lot of mentions of joining everything into one table and that is probably a fine way to handle it.

In your case, I'm not sure if there would be a big difference. Users on this forum have reported having tens of millions of rows in single tables of their applications and having them work fine. I'm guessing that if you joined everything into one table you would be at less than 2 million.

I'm trying to come up with a definitive advantage to one or the other, but I don't think it matters much to QlikView. Perhaps one of the other users has some quantitative evidence of one being faster or more effecient than the other.

View solution in original post

4 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'd say that with those (relatively small) data volumes, performance wouldn't be an issue either way. You can do it the most convenient and intuitive way for you and your developers and users. When performance is not an issue, simplicity and ease of use should be your best guiding principles.

Oleg

Not applicable
Author

For me, I tend to keep the tables separate. I create QVDs for each table and then join them up when loading into my app. This could simply be because I'm used to using relational databases and that's how they work.

I've heard a lot of mentions of joining everything into one table and that is probably a fine way to handle it.

In your case, I'm not sure if there would be a big difference. Users on this forum have reported having tens of millions of rows in single tables of their applications and having them work fine. I'm guessing that if you joined everything into one table you would be at less than 2 million.

I'm trying to come up with a definitive advantage to one or the other, but I don't think it matters much to QlikView. Perhaps one of the other users has some quantitative evidence of one being faster or more effecient than the other.

Not applicable
Author

Thanks both for your reply, as I do most of my work as a Relational Database programmer I find it easier to think of things in that way, if there are no large overheads that people know of I will carry on creating the separate QVD's.

johnw
Champion III
Champion III

Yeah, QlikView deals just fine with a highly-normalized relational database structure, so if that's what you're used to, you might as well stick with it. I have the same sort of background, so I started out with highly-normalized tables in QlikView, but over time drifted to more of a reporting structure with massaged, denormalized data. But I don't think it's a big deal either way.