RE: [firebird-support] Need some help with a query

2012-11-21 Thread Svein Erling Tysvær
Let's say that I have a table containing: Machine_Name varchar(20) Config_Name varchar(20) Work_Date date The data for one machine may look like this: Machine_1, Config_1, 01.11.2012 Machine_1, Config_1, 02.11.2012 Machine_1, Config_1, 03.11.2012 Machine_1, New_Config, 04.11.2012 - we have set

[firebird-support] Too many concurrent executions of the same request

2012-11-21 Thread majstor
Hello, I have table Invoice (which is header table) and InvoiceItem (which is items table) and InvoiceID as foreign key in secound table which is reference first table. Now, I have some fields which is sum or products of some another columns in InvoiceItems which is depend of business logic.

RES: [firebird-support] Re: Problem slow sorting/distinct in Firebird

2012-11-21 Thread vanderlinde81
Hi all, I've modified the query with the specified points and thereby put the times, there is still a difference between Firebird and MySQL but the difference is getting smaller. Thanks for that. Are there any other options ? Firebird (Execution time: +/- 0.878s): SELECT FIRST 30 SKIP

RE: [firebird-support] Too many concurrent executions of the same request

2012-11-21 Thread Svein Erling Tysvær
Hello, I have table Invoice (which is header table) and InvoiceItem (which is items table) and InvoiceID as foreign key in secound table which is reference first table. Now, I have some fields which is sum or products of some another columns in InvoiceItems which is depend of business logic.

Re: RES: [firebird-support] Version number

2012-11-21 Thread Stefan Heymann
GSTAT -h will tell you the On-Disk Structure (ODS) version. AFAIK there is no way to tell what Firebird (point release) version was used to initially create the database. If you don't need to know the exact point release, this is how things are: Firebird 1.0 - ODS 10.0 Firebird 1.5 - ODS 10.1

RES: [firebird-support] Re: Problem slow sorting/distinct in Firebird

2012-11-21 Thread vanderlinde81
Hello Fabiano, I've tried the first index, only the second index indicates which you give twice IdItem on. You mean maybe another field? But with the first index: SELECT FIRST 30 SKIP 0 tr.NodePosition, tr.IdLink, tr.IdTargetLink, tr.IdItem FROM Tree3 tr inner join article3_1 art on

Re: RES: [firebird-support] Version number

2012-11-21 Thread Ann Harrison
On Wed, Nov 21, 2012 at 9:19 AM, Stefan Heymann li...@stefanheymann.dewrote: GSTAT -h will tell you the On-Disk Structure (ODS) version. AFAIK there is no way to tell what Firebird (point release) version was used to initially create the database. Since there is no difference between

[firebird-support] Read changes made in update triggers

2012-11-21 Thread paulpager
Hallo everybody, i try to do something with firebird .NET, and I'm stuck on this problem. I'm trying to explain as simple as possible, you should only need a database table, a trigger and little bits of code to understand my wish. The table: A table with this colums: tabNodeLang [PK]

[firebird-support] Firebird connection from win 7 home basic

2012-11-21 Thread Federico
Hi All, I have a firebird 2.1.2 database running on a Windows 2003. I already have windows xp clients, also windows 7 64 bits profesional, all logged into the same domain as the server and every one using ODBC conections. But I want to connect a Win 7 64 bits home basic to that firebird

[firebird-support] Stuck Transaction caused by gbak

2012-11-21 Thread cyndi_lewis55
We have a production database that has an active, but stuck, transaction, which we can see using Sinatica. The transaction was started by a gbak backup that was started 3 weeks ago and has not completed. We see the gbak command in Task Manager; it is not taking any CPU time. We backup this

Re: RES: [firebird-support] Version number

2012-11-21 Thread Helen Borrie
At 04:50 AM 22/11/2012, Ann Harrison wrote: On Wed, Nov 21, 2012 at 9:19 AM, Stefan Heymann li...@stefanheymann.dewrote: GSTAT -h will tell you the On-Disk Structure (ODS) version. AFAIK there is no way to tell what Firebird (point release) version was used to initially create the database.

RE: [firebird-support] Too many concurrent executions of the same request

2012-11-21 Thread Leyne, Sean
I have table Invoice (which is header table) and InvoiceItem (which is items table) and InvoiceID as foreign key in secound table which is reference first table. Now, I have some fields which is sum or products of some another columns in InvoiceItems which is depend of business logic. So,

Re: [firebird-support] Read changes made in update triggers

2012-11-21 Thread Thomas Steinmaurer
Hallo everybody, i try to do something with firebird .NET, and I'm stuck on this problem. I'm trying to explain as simple as possible, you should only need a database table, a trigger and little bits of code to understand my wish. The table: A table with this colums: tabNodeLang

Re: [firebird-support] Firebird connection from win 7 home basic

2012-11-21 Thread Thomas Steinmaurer
I have a firebird 2.1.2 database running on a Windows 2003. I already have windows xp clients, also windows 7 64 bits profesional, all logged into the same domain as the server and every one using ODBC conections. But I want to connect a Win 7 64 bits home basic to that firebird database.

[firebird-support] Firebird on Windows 8

