Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Dealing with huge database

Hi,

 

I'm dealing with a 2tb database and have tried few times to load it but end up unsuccess. What can i do with it?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous,

Do you need all the columns of your database? I would recommend you specify required columns using SQL statement like "select col1,col2 from mydata.link_bi_betslips limit 5", and enter timeout value.

1.PNG


Regards,
Lydia

View solution in original post

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

I would recommend a Direct Query (Live) connection to that large of a database.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler, my database is in MySQL. I can't find the option for me to perform Direct Query. Below is my view:

 

MySQL.JPG

Anonymous
Not applicable

@Anonymous,

There is no DirectQuery option for MySQL, in your scenario, I would recommend you write specific SQL statement to import required columns and rows.

Regards,
Lydia

Anonymous
Not applicable

@Anonymous, can you show me where and how to write the SQL statement in Power BI to import required columns and rows?

Anonymous
Not applicable

@Anonymous,

You can input SQL statement in the highlighted textbox. You can firstly test the SQL statement in MySQL workbench,

1.PNG

Regards,
Lydia

Anonymous
Not applicable

@Anonymous,

 

I was still unable to extract any data with my sql statement belowsql statement.JPGUnable to connect.JPG

Anonymous
Not applicable

@Anonymous,

Do you need all the columns of your database? I would recommend you specify required columns using SQL statement like "select col1,col2 from mydata.link_bi_betslips limit 5", and enter timeout value.

1.PNG


Regards,
Lydia

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.