Export to Text File Slow

Post Author: shfisher
CA Forum: Older Products
We have a fairly complex report written in Crystal 8 that displays within seconds in the viewer.  A user routinely exports this report to a text file, and until approximately three weeks ago, the export also took less than 30 seconds.  Now the export is taking approximately three minutes.  I have seen similar posts on this topics but no solutions.  Are records queried differently for an export?  What could have caused this sudden slowdown?

Post Author: sarojmishra
CA Forum: Older Products
I have very big Database and it contains more then 600 millions of records. 
Everyday, I am generating different report by using 30 millions of record.
I have 4 no of similar high end system.
3 systems are giving the result within 4 hours but one system giving result after 8 hours.
I verified the table space, indexes, system configuration and code. There are no differences.
My system performance tools saying BO and Oracle taking more time.
Oracle is giving result very fast using BO query.
So, I hope BO is having some difference.
Any solutionu2026
With Regards,
Saroj Mishra

Similar Messages

  • Export to text file very, very slow

    Hi, I am running 2.1.0.63 and doing an export of a query to a text file. The export was 66000 rows, but took incredibly almost around 2 hours to finish. The row counter in the status bar was very slow. The same exact query/export under 1.5.4 ran in about 5 mins. The row counter on both the fetching and exporting was just flying by.
    Has anybody else experienced this ? What could be causing it to run that slow under this release ?
    The other issue I have is once there has been no activity for a while, sqldeveloper hangs has to be restarted. I saw this being addressed in another post however, and will follow it there.
    Any ideas on when a patch will be made available to this release ?
    BTW, I really like some of the other new features of this release.
    Thanks,
    Mark

    Ok, I think the issue was that I was exporting to a shared network drive. I redid it, saving it locally and it worked fine.
    I still have the issue of inactivity and having to restart sqldeveloper.
    Thanks.

  • Export to Text File

    Post Author: hepburn
    CA Forum: Exporting
    I'm using Visual Studio 2005 Team Suite which I believes has Crystal Reports 10 installed.I'm trying to export to a text file. Here's the code I have so far:        DiskFileDestinationOptions diskOpts =        ExportOptions.CreateDiskFileDestinationOptions();        // set the export format        ExportOptions exportOpts = new ExportOptions();        exportOpts.ExportFormatType =           ExportFormatType.RichText;        exportOpts.ExportDestinationType =           ExportDestinationType.DiskFile;                diskOpts.DiskFileName = AbsolutePath("c:/pleasework.txt");        exportOpts.ExportDestinationOptions = diskOpts;        _crReportDocument.Export(exportOpts);Is RichText the only text option I have?? I've been googling and it sounds like I may need to install a dll to export to text. Can anyone confirm that?Thanks much...

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Brown ([email protected]):
    Liv,
    Just tried with an individual file export and this worked. What are you trying to export?
    David<HR></BLOCKQUOTE>
    null

  • Export to Text file does not page

    Since I applied SP 7 for Crystal 9, when I export a report to a text file it does not page and print the report header on each page. It prints the report header once and one lone continuous page of information. My report was export to text with a page header on each page before I applied the service pack. How do I get it to page in the text export and print the page header on each page?

    In 8.5 the default behavior of the export to text was to not paginate. With 9 you have a paginate option when you manually export data to text, however when processing in batch 
    Mary Vertz wrote:
    export in the background
    you had no such option and it simply defaulted to 60 even for those reports that were suppressing the page header. This causes those text files to have a new-page marker at the start of every 62nd line. This causes the data on that line to be moved 1 character to the right and caused many issue with 8.5 backwards compatibility as this functionality was used for flat file interfaces for instance with the bank for positive pay.
    In SP7 they addressed this issue and changed the default behavior to not paginate and enabled a parameter to be passed to control pagination during batch processing.
    If that
    database application
    is PeopleSoft, the parameter that needs to be added to the process request is  -LN<number of lines> ex. -LN60
    Also note that the CPI can be set via the command line as well. For PeopleSoft it's -CPI<numerical value> which defaults to 12 if it isn't specified.
    Unfortunately I do not have the SP7 release notes handy to provide more detail on these options.
    Thanks
    Drew

  • Problem with alv output export to text file

    hi experts,
    when iam exporting alv output to text file,
    some data is missing in text file.say for example sold-to-party value is 1155027 in alv out put,but in text file it is showeing only 115502 ,
    the last digit is missing,
    can anyone help urgent!!!!!

    and when you export it to excel?
    from here you could save it as text file too...
    A.

  • Add/Remove Programs - export to text file?

    Hello,
    I am wondering if it is possible to export a list of everything in add/remove programs to a text file for inventory purposes.
    I have not found any easy method to do this short of copying reg files or installer 3rd party software.  Since the idea is to save time neither of those are viable solutions.
    Does anyone have any ideas?
    -Justin

    You could try this vbs script that lists installed programs and add info to a text file.
    Michael Petersen
    Option Explicit  
    Dim sTitle  
    sTitle = "InstalledPrograms.vbs by Bill James" 
    Dim StrComputer  
    strComputer = InputBox("Enter I.P. or name of computer to check for " & _  
                           "installed software (leave blank to check " & _  
                           "local system)." & vbcrlf & vbcrlf & "Remote " & _  
                           "checking only from NT type OS to NT type OS " & _  
                           "with same Admin level UID & PW", sTitle)  
    If IsEmpty(strComputer) Then WScript.Quit  
    strComputer = Trim(strComputer)  
    If strComputer = "" Then strComputer = "." 
    'Wscript.Echo GetAddRemove(strComputer)  
    Dim sCompName : sCompName = GetProbedID(StrComputer)  
    Dim sFileName  
    sFileName = sCompName & "_" & GetDTFileName() & "_Software.txt" 
    Dim s : s = GetAddRemove(strComputer)  
    If WriteFile(s, sFileName) Then 
      'optional prompt for display  
      If MsgBox("Finished processing.  Results saved to " & sFileName & _  
                vbcrlf & vbcrlf & "Do you want to view the results now?", _  
                4 + 32, sTitle) = 6 Then 
        WScript.CreateObject("WScript.Shell").Run sFileName, 9  
      End If 
    End If 
    Function GetAddRemove(sComp)  
      'Function credit to Torgeir Bakken  
      Dim cnt, oReg, sBaseKey, iRC, aSubKeys  
      Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE  
      Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _  
                  sComp & "/root/default:StdRegProv")  
      sBaseKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" 
      iRC = oReg.EnumKey(HKLM, sBaseKey, aSubKeys)  
      Dim sKey, sValue, sTmp, sVersion, sDateValue, sYr, sMth, sDay  
      For Each sKey In aSubKeys  
        iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, "DisplayName", sValue)  
        If iRC <> 0 Then 
          oReg.GetStringValue HKLM, sBaseKey & sKey, "QuietDisplayName", sValue  
        End If 
        If sValue <> "" Then 
          iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                    "DisplayVersion", sVersion)  
          If sVersion <> "" Then 
            sValue = sValue & vbTab & "Ver: " & sVersion  
          Else 
            sValue = sValue & vbTab   
          End If 
          iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                    "InstallDate", sDateValue)  
          If sDateValue <> "" Then 
            sYr =  Left(sDateValue, 4)  
            sMth = Mid(sDateValue, 5, 2)  
            sDay = Right(sDateValue, 2)  
            'some Registry entries have improper date format  
            On Error Resume Next   
            sDateValue = DateSerial(sYr, sMth, sDay)  
            On Error GoTo 0  
            If sdateValue <> "" Then 
              sValue = sValue & vbTab & "Installed: " & sDateValue  
            End If 
          End If 
          sTmp = sTmp & sValue & vbcrlf  
        cnt = cnt + 1  
        End If 
      Next 
      sTmp = BubbleSort(sTmp)  
      GetAddRemove = "INSTALLED SOFTWARE (" & cnt & ") - " & sCompName & _  
                     " - " & Now() & vbcrlf & vbcrlf & sTmp   
    End Function 
    Function BubbleSort(sTmp)  
      'cheapo bubble sort  
      Dim aTmp, i, j, temp  
      aTmp = Split(sTmp, vbcrlf)    
      For i = UBound(aTmp) - 1 To 0 Step -1  
        For j = 0 to i - 1  
          If LCase(aTmp(j)) > LCase(aTmp(j+1)) Then 
            temp = aTmp(j + 1)  
            aTmp(j + 1) = aTmp(j)  
            aTmp(j) = temp  
          End if  
        Next 
      Next 
      BubbleSort = Join(aTmp, vbcrlf)  
    End Function 
    Function GetProbedID(sComp)  
      Dim objWMIService, colItems, objItem  
      Set objWMIService = GetObject("winmgmts:\\" & sComp & "\root\cimv2")  
      Set colItems = objWMIService.ExecQuery("Select SystemName from " & _  
                                             "Win32_NetworkAdapter",,48)  
      For Each objItem in colItems  
        GetProbedID = objItem.SystemName  
      Next 
    End Function 
    Function GetDTFileName()  
      dim sNow, sMth, sDay, sYr, sHr, sMin, sSec  
      sNow = Now  
      sMth = Right("0" & Month(sNow), 2)  
      sDay = Right("0" & Day(sNow), 2)  
      sYr = Right("00" & Year(sNow), 4)  
      sHr = Right("0" & Hour(sNow), 2)  
      sMin = Right("0" & Minute(sNow), 2)  
      sSec = Right("0" & Second(sNow), 2)  
      GetDTFileName = sMth & sDay & sYr & "_" & sHr & sMin & sSec  
    End Function 
    Function WriteFile(sData, sFileName)  
      Dim fso, OutFile, bWrite  
      bWrite = True 
      Set fso = CreateObject("Scripting.FileSystemObject")  
      On Error Resume Next 
      Set OutFile = fso.OpenTextFile(sFileName, 2, True)  
      'Possibly need a prompt to close the file and one recursion attempt.  
      If Err = 70 Then 
        Wscript.Echo "Could not write to file " & sFileName & ", results " & _  
                     "not saved." & vbcrlf & vbcrlf & "This is probably " & _  
                     "because the file is already open." 
        bWrite = False 
      ElseIf Err Then 
        WScript.Echo err & vbcrlf & err.description  
        bWrite = False 
      End If 
      On Error GoTo 0  
      If bWrite Then 
        OutFile.WriteLine(sData)  
        OutFile.Close  
      End If 
      Set fso = Nothing 
      Set OutFile = Nothing 
      WriteFile = bWrite  
    End Function 
    Deploy deploy deploy

  • How do I export to text file and suppress the cr-lf at end of row?

    Hello.
    I have created a report that is mean to export to a text file.  It will always be a 1 row report and it's always going to be uploaded to a vendor via their website.  They don't want the cr-lf at the end of the row.
    I can't figure out how to get crystal to not do that.  When I export to a text file (not a tab delimited text file), it seems to throw in the cr-lf at the end of the row.  I have to manually remove it before uploading it.  This task of uploading the file will go to someone else in the near future and I would like to not have to rely on them to do it.
    Am I missing it?

    Could you please elaborate what do you mean by 'cr-lf'. Just came across these SAP notes,however don't know whether they are applicable in your context.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313331333533303333%7D.do
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313333333333373332%7D.do
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333033383337%7D.do
    Thanks

  • How to export to text file without ruin the format

    Hi guys,
    I need some help here. My company recently come with the decision to print the mainframe report file that usually come as a text file, to a virtual printer. This virtual printer is printing the report as Adobe PDF format. The problem is, my Line of Business have a macros on Excell file that will grab the information from the text file to be processed in the Excell format. I tried to use Adobe Professional 8 to re-convert the PDF file to be text file, but the result is, most of the blank space is gone, and it is align to left, thus make it unusable to the Excell file.
    Unfortunately, I can't provide you the sample of the document, because it contain classified customer info.
    But appreciate if you can give me some advice.
    Thanks and Regards.

    It sounds as if you are dealing with untagged PDF.
    Tagged output PDFs, with a well-formed structure, provide (amoung other things) the ability to Save As/Export
    content to some other applications with all or most of the layout/format intact.
    I suspect that the output PDFs you have are untagged.
    As there is, currently, a rather limited number of applications that support adequate tag management
    (FrameMaker, InDesign, MS Word (via Adobe's PDFMaker & to a much lesser extent with Office Save As to PDF - XPS)
    I suspect the mechanism used to provide your PDFs won't cut it with regards to providing a tagged output PDF having a
    well-fomed structure (which would include dictionaries containing format/layout data).
    As alluded to by Bernd, there may be third party plug-ins that might help.
    The more reliable/functional ones tend to not be inexpensive.
    Be well...

  • Can I Export to Text File?

    hi,
    can i export my ical events to a text file?
    thanks.
    samantha

    I have figured out a way to do this with free available programs:
    Download this program:
    http://www.nirsoft.net/utils/faview.html
    Faview will allow the bookmarks exported in html format to be saved as a text file. This text file is in a uniform state.
    Open the text file with a spreadsheet program. I used the free program called spread32.exe that can be found anywhere on the internet.
    Highlight all the columns and do a sort by Column A. The urls will now be in alphabetical order at the bottom of the spreadsheet. Cut and paste into a new text file.

  • Manual Export to Text files

    Hi all,
    I have done the logic to manually export oracle data to text files through java classes. but when we tried to execute the script in test server, there were some column values missed out.
    I have used the very basic procedure.
    "SELECT * FROM table Name". and writing the records to a text file using file writer.
    Can anyone make it clear what could be the reason for the missing records?
    Thanks in advance.

    No, I have not used Spool. Just writing to the text file using file writer. missed records are no the last one. some values in the middle.
    for example (delimited coulmn values)
    fname|lname|ssn|age|gender|country|zip
    aaa|bbb|123|24||india|12345
    gender cant be null, but i am getting empty record value for gender in text file.

  • Export to text file shows extra character at line 60, 120 so on

    Hi,
    I am using Crystal report 13 with .net 4.0 ( Visual Studio 2010)
    I have an issue while exporting from CR to Text file,
    After every 60 lines some special character is inserted in the text file. That might be the new page character.
    Is this the limitation of crystal report that the data is not shown is pages?
    If yes, if there any workaround for this?
    Can I set the pagination off for the report- either from .net code OR on the report itself so that I wonu2019t see the unwanted character?

    [CR for VS 2010 .NET SDK developer guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    [CR for VS 2010 API reference guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
    See if this helps,
    Bhushan.

  • Export to text file/sqlfile

    I would like to export my oracle 10g DB to text file /sql file in order to import into Mysql db. suggest me how to do it. thanks in advance.

    In 8.5 the default behavior of the export to text was to not paginate. With 9 you have a paginate option when you manually export data to text, however when processing in batch 
    Mary Vertz wrote:
    export in the background
    you had no such option and it simply defaulted to 60 even for those reports that were suppressing the page header. This causes those text files to have a new-page marker at the start of every 62nd line. This causes the data on that line to be moved 1 character to the right and caused many issue with 8.5 backwards compatibility as this functionality was used for flat file interfaces for instance with the bank for positive pay.
    In SP7 they addressed this issue and changed the default behavior to not paginate and enabled a parameter to be passed to control pagination during batch processing.
    If that
    database application
    is PeopleSoft, the parameter that needs to be added to the process request is  -LN<number of lines> ex. -LN60
    Also note that the CPI can be set via the command line as well. For PeopleSoft it's -CPI<numerical value> which defaults to 12 if it isn't specified.
    Unfortunately I do not have the SP7 release notes handy to provide more detail on these options.
    Thanks
    Drew

  • Export to text file cuts off data...

    I have a report that contains fixed width formuals that are in a text box.  The data is 496 char wide.  It will preview fine in a small font - but when I export to a text file it re-sizes the font to courer new 10 and cuts off data after 80 char.  Any ideas?

    hi
    as per my experience crystal has got some weird limitation in export.
    AG

  • Export to text file fails

    Hi
    I'm using Designer 6i (release 2) on NT. When I try to export to a text-file nothing happens. This only works if I choose a container and not for a object at a lower level.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Brown ([email protected]):
    Liv,
    Just tried with an individual file export and this worked. What are you trying to export?
    David<HR></BLOCKQUOTE>
    null

  • Lost decimal point after export to text file

    Dear All,
    I have problem which to beset me long long time. I haven't dug the cause yet. Actually, I have a program which will generate a text file in background everyday. The text file included po data which is create last day, such as po no, item, unit price etc. But sometimes, not every times, one of item data's unit price will lost the decimal point in the text file, for example, the po unit price is 18.80 stored in database. but the outcome is 1880 in the text file. Do you have encountered such kind of problem? Thanks!

    Hi
    sorry cant get you..
    need some more explanation
    can you send me the code
    Regards
    V.Balaji

Maybe you are looking for

  • I'm not able to access goolge docs with the blackberry browser (it worked fine till a few weeks ago)

    I'm not able to access google docs with the blackberry browser (it worked fine till a few weeks ago) seems that this issue happens to a lot of people is google going head to head with Blackberry ? or is this just a bug ?  Message Edited by avolcoff o

  • Shift wise production report

    hi Exprts, Process: I shift starts at 6.00 am and ends at 14.00 hrs II shift starts at 14.00 hrs and ends at 22.00 hrs III shift starts at 22.00 hrs and ends at 6.00 am (next day) 3.We confirm the qty in the t.code CO11N The requirement is : How to t

  • Font export issue

    When I export my InDesign files (CS5) to pdf, some of the fonts in the graphics become rectangles. I use FontEpxlorerPro, and I can see all the fonts are actie in that program. Does anyone know what is causing this?

  • How can I set iPad and iPhone with IOS6 to do not remember wifi and proxy credential

    My company want to implement the Password Policy to limit the failure logon count. Such as Lock users if they try logon with invalid password for 3 times. The problem occur on iPad and iPhone   my iPad using IOS6. and user had change their password.

  • Printing Calendar from desktop

    When I try to print from desktop, it tries to say to print hundreds of pages for one month.  I hit cancel when it got to the thousands. Help!! Post relates to: Palm Z22