Run queries after page load - oracle

Sorry if this is not the proper place to post Oracle Apex questions. But I'll post anyway maybe someone could help.
I have an application with a dashboard as the homepage. The dashboard is full of Interactive Reports, Cards, Charts, etc. So basically it has more then 10 SQL queries.
My issue is it takes time to load the page because of the queries. So I'm looking for a way to defer the running of the queries and only try to auto run them after page load or once the DOM is ready and not stuck on the login page with the loading animation.
What are some possible ways to handle this issue?

For the IR/classic regions, you can use this lazy loading technique from Maxime
http://max-tremblay.blogspot.com/2018/05/lazy-loading-report.html
5.1+ OracleJET charts populate after page load already.
Alternatively, you could consider materialized views on your data
https://oracle-base.com/articles/misc/materialized-views

Related

Issue in OAF during page load

Actually I want to load the page again because for the first time when I am loading the page one of my VO is not getting initialized (fetchedrowcount is coming as 0),but when we go to home and then navigate to that page again then the rowcount is coming as 1. Can you please help me how can I achieve this on first time page load itself. Please do reply,I am stucked badly. Thanks
It sounds like an ordering issue - VO is likely being queried after the page is rendered.
Have you tried querying the VO explicitly in the PageRequest() method? The Oracle Application Framework Developer's Guide is a good resource if you don't know how to do that.

web analytics without the help of google analytics

I am trying to display dashboards to every user who accesses my website with an analysis of his previous data. Can I do it without the help of google analytics?
Well if you do not want to use Google-Analytics then YES you can do it.
Few steps you need to do:
Create a database table in which save page URL and visitor's ip
Also try to get time that how many seconds/minutes visitor stay on page
You may generate reports and show on dashboard
By the way, if we have a free of cost solution then why you are spending time on it ?
Paperclip is free and ethical: Website. Users can see all the data collected about them. I'm in their beta program, where you can suggest things to them and they'll add it.

How to display last refresh status of OBIEE Report in Another website?

I have around 20 OBIEE Reports and these Reports automatically refreshed after a certain time period (different for each report). Users navigate to these reports through my SharePoint site home page. Now, I want to display which report is refresh at time in SharePoint page.
Is there any way I can achieve this capability?
Please let me know if requirement is not clear.
Not sure if you comprehend how OBI and analytical systems work but let me make something clear:
It is NOT the "OBIEE Report" getting refreshed.
First of all because OBI uses "Analyses" whereas BIP uses "Reports".
Second and most importantly it is because the DATA SOURCES are refreshed. The "analysis" is just a visualization container and nothing else. OBIEE does not store or persist data.

Speed issues with laravel 4

Im using laravel 4 to develop my site but im getting increaingly concerned with speed issues.
Im developing on a local machine :windows 7, apache and php 5.4
One of my pages creates an article. The view relies on a simple eloquent query to create a select field.
Using profiler the query is timed at 20ms but the page takes over 4500ms to complete. Other pages that rely on a record query, eg edit article take over 7000ms.
The pages also pull details from the authorised user
In other threads I've followed suggestions to use 127.0.0.1 as the database ip but this hasn't made a difference.
My pages uses jquery, but nothing heavy just small features.
I use the blade templating
Are my times realistic?
How can i profile to see where the bottlenecks are? Ive tried adding timers using the profiler but not had much success getting them to view.
Are there any standards i should apply?
Does blade add a big overhead?
I've not posted the code as it would take up all of the room

Oracle ADF 11.1.1.4 blind query triggered

I am working/maintaining an application built on Oracle ADF 11.1.1.4 version migrated from 10g during developement phase itself. We are using BC4j to talk to Oracle 10g database. The application is very heavily data centric and so there are chances that the query triggered through GUI may be have bad plan based on the search criteria entered by the user. Most of the places we have marked few fields mandatory to search on where potentially we see a bad query to be formed.
Issue: Currently in production user open muliple tabs for different screens, one of which is a screen where we have made it mandatory to enter few search values before searching/Querying the data. In the corresponding view criteria of that View Object we have marked those fields as selective required. But somehow we see a blind query triggered even when user hasn't clicked on search button on that page
It seems to comeup when the session expires on one of the pages opened and user clicks the OK. button
I am not sure is the framework triggereing some blind query when the page expires or else. There are many listeners on the page, but I am not sure why session timeeout can cause it.THe query is the same as that in the corresponding VO where we have maked few fields as selectively required. The long running query causes stuck thread on Weblogic server causing it to crash eventually after sometime.
Kindly anybody please advise if there has been an Oracle bug reported or any solution. We are seeing this on couple of pages where view criteria has few fields marked as selectively required.
Thanks
#Edit: The pages either jspx or page fragments jsff
You might be running into an effect as described here http://andrejusb.blogspot.ca/2012/08/adf-bc-passivationactivation-and-sql.html?m=1
You can try the technique I showed here https://tompeez.wordpress.com/2012/03/18/jdeveloper-preventing-return-of-large-row-sets-on-page-load-of-vo-using-bind-variable/ to prevent executing of queues on first load.

Resources