Odp: [firebird-support] Big database optimization
Hi, What kind of server Superserver or classic or superclassic And how big is that cache settings? Regards, Karol Bieniaszewski - Reply message - Od: "zilez2...@yahoo.com [firebird-support]" Do: Temat: [firebird-support] Big database optimization Data: czw., sty 8, 2015 22:22 I am runing WI-V2.5.2.26539 Firebird 2.5, on win 7 64 bit. Databse is more than 20 GB big, and I have tables which are really huge - millions of rows. My query combines 6-7 tables, and all tables are searched with use of indexes, so altough tables are huge, query fethes only 10.000 rows, for example. So far so good. The issue I have is that if I run query firs time, it is very slow, even when using queries. Than , second time, cash is doing its, and query becomes fast. But than, when I change parameters for the query, again it is slow. I tried with really bigger database cache - no improvement, only slower result. Any advices, or links to some info articles ? Regards, Zoran
[firebird-support] TCP connection issue
<> INET/inet_error: read errno = 10054 Winsock.h WSAECONNRESET 10054 Connection reset by peer. An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET. This happens if a sockets client is actively sending or receiving data to or from a Firebird Server, and the network connection is lost. If a client crashes or a network error occurs (for example, an intermediate router goes down), the server has no way of knowing this, unless it tries to use send(). In this case send fails with the WSAECONNRESET error. How does an application know that the remote end has terminated the connection? The answer depends on whether the remote end terminated the connection gracefully or abortively. If the termination was abortive, then send() and recv() calls will fail with the error WSAECONNRESET. So, in simpler terms the socket that is the end point of the other connection has gone. Either the Firebird server has crashed, or the application using the Firebird client has disconnected abnormally (the application may also have crashed). You need to make a new connection, as the existing connection(s) can no longer be used. If these are infrequent, there is probably nothing to worry about, a client may have rebooted their system, or has been turned off without disconnecting from the database server. However if they are frequent, then you need to look at what may be causing the disconnections, either in the application or on the network. Regards Paul Beach Tel (France): +33 (0) 2 47 58 30 43 Mob (France): +33 (0) 6 79 24 32 32