Re: Accessing a paradox table from a C# application...
- From: jason.pell@xxxxxxxxx
- Date: 9 Mar 2007 11:01:30 -0800
On Mar 9, 10:08 am, "Larry DiGiovanni" <nos...@xxxxxxxxxx> wrote:
<jason.p...@xxxxxxxxx> wrote:
Now, the table is (supposed) to be set to have the model, serial,
and timestamp set as the primary key. This would lead me to expect
that if I try this query:
SELECT TOP 1 * FROM ModelSer ORDER BY Timestamp
If the PK is in the order you provided, then ordering by timestamp wouldn't
be helped by the PK, which is ordered by other stuff first.
What ODBC driver are you using (vendor and version)?
How much faster is the query if you strip off the PX?
How many rows are in ModelSer?
What are you using to restructure the table to add the PK back?
--
Larry DiGiovanni
Thank you for all of your replies.
First, I have no control over the network because we are contracting
with large corporation and have to use whatever network they are
using. The ODBC driver that I am using is the Microsoft Paradox
Driver. This is where I discovered something...in my test
environment, I was actually using Paradox 5.0. Unknown to me, they
had upgraded to Paradox 7.0. Apparently, the Microsoft Paradox Driver
doesn't support 7.0. I have since explored the Merant(?) ODBC driver
and have made some progress there. Does this seem to be the correct
route to take? I am much more familiar with MySQL and MSSQL, and we
are trying to slowly move away from Paradox so that we are consistent
in with DBMS's.
To answer some more questions, there are about 300,000 rows in
ModelSer on my test environment. I'm not sure how many are on the
actual machine (I'm actually taking a day off from work today, so I'm
not in the office), but it is probably about the same. When I strip
off the PX driver, it takes probably 20 seconds to run the query.
When the PX table is there it takes about 140 seconds. To be
specific, this is the query where I order by Timestamp. To
restructure the table, I am using Borland Database Desktop 7.
Finally, I apologize if this is the incorrect newsgroup, but as I
mentioned earlier, I have little experience with Paradox, so this
seemed to be a good fit as to where to get help. Thanks again,
everyone!
Sincerely,
Jason Pell
.
- Follow-Ups:
- Re: Accessing a paradox table from a C# application...
- From: Anders Jonsson
- Re: Accessing a paradox table from a C# application...
- From: Michael Israel
- Re: Accessing a paradox table from a C# application...
- References:
- Accessing a paradox table from a C# application...
- From: jason . pell
- Re: Accessing a paradox table from a C# application...
- From: Larry DiGiovanni
- Accessing a paradox table from a C# application...
- Prev by Date: Saving and reading JPG in PDOX 11
- Next by Date: Re: Accessing a paradox table from a C# application...
- Previous by thread: Re: Accessing a paradox table from a C# application...
- Next by thread: Re: Accessing a paradox table from a C# application...
- Index(es):
Relevant Pages
|