<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — New sales_order_entry.php very slow]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10517&amp;type=atom" />
	<updated>2024-05-16T11:56:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10517</id>
		<entry>
			<title type="html"><![CDATA[Re: New sales_order_entry.php very slow]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43109#p43109" />
			<content type="html"><![CDATA[<p>No - there is only one currency in use, so that cannot be the reason.</p><p>But both customers who experience this problem - they also have over 15000 transactions.</p>]]></content>
			<author>
				<name><![CDATA[spott]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=383</uri>
			</author>
			<updated>2024-05-16T11:56:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43109#p43109</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New sales_order_entry.php very slow]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43105#p43105" />
			<content type="html"><![CDATA[<p>Are those customers have home currency or different currency.. </p><p>If different. May be the exchange rate issue.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2024-05-15T17:18:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43105#p43105</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New sales_order_entry.php very slow]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43102#p43102" />
			<content type="html"><![CDATA[<p>Hello <br />Changing the PHP version doesn&#039;t make a difference. There are quite a few products. There aren&#039;t as many customers. <br />What I discovered is that the query is slow when the customer is already selected. For example, creating the following invoice or when I have looked at transactions for the respective customer before (then the customer is already selected by default when creating a new invoice). <br />And here is the difference - I have two customers who have a considerable number of invoices every day. These customers are extremely slow. If the preselected customer has had few transactions - there are no problems. But these two customers have had thousands of orders, and this problem occurs specifically with them. <br />Can I put some additional code somewhere to see the time of SQL queries, so I can figure out why it is slow for these customers - what query takes so long?</p>]]></content>
			<author>
				<name><![CDATA[spott]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=383</uri>
			</author>
			<updated>2024-05-15T09:57:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43102#p43102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New sales_order_entry.php very slow]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43097#p43097" />
			<content type="html"><![CDATA[<p>1. Do you have more than 5000 entries in items or customers ? </p><p>2. Did you check php version like 8.2 or 8.1</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2024-05-15T08:24:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43097#p43097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[New sales_order_entry.php very slow]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43095#p43095" />
			<content type="html"><![CDATA[<p>Hello<br />Since the weekend, entering sales invoices has suddenly become extremely slow. The Inspection tool shows that opening the sales_order_entry.php file takes 2.2 minutes!<br />However, all other FrontAccounting functions are working at normal speed. Where or how should I start investigating what the problem is?<br />The trouble started over the weekend when the hosting company had an issue with the MySQL server.<br />FrontAccounting 2.4.18<br />PHP - 8.3<br />MySQL - 10.6.17-MariaDB-cll-lve<br />MySQL table optimization done</p>]]></content>
			<author>
				<name><![CDATA[spott]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=383</uri>
			</author>
			<updated>2024-05-15T03:19:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43095#p43095</id>
		</entry>
</feed>
