When searching large tables (> 1 mio. records) it takes a
long time until the resultset is available. We checked all
the indexes and I think thay are correct (all searched
values are in the index).
One problem may be that the ERP-software uses two CHAR(10)
fields for the primary key. But I cannot change this because
I'm not the autor of the software...
Any Ideas on how or where I can increase the performance of
the server?
Hardware doesn't seams to be the problem. The server is
running on 2-3% CPU usage and there is enough free memory.
The memorylimit of the database is set to 512MB. Increasing
this Value doesn't increase performance.
Any ideas?
If you know what the problem queries are, you can run them in dbisql
and capture the graphical plan; see the same article for some tips.
Save the plans as .XML files and email them.
What is the value of optimization_goal? For most applications it
should be all-rows.
Breck
--
Breck Carter [Team iAnywhere]
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
The book: http://www.risingroad.com/SQL_Anywhere_Studio_9_Developers_Guide.html
breck....@risingroad.com
<Thomas Troxler> сообщил/сообщила в новостях следующее:
news:45462dd0.6c5...@sybase.com...
> Very interesting, which ERP-software work on ASA?
>
> <Thomas Troxler>
ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ ×
ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
We tracked some issues of slow performance down to wrong or corrupt data
distribution statistics misleading the optimizer. I would just try to run
CREATE STATISTICS <tablename>
for the tables involved in the statements, and see if this helps.
Frank