2012-11-21 Thread heineferreira
Hi Do you have any plans to put Firebird and the database drivers and flamerobin into the windows 8 app store? Aparantly there are major issues with sideloading in windows 8. Thanks H.F.

RE: [firebird-support] Firebird on Windows 8

2012-11-21 Thread Leyne, Sean
Do you have any plans to put Firebird and the database drivers and flamerobin into the windows 8 app store? Aparantly there are major issues with sideloading in windows 8. Are you referring to Windows 8 workstations, Surface or RT? Sean

[firebird-support] firebird process hangs every aprox 10 days

2012-11-21 Thread aalliana
Hello all! I've been using firebird for some years, I'm really happy with the features and performance that it provides. I'm running into a problem with one server instalation. I have another 10 that do not have this problem, all of them have the same STACK: UBUNTU 10.04FIREBIRD 2.1.4

[firebird-support] DB w/ 16kb page site and BLOB fields size w/ content just 40bytes by record

2012-11-21 Thread emailx45
Dear friends, my question is: The components cxScheduler (from DevExpress.com ) use some fields type BLOB! One field, type RESOURCE_DATA_INFO (devexpress), use just 40bytes for store your information about data resources of the record. My question is, How many bytes are store/or used/ in a DB

RE: [firebird-support] DB w/ 16kb page site and BLOB fields size w/ content just 40bytes by record

2012-11-21 Thread Leyne, Sean
One field, type RESOURCE_DATA_INFO (devexpress), use just 40bytes for store your information about data resources of the record. My question is, How many bytes are store/or used/ in a DB with page site of 16kb and one field BLOB (binary = numbers) in this case, where DevExpress use just

[firebird-support] Re: Firebird on Windows 8

2012-11-21 Thread heineferreira
Sean, I am referring to windows 8 workstations as well as the pro version of Surface. NOT the RT version of windows 8. H.F. --- In firebird-support@yahoogroups.com, Leyne, Sean Sean@... wrote: Do you have any plans to put Firebird and the database drivers and flamerobin into the

[firebird-support] Re: DB w/ 16kb page site and BLOB fields size w/ content just 40bytes by record

2012-11-21 Thread Dmitry Yemanov
22.11.2012 1:16, Leyne, Sean wrote: If that size is less than the free space on the data page, then the blob would be stored with the data, taking only 40 bytes. I'd say it gonna take 8 bytes per blob id + up to 8 bytes per alignment (both compressed) + 28 bytes per blob header (uncompressed)

RE: RES: [firebird-support] Version number

2012-11-21 Thread Maya Opperman
Helen wrote: Normally, no. But I suspect this thread might be concerned with the problem that happened with compound indexes in v.2.5.1, that was corrected in 2.5.2. If you had a database with compound indexes that was created or restored to 2.5.1 you need to do either a full restore or at

[firebird-support] Re: RES: Version number

2012-11-21 Thread Dmitry Yemanov
22.11.2012 9:46, Maya Opperman wrote: If you fail to do the rebuild, and you run into the bug, what actually happens? Do you get some kind of error message that can be recognised by my software, and added to to tell the end user what to do to fix it? If you use that database with FB 2.5.1 or

[firebird-support] Index Corruption Firebird 1.5

2012-11-21 Thread rddymanohar
Hi, Recently we have started noticing problems at many of our customers where the index on certain tables are either corrupted or inactive. These are three different scenarios that we have and I hope you can give me some info on what is causing this. 1. Index's are in the inactive state.2. Index

[firebird-support] Re: Index Corruption Firebird 1.5

2012-11-21 Thread karolbieniaszewski
Hi, first latest version of FB 1.5 series is Firebird-1.5.6.5026-0-Win32.exe - try it and you will see if problem still exists and really you should migrate to most recent major version Karol Bieniaszewski --- In firebird-support@yahoogroups.com, rddymanohar rddymanohar@... wrote: Hi,

[firebird-support] Re: Too many concurrent executions of the same request

2012-11-21 Thread majstor
--- In firebird-support@yahoogroups.com, Leyne, Sean Sean@... wrote: I have table Invoice (which is header table) and InvoiceItem (which is items table) and InvoiceID as foreign key in secound table which is reference first table. Now, I have some fields which is sum or products

RE: [firebird-support] Re: Index Corruption Firebird 1.5

2012-11-21 Thread Maya Opperman
first latest version of FB 1.5 series is Firebird-1.5.6.5026-0-Win32.exe - try it and you will see if problem still exists and really you should migrate to most recent major version Agreed. I had an index corruption issue that was only resolved in FB 2.5

Re: [firebird-support] Index Corruption Firebird 1.5

2012-11-21 Thread Thomas Steinmaurer
Recently we have started noticing problems at many of our customers where the index on certain tables are either corrupted or inactive. These are three different scenarios that we have and I hope you can give me some info on what is causing this. 1. Index's are in the inactive state.2. Index

Re: [firebird-support] Index Corruption Firebird 1.5

2012-11-21 Thread Thomas Steinmaurer
Recently we have started noticing problems at many of our customers where the index on certain tables are either corrupted or inactive. These are three different scenarios that we have and I hope you can give me some info on what is causing this. 1. Index's are in the inactive state.2. Index