Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 11 to 20 of 30 total |
C/S problems |
Wed, Sep 17 2008 5:50 AM | Permanent Link |
Heiko Knuettel | >>Error #100...Are you executing any DDL statements at all when this happens ?
>I have to check. Addition : Against the disk database, no for sure. Against the memory database, maybe...I have the habit of wrapping transactions around big chunks of operations (often dml statements and dataset.edit-...-post mixed) to ensure that either everything, or nothing is executed. May be, that in some cases I create memory tables for temporary stuff and doing cross database things during a transaction. |
Wed, Sep 17 2008 6:01 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Heiko,
<< Addition : Against the disk database, no for sure. Against the memory database, maybe...I have the habit of wrapping transactions around big chunks of operations (often dml statements and dataset.edit-...-post mixed) to ensure that either everything, or nothing is executed. May be, that in some cases I create memory tables for temporary stuff and doing cross database things during a transaction. >> Okay, I checked out the DDL statements, and they all have transaction checks, so that's not it. Are you creating any temporary tables using CREATE TEMPORARY TABLE ? -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Sep 17 2008 6:07 AM | Permanent Link |
Heiko Knuettel | Tim,
>>Are you creating any temporary tables using CREATE TEMPORARY TABLE ? No, I always use memory tables for temporary stuff. Heiko |
Wed, Sep 17 2008 6:20 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Heiko,
<< No, I always use memory tables for temporary stuff. >> Okay, that makes things easier. I'm about to start running the stress tests here, but if you could keep exploring on your end I would definitely appreciate it. There's no such thing as too much information with these types of issues. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Sep 17 2008 6:49 AM | Permanent Link |
Heiko Knuettel | Tim,
thank you very much for your effort. >>I'm about to start running the stress tests here If they include only login/logoff, I think you won't succeed. I think that at some time, some client executes a command that creates some kind of "lock" on the database...and at the moment I'm absolutely in the dark what operation initiates this. If you start the server and just do X logins with EDB-Manager, it works. The "9" Users was only a current example...sometimes it happens when only 2 users are logged on. The schema is always : A random count of users log in, working a while without problems, logging on and off, doing everything...and then, absolutely unpredictable, one client can't login. Heiko |
Wed, Sep 17 2008 6:54 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Heiko,
<< If they include only login/logoff, I think you won't succeed. I think that at some time, some client executes a command that creates some kind of "lock" on the database...and at the moment I'm absolutely in the dark what operation initiates this. >> They include a database open that triggers the connection. << If you start the server and just do X logins with EDB-Manager, it works. The "9" Users was only a current example...sometimes it happens when only 2 users are logged on. The schema is always : A random count of users log in, working a while without problems, logging on and off, doing everything...and then, absolutely unpredictable, one client can't login. >> Yes, but a login wouldn't be prevented by a database lock, and I was under the impression that you cannot simply even login to the server when the problem occurs. Is that not correct ? -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Sep 17 2008 7:42 AM | Permanent Link |
Heiko Knuettel | Tim,
>>I was under the impression that you cannot simply even login to the server when the problem occurs. Is that not correct ? The first occurrence is at a "database.Open". I'm doing a successful "session.Connect" before that. Only when I'm trying to remove sessions manually from the server, during the 5-minute-freeze that occurs then, "session.Connect" fails. It happened again at the moment, and this time while in "error state" I tried to open EDB-Manager (haven't tried that before). It hangs a while, after that I get "The connection to the ElevateDB Server has timed out while waiting for a response. Would you like to stay connected and keep waiting ?" If I answer "Yes", I get "ElevateDB Error #300 Cannot lock the catalog db1 for read access." Heiko |
Wed, Sep 17 2008 8:17 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Heiko,
<< The first occurrence is at a "database.Open". I'm doing a successful "session.Connect" before that. Only when I'm trying to remove sessions manually from the server, during the 5-minute-freeze that occurs then, "session.Connect" fails. It happened again at the moment, and this time while in "error state" I tried to open EDB-Manager (haven't tried that before). It hangs a while, after that I get "The connection to the ElevateDB Server has timed out while waiting for a response. Would you like to stay connected and keep waiting ?" If I answer "Yes", I get "ElevateDB Error #300 Cannot lock the catalog db1 for read access." >> If there's an issue with the catalog locking, then that means that something is locking the catalog for update and not releasing the lock, which would be very unusual. Is the client application multi-threaded at all ? Also, exactly what DDL operations are occurring during the execution of the application ? You can see a list of them all here: http://www.elevatesoft.com/manual?action=mancat&id=edb2sql&category=10 -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Sep 17 2008 8:31 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | |
Wed, Sep 17 2008 8:51 AM | Permanent Link |
Heiko Knuettel | Tim,
>>Is the client application multi-threaded at all ? No. Even forbidden to start more than a single instance. >>exactly what DDL operations are occurring during the execution of the application ? I'm pretty sure that I don't use DDL operations for the disk database at all. I'll check that, it will take a while. For the memory database I constantly use CREATE TABLE (AS select * from diskdb.table), DROP TABLE and CREATE/DROP INDEX but that's all. Heiko |
« Previous Page | Page 2 of 3 | Next Page » |
Jump to Page: 1 2 3 |
This web page was last updated on Wednesday, May 15, 2024 at 08:40 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |