Bug 140071 - Too long to get data when it get 'Refresh' on pivot table option
Summary: Too long to get data when it get 'Refresh' on pivot table option
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Pivot-Table Database-Connectivity
  Show dependency treegraph
 
Reported: 2021-02-01 19:51 UTC by Daniel
Modified: 2023-05-04 03:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2021-02-01 19:51:40 UTC
Description:
Aproximately 10 minutes take to have new data from mysql database, store and manage using libreoffice base for other users, in colaborate mode.

The pivot table is configured in a libreoffice Calc table which point to mysql database, using jre class pluging JDBC, configured in Calc previously. 

Steps to Reproduce:
1.Insert or Edit any data, using libreoffice Base,using Forms. 
2.After store the data, got to libreoffice Calc file.
3.Right click on pivot table place, and the get "Refresh"


Actual Results:
Take around 10 minutes to get data. It doesn't matter if it is a large amount of data.

Expected Results:
Get the data on pivot table in seconds, that is te same amount of time when you get data in libreoffice Base, when you run a Query


Reproducible: Always


User Profile Reset: No



Additional Info:
I'm using query to get data on pivot tables in libreoffice calc.
Comment 1 m_a_riosv 2021-02-04 15:57:45 UTC
Does it happen when you do a 'data to text' and the time to update it?
Comment 2 Buovjaga 2022-01-27 12:13:16 UTC
(In reply to m.a.riosv from comment #1)
> Does it happen when you do a 'data to text' and the time to update it?

Setting to needinfo while we wait for reply.

Daniel: does this only happen with an external database or also without one? It is quite hard for us to test, if we need to construct a database for this. It would be nicer, if you can attach a file.
Comment 3 QA Administrators 2022-07-27 03:38:12 UTC Comment hidden (obsolete)
Comment 4 Daniel 2022-07-28 05:50:29 UTC
Hi,

External Database only. Tested locally (localhost) and  under intranet network the time is ok, take a several seconds.  But when you mount that database on an external internet server, we get the issue; moreover, consider in this case,  that Using libreoffice Base, data can be reach in seconds. But, when you use pivot table under libreoffice calc, the issue is evident.

About the files, let me mount the database on a server, and I sent to you the IP address, and aunthentication in order to reproduce this issue.

Actually, because it’s a long time I’ve submitted this bug, it’s possible this issue has been fixed, in that case I let you know.

Thanks for you support.

Regards,
Comment 5 Roman Kuznetsov 2022-09-20 16:36:28 UTC
Daniel, what LibreOffice version do you use and what OS?
Could you please try repeat your problem in latest LO 7.4.1?
Comment 6 Daniel 2022-10-03 20:37:44 UTC
Yeah, I'm on it. I've uploaded the mysql data base on external server in order to reproduce. But Apparently, the name of the new database doesn't match with the libreoffice file in mention.

Could you guide me how I can chance the database name incrusted somewhere in the libreoffice cal file? Apparently there is no way to do that directly in the libreoffice suite.

I'm using libreoffice office 7.4.1.2.
Comment 7 Buovjaga 2022-10-03 21:01:34 UTC
(In reply to Daniel from comment #6)
> Yeah, I'm on it. I've uploaded the mysql data base on external server in
> order to reproduce. But Apparently, the name of the new database doesn't
> match with the libreoffice file in mention.
> 
> Could you guide me how I can chance the database name incrusted somewhere in
> the libreoffice cal file? Apparently there is no way to do that directly in
> the libreoffice suite.
> 
> I'm using libreoffice office 7.4.1.2.

You can unzip the Calc file as it is really a zip file in disguise. You will find a content.xml file. Open it with a text editor and search for the database name (I hope it helps & works).

The XML is one huge line by default. This can be changed by going to Tools - Options - LibreOffice - Advanced - Expert configuration and searching for 'pretty'. You will see an a property called PrettyPrinting associated with document saving. Double-click it to change its value to true.

You can also pretty print XML after the fact with various tools, such as this online one (copying & pasting): https://onlinexmltools.com/prettify-xml
Comment 8 m_a_riosv 2022-10-04 20:56:57 UTC
Menu/Edit/Database - Properties, should give access to database connection.
Comment 9 QA Administrators 2023-04-03 03:23:21 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2023-05-04 03:22:12 UTC
Dear Daniel,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp