cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Optimizing sql server for import

Hi, does using columnar tables or columnwise indexes in sql server improve performance when importing data into pbi? Or only for directQuery?
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Optimizing sql server for import

Hi @alekskr ,

 

In import mode Power BI query and load data to the xVelocity engine, then draw the digits on visuals. Columnar structure of SQL Server will help only at first step (query and load), but rendering of the visuals will take the same time if you will query a source with row storage.


Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

View solution in original post

5 REPLIES 5
Highlighted
Community Support
Community Support

Re: Optimizing sql server for import

Hi alekskr, 

I think the index in SQL server should work for both model, beacuse when data refresh, the model will query the data from datasource again. You could refer to A comprehensive guide to Power BI performance tuning  for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Highlighted
Memorable Member
Memorable Member

Re: Optimizing sql server for import

Hi @alekskr ,

 

In import mode Power BI query and load data to the xVelocity engine, then draw the digits on visuals. Columnar structure of SQL Server will help only at first step (query and load), but rendering of the visuals will take the same time if you will query a source with row storage.


Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

View solution in original post

Highlighted
Frequent Visitor

Re: Optimizing sql server for import

Thanks. I should specify that I am talking about the time it takes to import the data into the pbi model (Data refresh). Not the performance of the visuals..

Highlighted
Memorable Member
Memorable Member

Re: Optimizing sql server for import

@alekskr 

I've covered both steps in my previous reply.

 

In more details, if you optimize querying of a source by implementing indexes (or setting proper data types, granularity etc.) then PowerQuery will load data faster.

You can also improve the speed by cleaning the PowerQuery code, sometimes it is not optimal or dirty.


Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

 

Highlighted
Frequent Visitor

Re: Optimizing sql server for import

Okay thanks 🙂

 

Just to clarify my question again: the setup is quite simple. Just import a table from sql server. Almost no power query except some casting of types. So, given that I am just querying "select * from table" i guess regular indexes should have no effect... (?). But will adding a columnstore index or changing the table to columnar help?

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021