Focal Point
[SOLVED] Hold file format for join efficiency

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/51710408

April 13, 2009, 02:07 PM
JohnB
[SOLVED] Hold file format for join efficiency
When creating a hold file from and Oracle table and joining the hold file to an Oracle table, would it more efficient if the hold file were an Oracle table: ON TABLE HOLD FORMAT SQLORA?

This message has been edited. Last edited by: JohnB,


WF 7.7.03, Windows 7, HTML, Excel, PDF
April 13, 2009, 02:11 PM
GinnyJakes
Absolutely. Also check out the SAME-DB option.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 14, 2009, 01:45 AM
<JG>
And do not forget the INDEX

ON TABLE HOLD FORMAT SQLORA INDEX field1 field2 etc.
April 14, 2009, 02:13 AM
<JG>
Should have been more explicit,

Index if you want to join to it.

However there is another consideration that needs to be taken into account.

What mathod of access do you use to oracle?
If it is a generic WebFOCUS id (explict in WFS terms) then you may have potential issues
if this is for an end-user report.

The reason is that you must do a drop table if you are to reuse the name.

This potentially means that user B could drop the table while it is being used by
user A or perhaps pick up incorrect content if the failure to drop and create failed
because of system locks.
April 20, 2009, 01:41 PM
JohnB
JG, what is a "drop table"?


WF 7.7.03, Windows 7, HTML, Excel, PDF
April 20, 2009, 02:56 PM
Danny-SRL
John,

"drop table" is the SQL command to delete an SQL table.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF