Core changes:plugin manager merged in trunk , stored procedures speedup in 2.5.1

Dimitry fixed one bug with stored procedures slowdown in some cases :Tuned the code a little in order to avoid redundant retrievals. As a side effect, it downgrades three-way joins to two-way ones, thus helping the optimizer to choose a good plan in the worst (zero selectivity) cases. This should resolve CORE-2933 (Very slow execution of a script that creates a lot of metadata) and CORE-3237 (Slow compilation of stored procedures) without tweaking the optimizer constants.

New plugin manager was committed to trunk. Use it for all types of plugins.

Alex Peshkoff Fixed binary packages build. No more CS/SS difference. No more linux RPMs on SF (now they are created on each distro anyway)
Another interesting bug fixed in the future 2.5.1 is CORE-2756 :substring from timestamp – unexpected result

Firebird 2.1.3 #HDD vs #SSD Benchmarks

The forum post with the results are in Spanish but here are the results and translation in English:
1. The computer was as below :

  • Intel Core i7 930 2.93 @ 4.0 Ghz
  • 6GB DDR3 1600 Cas 7
  • Mobo Gigabyte x58-UD3R
  • Professional 64-bit Windows 7
  • Firebird 2.1.3
  • 2. Hard Drives :
    a. Western Digital 1TB 64MB Cache Sata III Black
    b. Crucial 128GB RealSSD C300

    The test consisted in the creation of a database with 1 table :

    CREATE TABLE COR_PRUEBA (
    INTEGER INTEGER NOT NULL,
    CHARACTER CHAR (20),
    CARACTER2 CHAR (10),
    “DOUBLE” DECIMAL (15, 2),
    INTEGER1 INTEGER);
    ALTER TABLE COR_PRUEBA
    PK_COR_PRUEBA ADD CONSTRAINT PRIMARY KEY (INT);

    The test is done with the IBExpert 2009.08.19 and consisted of the insertion of 500,000 records (Insert operations) with random data.
    Results:

    Disc A (HDD): 1hr 11m 40s 43ms
    Disc B (SSD): 3m 42s 224ms

    What really stunned me was the Big difference and both tests were performed with exactly the same parameters.
    Judge yourself whether it is worth mounting a SSD for storage xD.

    Tips : create/alter/drop user in firebird 2.5 , or howto get rid of gsec

    On .net provider list Rick Roen is writing a utility to change user password , the best way to change it is from sql :).
    Read the user create/delete/update notes.
    Now a regular user can change it’s own password without the need for sysdba intervention:

    The new DDL command ALTER USER enables an “ordinary” user (a regular Firebird user, a non-root user on POSIX or a trusted user on a Windows system where trusted authentication is enabled) the ability to change his or her password and/or personal name elements, while logged in to any database.

    The Perfect Database Server : Firebird 2.5 and FreeBSD 8.1

    Here is the guide on installing Firebird 2.5 from FreeBSD 8.1 Ports and creating your first test database also we show you howto install Flamerobin GUI (administation tool) and the PHP driver for it .
    This was tested on fresh freebsd 8.1 on a virtual machine

    Boolean datatype implemented in FB 3

    The support for a BOOLEAN datatype was the third most voted feature in the Firebird tracker. The deal with it was about make it right and complete, having booleans expressions allowed where values are expected, and vice versa. Oracle did it wrong and they BOOLEAN is crap.

    Yesterday I finished and committed this support for Firebird 3. You can use them like any other type. You can index it, aggregate by it and sort by it. If you have an index on a boolean field, you can also do indexed searches by its negated form (NOT field).

    Read full post in Adriano’s blog.

    1 23 24 25 26 27 78