Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am connecting to two oracle DBs from the same pbix file. In power query, my first query has something as:
let
Source = Oracle.Database("db1.world", [HierarchicalNavigation=true, CommandTimeout=#duration(0, 2, 0, 0)]),
Schema = Source{[Schema="schema1"]}[Data],
table1 = Schema{[Name="table1"]}[Data],
in
table1
My second query is similar to the first:
let
Source = Oracle.Database("db2.world", [HierarchicalNavigation=true, CommandTimeout=#duration(0, 2, 0, 0)]),
Schema = Source{[Schema="schema2"]}[Data],
table2 = Schema{[Name="table2"]}[Data],
in
table2
I am referencing these two tables (let's call them Primary tables) to create 4 other queries, (2 based on the first table (A1,B1) and the others based on the two tables, A2,B2). Let's call these secondary tables.
Finally i am appending the two queries A1,A2 together and B1,B2 together.
In power query i have no problem with the process, however when i try to apply and close the steps, at some point i get an Oracle Datasource Error - ORA-01652: unable to extend temp segment by 128 in tablespace temp error. The only post that i had found suggested to contact the DBA to either increase the temp table, or to see why the database ran out of space. I tried with the DBA to check what was happening by monitoring the DB, but at that time, the problem didn't happen. Now the problem is occuring again, and the DBA is asking if there is a way to capture what SQL statement is being send from power query to the DB.
Any suggestion on why i am having this error or how can i capture the sql statemetns being send from power query to DB?
Solved! Go to Solution.
Hi @mkjit256
Based on the error message, Oracle hasn't enough space to store intermediate data , you may need to check the block size, you can refer to the following link.
And you can refer to the following link abut monitor the sql statement.
ORACLE-BASE - Real-Time SQL Monitoring (DBMS_SQLTUNE.REPORT_SQL_MONITOR)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mkjit256
Based on the error message, Oracle hasn't enough space to store intermediate data , you may need to check the block size, you can refer to the following link.
And you can refer to the following link abut monitor the sql statement.
ORACLE-BASE - Real-Time SQL Monitoring (DBMS_SQLTUNE.REPORT_SQL_MONITOR)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your reply. i have one question, when i am loading the two oracle query to power query and then doing some transformations and then appending the two into one, shouldn't that be handled by the Power Query Engine. Not sure why after extraction, the data is being processed in Oracle again? did i misunderstand something?
Thanks
Hi @mkjit256
Based on the error message, Oracle hasn't enough space to store intermediate data , you may need to check the block size, you can refer to the following link.
And you can refer to the following link abut monitor the sql statement.
ORACLE-BASE - Real-Time SQL Monitoring (DBMS_SQLTUNE.REPORT_SQL_MONITOR)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
24 | |
12 | |
12 | |
11 | |
7 |
User | Count |
---|---|
43 | |
28 | |
14 | |
13 | |
13 |