cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vcm2778
Helper II
Helper II

Postgresql shows refreshing error with Power Bi

HI 

I have Postgresql connection with Power Bi and it gives me below error while refreshing desktop version

 

"OLE DB or ODBC error: [DataSource.Error] PostgreSQL: 53300: too many connections for role" and "OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E. An unexpected exception occurred." 

 

I do have 7 queries in Power Bi with connects to DB(Postgresql) and fetch value.

 

when i go to Data and refresh each query one by one manually it works but when i click on refresh in report it gives me above error. i do not have any other connection open except this power bi desktop file

 

can anyone help, big thanks in advance

 

 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @vcm2778 

 

It appears that the PostgreSQL does not like so many connections.

 

You can change how many connections run at one time by going into the settings in PBI Desktop and changing it as shown below to 1 for Simultaneous connections

 

GilbertQ_0-1631483378702.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

6 REPLIES 6
GilbertQ
Super User
Super User

Hi @vcm2778 

 

It appears that the PostgreSQL does not like so many connections.

 

You can change how many connections run at one time by going into the settings in PBI Desktop and changing it as shown below to 1 for Simultaneous connections

 

GilbertQ_0-1631483378702.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

HI GilbertQ

Thanks for replying. so i have to change 8 to 1 ?

Yes if you could change that and see if it then works?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I tried and changed to 1 but it takes too much time to get refreshed and did not complete refresh 

Hi @vcm2778 


Thanks for the update.


If this is the case I would chat to your DBA to see how they can increase the number of concurrent connections to resolve this.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I do not know but I escalated to IT dept and they increased no of connection. and Problem solved but my team can not get refreshed result on web version

 

But thanks for your support

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors