Performance Issue-;How to restrict the total output of the report.
Hi Experts
I need your advise to resolve one performance issue in my BI Publisher report.
My report query is extracting more than 80000 records at once. To load these records into the report template it is taking all most 14 to 15 hours. Unfortunately i cannot change my logic to put some more filter to restrict the query output, as this is the requirement from the client.
Is there any way i can restrict my report so that it will extract the first 1000 record and on the event of pressing next it will extract the next 1000 record and so on from the point when it left in last time.
Kindly let me know if you have any solution for this.
Thanks in advance.
Regards
Srikant
Hi experts...
Any update on this...
Similar Messages
-
Hi All,
i have used CMS in SQL 2008 R2. i have added couple of servers in its group. i have executed a query & i need to send the query output in the form of email.
basically query is checking the rows count from couple of user tables in servers.
issue here is how to copy the data that is used by CMS? i need to work on automate the rows count in difft user table in db servers
could you please suggest how can i achieve this?Copy to what?
SELECT COUNT(*) FROM sys.objects
Running the above statement returns two columns (server name and count)
All the servers SS2005 and onwards , then use
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'name',
@recipients = '[email protected]',
@query = 'SELECT COUNT(*) FROM sys.objects',
@subject = 'Count rows'
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
How to send the spool output to the specific user during ALE distribution
Hi All
In ALE internal order Configuration done by BAPI Method SAVEREPLICA Business object BUS2075whenever user changed the internal order which is moved to the destination system because of change data setting in data element fields.
I want to know how to send the spool output of the changed internal order to the specific user during ALE distribution.
Please help me to reslove the above issue
Thanks & Regards
KRISHGUNASolved by myself
-
How to find out the total, subtotal in alv report
hi dears,
how to find out the total, subtotal in alv report?
pls tell me logic ,
i will be waiting for eply
regards
eswarHi,
<b>ALV Grid List with sub-totals</b>
REPORT z_demo_alv_sort.
* This program lists orders (VBAK) with sort and sub-total for *
* 'sold-to-party' (KUNNR) and 'Sales organization' (VKORG) *
TABLES : vbak.
TYPE-POOLS: slis. " ALV Global types
SELECT-OPTIONS :
s_vkorg FOR vbak-vkorg, " Sales organization
s_kunnr FOR vbak-kunnr, " Sold-to party
s_vbeln FOR vbak-vbeln. " Sales document
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " Document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
PERFORM f_read_data.
PERFORM f_display_data.
* Form f_read_data
FORM f_read_data.
SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
FROM vbak
UP TO p_max ROWS
WHERE kunnr IN s_kunnr
AND vbeln IN s_vbeln
AND vkorg IN s_vkorg.
ENDFORM. " F_READ_DATA
* Form f_display_data
FORM f_display_data.
DEFINE m_fieldcat.
add 1 to ls_fieldcat-col_pos.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = 'VBAK'.
ls_fieldcat-do_sum = &2.
ls_fieldcat-cfieldname = &3.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
add 1 to ls_sort-spos.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
ls_sort-subtot = &2.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv,
lt_sort TYPE slis_t_sortinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
ls_layout TYPE slis_layout_alv.
m_fieldcat 'VKORG' '' ''.
m_fieldcat 'KUNNR' '' ''.
m_fieldcat 'VBELN' '' ''.
m_fieldcat 'NETWR' 'X' 'WAERK'.
m_fieldcat 'WAERK' '' ''.
m_sort 'VKORG' 'X'. " Sort by vkorg and subtotal
m_sort 'KUNNR' 'X'. " Sort by kunnr and subtotal
m_sort 'VBELN' ''. " Sort by vbeln
ls_layout-cell_merge = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
TABLES
t_outtab = gt_vbak.
ENDFORM. " F_DISPLAY_DATA
***************** END OF PROGRAM Z_DEMO_ALV_SORT **********************
Regards
Sudheer -
How to know the total items inside the rowSetInfo.
How can i know the total items inside the rowsetInfo. I have only 1 column of table for the rowSetInfo. It's called "BankrowSetInfo". How to know how many items are there inside the rowSetInfo.
Need more information.
How do you want to display the info? Are you creating an applet/application/jsp/file output or what? Are you using DACF?
Also, You said you only have 1 column. If you actually have more than 1 column ( more than 1 AttributeInfos for your RowSetInfo ) and are using DACF, use the InfoSwing GridControl or set up multiple TextFieldControls, one for each column.
Hope I answered the right question.
Cheers -
How do I get totally rid of the update to iOS 7.1.2 on 23MB for my iPhone 5?
How do I get totally rid of the update to iOS 7.1.2 on 23MB for my iPhone 5?
Do I need improvement of iBeacon connectivity and stability?
Do I need a bug fix for data transfers for some 3rd party accessories, including bar code scanners?
Do I need to correct and issue with data protection class of Mail attachments?You can't "get rid" of update notifications without doing the update. But then again if you wait for a while there will be iOS 8 available.
-
hi I am attempting to use a Zed R-16 with Logic Pro 9, how can I setup a bounce for output 17-18 this is where the mixer sums (the audio outputs on the zed come through 17-18)
I would like to be able to quickly bounce down my mixes, through the Zed outputs.Pancenter...
Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
+1 on the UAD stuff....
Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
Thread 32:
0 libSystem.B.dylib
0x94c29afa mach_msg_trap + 10
1 libSystem.B.dylib
0x94c2a267 mach_msg + 68
2 ...tope.audioplugins.AU.Trash2
0x667bd57a catch_exception_raise + 250
3 libSystem.B.dylib
0x94c57259 _pthread_start + 345
4 libSystem.B.dylib
0x94c570de thread_start + 34
That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all! -
How to get the total pages in ALV report?
Hi guys,
Since I used page breaks can somebody please help me on how to get the total pages in ALV report?sincerely please...thanks guys.automatic display total page.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
r -
How to put the alv output into the spool request?
Hi guys,
How to put the alv output into the spool request?
Thanks!Hi
Sending an ALV List screen output to SPOOL
Convert ALV list to PDF and send mails to respective persons
Regards
Pavan -
How to count the total lines of the file (including the file header)
Hi all,
I am working with Idoc to file scenario(FCC).
I need to map one of the field with a recound count ie.., count of the total lines of the file (including the file header).
Eg:Record Count-- mapping area:Total number of records in the file including file header The total line of the file (including the file header).
Can i get a help on this.
Thanks and Regards,
ManojHi !
If there is a tag of your IDOC that occurs the same quantity of times as file lines you have to create in your target file, you could make a Java user defined function in graphical mapping that "caches the entire queue" (use the corresponding option button), that receives as input that field of the IDOC, and returns the "lenght" (.length property value) of that input parameter (it is an array) as output..that should be the file line quantity..you may also add 1 to that count, for the header.
Hope it helps.
Regards,
Matias. -
How can change the font in the script output and the data grid ?
How can change the font in the script output and the data grid in Sql Developer?
You can't easily unless you have the latest version (2.1.1).
If you do have this version then changing the font in the Tools/Preferences menu under the code editor/fonts section will also change the font of the data grid.
For details of changing the fonts in an earlier version then see Sue's post below.
http://sueharper.blogspot.com/2010/03/back-to-basics-changing-font-setting-in.html -
How can I show Totals in at the footer?
Hi,
I want to create a List (Report) with a Number column say (Amount), and there are certain number of transactions on the page. How can I show Total Amount at the bottom of report?
Thnx in advance.BalusC, thnx for ur help. This means there is no other way that v we can add some number columns using jsp. In anyways we will have to populate totals using backing beans.
Thank u very much :) -
Does the RCA OUTPUT on the CDX-GT56UI Car Stereo have both Sub and PRE-OUT? if so how do I switch to PRE-OUT?
Hello Richard,
The unit has 2-channel Preamp Outputs on the rear of the receiver, used for connecting external amps. This unit doesn't have Sub Preamp Outputs.
The rear preamp outputs can be set in the menu to output a full range signal to the rear channels, or a filtered signal to a subwoofer. When set to subwoofer, the output typically has a selectable low-pass filter and is non-fading. You can change the rear preamp outputs by selecting REAR/SUB option under Setup menu of the unit.
If my post answers your question, please mark it as "Accepted Solution".
Thank you for your post. -
How to find the total size of the database before the Restore.
Hi Guys,
I'll do a Restore, but I do not know the environment and need to know what the total size of the database to create a storage area.
Is there any way to find out the total size of the database(including all datafiles and temp) using only the RMAN catalog before running the Restore.
I'm using Tivoli TSM with ASM.
Levi PereiraHi tychos,
break on report
compute sum of TOTAL_DB on Report
select 'DataFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_datafile
where db_name = 'ORCL'
UNION ALL
select 'TempFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_tempfile
where db_name = 'ORCL'This query returned I had 372 Gbytes of data.
At the end of the Restore Database got the size of 408 Gbytes.
The total size of all Redo was 3Gbytes that was not being counted anyway there was a difference of 33Gbytes.
I need to understand the reason for the difference in sizes.
It makes no sense to me RMAN catalog does not inform the total size of the database (Datafiles, tempfiles, Redo and controlfile) before the Restore since it's information is already somewhere.
Thanks for your help.
Levi -
What is the AC output for the orgnal charger for Camelio x100?
hi,
I lost my ac adapter for my Camelio X100 camera. I want to know the AC output for the orignal adapter because I need to buy a new one.
Please if you have same camera model (Camelio X100) just take a look for PC adapter and tell me how much ouptu volt and output Amp ?
Best RegardsYou should archive the material in it's native format so that you have the possibility to revisit the project and make changes or generate master files in other formats.
Use the Media Manager to consolidate your project into a single enclosing folder. This can be compressed into a .zip file or disk image. It will save space if you dont include render files, even more if you make the material that came from tape, offline -although you will have to recapture in that case.
Maybe you are looking for
-
ISQL*Plus - How to use it?
I don't have any kind of database installed in my PC nor do I intend to do so. I want to use SQLPlus on a remote database. People here mentioned I could do that with iSQLPlus. I went to the following site http://www.oracle.com/technology/obe/obe9ir2/
-
Composite Domains in SSIS with spaces in field
I'm trying to send in a Composite Domain into SSIS by the method of concatenating two fields to make up the domain: KB has 2 domains: > Shape (e.g. Triangle) > Sides (e.g. 3) If I try to map into a Composite Domain that uses Shapes and Sides, by usin
-
I can not print a label from USPS. I have downloaded adobe reader to my Mac OS X, 10.7.2. I have tried numorous times, but the label will not appear on th computer for me to print. can you help?
-
I bought my iPod because I was under the impression that it payed for the songs you wanted...&& yet I have to pay more on iTunes ?!? Windows XP Windows XP
-
Article creation--How to create purchase view
Hi, I am using BAPI_MATERIAL_MAINTAINDATA_RT to create Article. I am able to create article using Basic view, Log. DC view etc. There is no purchasing view in HEADDATA. Also fields like Purchase organization, net price etc are not present in any stru