on 2023 Oct 04 6:40 PM
So I'm working with a company that is handling large amounts of medical data across roughly 10 SQL Anywhere databases. All of these databases are running in close to the latest release of SQL Anywhere 17.0.11. Something around there. Running in Linux.
Within these database environments, there are multiple proxy tables being used that allow each of the databases to access data from one database to another.
We're not dealing with one SQL Anywhere to SQL Server or Oracle. It's SQL Anywhere to SQL Anywhere.
We're dealing with a table that is being hit via a proxy table that has approximately 850,000 rows and 17 columns.
Querying from an actual table, and then joining to one of these proxy tables is running extremely slow for them.
My gut is telling me that any indexing that is in place in the actual table that contains these 850,000 rows is not available when you are joining to the proxy option of the table.
One option they have used is was to create a temporary table in the actual database they are running the query on, and dumping the contents of the proxy table into temporary table.
That speeds it up at some level.
Are there any options to get any indexing to work across a proxy? Or is that a non-option when you're querying data across a proxy table?
Thanks!
User | Count |
---|---|
62 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.