Board index » delphi » 16 bit BDE faster than 32 bit BDE?
Cash Fole
![]() Delphi Developer |
Sun, 03 Feb 2002 03:00:00 GMT
|
Cash Fole
![]() Delphi Developer |
Sun, 03 Feb 2002 03:00:00 GMT
16 bit BDE faster than 32 bit BDE?
Hi,
I just inherited a situation (mess) with a multi user Paradox application. Is there something I should look for in the way tables are managed? Is Thanks in advance, Cash |
Bill Tod
![]() Delphi Developer |
Sun, 03 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?One thing that can cause a delay in opening tables is a virus checker running on the server that checks all files as they are opened. Bill -- Bill Todd - TeamB |
Brian Bushay Tea
![]() Delphi Developer |
Mon, 04 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?Quote>I just inherited a situation (mess) with a multi user Paradox application. You need to structure the application so that forms and tables are only opened when they are first needed and not open everything on startup Quote
Paradox tables. -- |
Markku Nevalaine
![]() Delphi Developer |
Mon, 04 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?QuoteCash Foley wrote: with Access database is much, much faster than with BDE/Paradox. He said that opening and sorting a 250.000 record file only takes two minutes with Access, and that was supposed to be extremely fast. I did create 250.000 record test application also, and tried to open SELECT * FORM PARTS Delphi version Win95 NT4.0 The record count, 250.000, was the same, but otherwise the test material But the strange and interesting part is that 16-bit BDE on D1 was When D2 came on the market, there were benchmarks that showed DB-accessing Markku Nevalainen |
Qamar Al
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?Hello Everybody, I repeat Bill's point that it's the OS which is causing the considerable Without the BDE Optimizations, a query with an Access Table (2 million I don't know specifically about these optimizations! But please let me know if you happen to come across that information! Qamar Ali, |
Markku Nevalaine
![]() Delphi Developer |
Sat, 09 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?QuoteQamar Ali wrote: with BDE/Paradox networked databases NT server is slower than W95/98 servers. But in my single user tests I got NT always to be faster. Also I did run my tests on FAT-16 partitions only. And everything was run Quote> Without the BDE Optimizations, a query with an Access Table (2 million took about 2 minutes to sort the 250.000 record database, and all the BDE versions did it much under 2 minutes, then the BDE optimization can't be totally wrong. If anyone can show any numbers, where BDE-32 is faster than those 16-bit Also, if someone has some kind easily distributable standardized data Markku Nevalainen |
Gate
![]() Delphi Developer |
Sat, 09 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?Quote> I repeat Bill's point that it's the OS which is causing the considerable I using Both TTable & Query with Paradox 7 Thanx! |
Jolli..
![]() Delphi Developer |
Mon, 11 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?I have written two simple sql timing apps one 16 bit and one 32 bit (from Delphi2 - version 3.0 I think ???) and run them on the same machine, specifically because: a) the same sql syntax can generate different results on 16 bit and 32 bit (particularly outer joins with where clauses) b) an outer join with where clauses (replace 'and' with 'where' in 32 bit to get the same results) the speed difference was 0.14 secs on the 16 bit and 16 secs to 20 secs on the 32 bit. This is joining a 600 record table with a 400 record table (paradox). The 32 bit BDE is therefore unusable to me under these conditions (for a commercially distributed app). Particularly as after porting the app many queries returned different results. Incidentally in SIMPLE sql 'select * from . . ' type operations on paradox tables of this size the 32 bit typically takes 25% to 50% longer than the 16 bit. Any answers on any or all of the questions below would be very welcome: Thanks John Olliver |
Nick Spurri
![]() Delphi Developer |
Mon, 11 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?The 16-bit BDE used QBE (in other words translated the SQL internally to QBE) for all SQL queries. QBE is Paradox's native query format and for which it was optimised. Therefore 32-bit queries do take longer to run. The different results between 16-bit and 32-bit BDE will be Optimisation efficiency depends a lot on the target systems. Nick Spurrier (MoDESoft, UK) |
Markku Nevalaine
![]() Delphi Developer |
Tue, 12 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?QuoteNick Spurrier wrote: that QBE (Query By Example) was a tool to get data from real SQL databases, not from dBase or Paradox databases. ALL the BDE versions are ALWAYS supposed to be Native tools when BDE is a bunch of .DLL files, that do get loaded to workstations If there was that quick way, if the quick cource code available As you can see, I really don't understand anything in here. Really Markku Nevalainen |
Jan Sprenge
![]() Delphi Developer |
Tue, 12 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?On Fri, 27 Aug 1999 01:27:53 +0200, Markku Nevalainen <m...@iki.fi> wrote: Quote>In this combination, either in stand alone PC or networked environment, following: With 16-bit BDE, there is a QBE engine that translates QBE to native SQL queries in 16-bit BDE for local tables are translated to QBE, so The 32-bit BDE still has this QBE engine, though it is normally not The code that translated SQL to QBE is probably not present anymore in Jan |
Markku Nevalaine
![]() Delphi Developer |
Tue, 12 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?QuoteJan Sprengers wrote: If 32-bit BDE, and the SQL queries there, does not use native BDE table calls to access Paradox tables, then what is called that means they use? What is that layer called, through what the SQL commands have to go, when accessing Paradox data then? It can't be ODBC layer or something? Or maybe there is some "Open and standard SQL Layer" or something BDE is the most native way, and the only way, to access for instance Markku Nevalainen |
Jan Sprenge
![]() Delphi Developer |
Tue, 12 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?On Fri, 27 Aug 1999 13:20:31 +0200, Markku Nevalainen <m...@iki.fi> wrote: Quote>If 32-bit BDE, and the SQL queries there, does not use native BDE table fact, it wouldn't be illogical to suppose that SQL -> QBE -> native access (16-bit BDE) would be slower than SQL -> native access (32-bit BDE) because it requires one extra step. Native access supposingly being something that is very close to a TTable cursor. There is one thing I should have stressed a bit more, though. Local QBE OTOH, takes better advantage of indexes. Also, the extra step Nevertheless, when local SQL would be properly optimized, I see no Jan |
Markku Nevalaine
![]() Delphi Developer |
Tue, 12 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?QuoteJan Sprengers wrote: with 250.000 records, and there were no indexes at all. Quote> Nevertheless, when local SQL would be properly optimized, I see no is this simple: SELECT * FROM PARTS ORDER BY FIELD_17 With as simple test as this, one really can't put much blame on Yet, if someone knows some general optimizing tricks, and even Markku Nevalainen |
Jan Sprenge
![]() Delphi Developer |
Wed, 13 Feb 2002 03:00:00 GMT
Re:16 bit BDE faster than 32 bit BDE?On Fri, 27 Aug 1999 18:53:02 +0200, Markku Nevalainen <m...@iki.fi> wrote: Quote>Well, but how do you optimize anything, when the SQL sentence mortals or the local SQL engine developers? If the former, I agree, we have little options. In the latter case, however, there are a few considerations, even if If no cursor stability is required, the user could request a live Then even for non-live queries, there are several options for creating All options need a read lock on the table. My guess is that local SQL Whether 16-bit BDE was better optimized than 32-bit BDE or not remains Quote>Yet, if someone knows some general optimizing tricks, and even Jan |
1. 16 bit BDE faster than 32 bit?
2. Locking issues between 16 bit BDE and 32 bit BDE
3. BDE 32 bit install with 16 bit BDE previously installed
5. 32 bit bde with 16 bit odbc
6. Delphi/BDE 16 bit VS 32 bit
7. 16 bit and 32 bit BDE with same table
8. 32 bit BDE with 16 bit ODBC Drivers