[firebird-support] fb_sort error

2012-09-18 Thread rolling_thudner
Strange stuff from firebird I am hoping to get some insight on...please bear with me while I describe the problem! I've run into a problem with a firebird installation that is using a 3rd party report viewer to display crystal reports from a firebird db on client PCs...this is a windows

Re: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Thomas Steinmaurer
Hello Bob, 1): The most obvious thing according to the header page is a very large gap between the oldest active transaction and the next transaction. This means, you have a long-running/stuck transaction. If you are lucky, you can go into the MON$TRANSACTIONS table and check out if you

Re: [firebird-support] fb_sort error

2012-09-18 Thread Thomas Steinmaurer
Hello, Strange stuff from firebird I am hoping to get some insight on...please bear with me while I describe the problem! I've run into a problem with a firebird installation that is using a 3rd party report viewer to display crystal reports from a firebird db on client PCs...this is a

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
On 2012-09-17 16:23, Thomas Steinmaurer wrote: Look here: http://www.firebirdnews.org/?p=5027 Yep, that looks exactly like my case. Unfortunately, I'm not able to re-create users by hand because of the scale of the problem (and because I don't know their passwords, and resetting them means me

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Thomas Steinmaurer
On 2012-09-17 16:23, Thomas Steinmaurer wrote: Look here: http://www.firebirdnews.org/?p=5027 Yep, that looks exactly like my case. Unfortunately, I'm not able to re-create users by hand because of the scale of the problem (and because I don't know their passwords, and resetting them means

RE: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Alan McDonald
Yep, that looks exactly like my case. Unfortunately, I'm not able to re-create users by hand because of the scale of the problem (and because I don't know their passwords, and resetting them means me looking for another job ;) ). You can pump the data to another database shell without

Re: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Alexey Kovyazin
Hello Bob, Is there any way to tell if the sweep was successful other than all of the markers matching? Is there any way to tell why a sweep would have failed? No. You should manually check transactions' markers difference, or use tool like FBDataGuard which can check it in desired time

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
Alan, I've already tried that. I described it in my previous post. The problem is the password ciphers seem too long compared to the RDB$PASS data type. I could try to change the type of RDB$PASS, but I don't know if it's safe to mess with the domains in security DB. Tomasz On 2012-09-18

[firebird-support] firebird 2.5 superclassic hanging on ubuntu

2012-09-18 Thread Gary Benade
I am running firebird 2.5.1 super-classic on ubuntu server 12.04 Firebird/linux AMD64 (access method), version LI-V2.5.1.26351 Firebird 2.5 on disk structure version 11.1 The problem I am experiencing is that Firebird randomly hangs every couple of days, I need to do a service restart to get it

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Mark Rotteveel
On Tue, 18 Sep 2012 09:16:30 +0100, Tomasz Tyrakowski t.tyrakow...@sol-system.pl wrote: Thomas, On 2012-09-18 08:47, Thomas Steinmaurer wrote: Neither do I. There's only the standard pre-2.0-to-2.0 security upgrade script. If there is such script available and someone could post a link to

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Thomas Steinmaurer
On 2012-09-18 08:47, Thomas Steinmaurer wrote: Neither do I. There's only the standard pre-2.0-to-2.0 security upgrade script. If there is such script available and someone could post a link to it, please please do. If you are brave, you could go into firebird-devel with that. ;-) I'll

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
On 2012-09-18 09:39, Mark Rotteveel wrote: could you spend half a minute and look into your security2.fdb to check if your varchar(64) RDB$USERS.RDB$PASS field also contains 80-character long ciphers? That's kind of intriguing, isn't it? What is your connection characterset? What happens if

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
On 2012-09-18 08:50, Alan McDonald wrote: You can pump the data to another database shell without touching or knowing the passwords Alan I'm not quite sure the data itself is valid (and whether pumping it to another database will fix the problem). I suspect there might be something wrong

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
On 2012-09-18 08:47, Thomas Steinmaurer wrote: If you are brave, you could go into firebird-devel with that. ;-) Just got an answer on firebird-devel. I'll try the solution proposed by Dmitry Yemanov and post a summary in the afternoon. regards Tomasz --

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Tomasz Tyrakowski
Problem solved, thanks to Thomas Steinmaurer and Dmitry Yemanov. Here's what to do when you experience problems regarding users with elevated privileges not being able to alter other users via SQL. 1. Disconnect all clients from Firebird. 2. Copy security2.fdb to another location. 3. Connect to

Re: [firebird-support] Can non-sysdba really alter users?

2012-09-18 Thread Doug Chamberlin
Thanks for posting the summary, Tomasz. Excellent job of sleuthing! I'm glad you figured it out in the end. Doug C.

RE: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Bob Murdoch
Alexey – From: Alexey Kovyazin [mailto:a...@ib-aid.com] Is there any way to tell if the sweep was successful other than all of the markers matching? Is there any way to tell why a sweep would have failed? No. You should manually check transactions' markers difference, or

Re: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Alexey Kovyazin
Hello Bob, Is there any way to tell if the sweep was successful other than all of the markers matching? Is there any way to tell why a sweep would have failed? No. You should manually check transactions' markers difference, or use tool like FBDataGuard which can check it in desired

RE: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Bob Murdoch
Here's a related question for you - as I looked at our script for doing nightly backups, I see a note that says: do not use garbage collection (gbak -g) since we run a manual sweep every night Do you know if that's true - we don't need to do garbage collection via gbak if we are running gfix

Re: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Thomas Steinmaurer
Here's a related question for you - as I looked at our script for doing nightly backups, I see a note that says: do not use garbage collection (gbak -g) since we run a manual sweep every night Do you know if that's true - we don't need to do garbage collection via gbak if we are running

Re-8: [firebird-support] Restore fails due to duplicate Value in unique Index

2012-09-18 Thread Maik Sommer - Finas GmbH
Hello there, the problem persists. WTF is this? - doing a GBAK backup shows NO ERRORS! - GFIX shows NO ERRORS! - FBFirstAid shows NO ERRORS! - validating the Database via IBExpert shows NO ERRORS! - the Database is working fine! - there are NO duplicated Values in that RDB$COLLATIONS Table (i

Re: [firebird-support] Number of instances of firebird

2012-09-18 Thread John Wilk
Thanks for the reply and I wouldn't consider my self an expert with databases.  I have worked on teams responsible for database design and have done some small to somewhat complex queries, triggers and such.  My recomendation to the client is that they store all of there data in a centralized

RE: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Bob Murdoch
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Thomas Steinmaurer Here's a related question for you - as I looked at our script for v doing nightly backups, I see a note that says: do not use garbage collection (gbak -g) since we run a manual

[firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread todderamaa
We are having an issue with caching when using Firebird 2.5.1 on a Windows Server 2008 box. The system flies when turning forced writes off, but we don't want to operate that way. The strange thing is that we have a number of clients using 2.5.1 on Windows Server 2008 and nobody has brought

RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Fabiano
The database is bigger than the RAM memory? If yes this is an issue of 2.5.1 You do not need a backup/restore cycle for migrating to 2.5.2 Fabiano De: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] Em nome de todderamaa Enviada em: terça-feira, 18 de setembro

[firebird-support] Re: Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Dmitry Yemanov
18.09.2012 19:21, todderamaa wrote: Do we need to backup on 2.5.1 and restore to 2.5.2? In this particular case, you do need backup/restore. Dmitry

RES: [firebird-support] Re: Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Fabiano
Do we need to backup on 2.5.1 and restore to 2.5.2? In this particular case, you do need backup/restore. Dmitry __._,_._ I´m curious Dmitry, why? __ [Non-text portions of this message have been removed]

Re: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread todderamaa
Finished backing up and restoring. Same issue with 2.5.2. You can hear the server writing to disk constantly when running the software. As I mentioned, we have a number of installations (approx 60) of the same database and software and no complaints from other clients about performance. We

RES: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Fabiano
I have a guess! What is the database Server? Is a truly *Dell* server? (Like Dell PowerEdge T410) If yes, make sure the hardware that control the HD HAS cache! If it doesn´t have the problem is it! To solve that replace the disk controller or use another server… [Non-text portions of

Re: RES: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread todderamaa
It is a Dell Server (Power Edge T110). How can I tell if the hardware that controls the HD has cache? Todd --- In firebird-support@yahoogroups.com, Fabiano fabianoaspro@... wrote: I have a guess! What is the database Server? Is a truly *Dell* server? (Like Dell PowerEdge T410) If yes,

RES: RES: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Fabiano
Maybe you can go to the Dell website and check this. In Portuguese is “controladora SAS6/IR (suporta apenas RAID 0 e 1), sem cachê).” Or SAS6/IR controller with no cache. Maybe you can call them and check this (sorry I have no internet connection) De: firebird-support@yahoogroups.com

Re: RES: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread todderamaa
I believe this is the problem. We found the setting when looking at the Device Manager. The 'enable write caching' is turned off. It won't allow us to turn it on. I am guess the hardware doesn't allow it. In the Windows Help it mentions that turning it on can cause issues with corruption.

RES: RES: RES: [firebird-support] Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Fabiano
In our test we can turn on but there are no result in terms of performance. Is a hardware issue. I think changing the disk controller and turning write caching on does not have any problem – is the default installation on Windows! De: firebird-support@yahoogroups.com

Re: [firebird-support] Periodic database slowdown - troubleshooting steps?

2012-09-18 Thread Thomas Steinmaurer
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Thomas Steinmaurer Here's a related question for you - as I looked at our script for v doing nightly backups, I see a note that says: do not use garbage collection (gbak -g) since we run a

Re: RES: [firebird-support] Re: Firebird 2.5.1 to 2.5.2

2012-09-18 Thread Thomas Steinmaurer
Do we need to backup on 2.5.1 and restore to 2.5.2? In this particular case, you do need backup/restore. Dmitry __._,_._ I´m curious Dmitry, why? From the 2.5.2 RC1 release notes. Warning re Databases Created or Restored under Firebird 2.5.1 All users upgrading from Firebird 2.5.1 to a

Re: [firebird-support] Re: Desktop Application For Centralized Firebird Database...

2012-09-18 Thread yanto_asnawi
I use zedebee with internet conection, bandwitdh drop only take 20% from direct connection, but it take processor time to compress and encrypt Terima Kasih Yanto Asnawi 087808244204 Pin BB : 2687C905 +whatsapp -Original Message- From: Kjell Rilbe kjell.ri...@datadia.se Sender:

[firebird-support] Should i use UTF8 for all character fields in my database?

2012-09-18 Thread Fabiano
Hi all! Today it seems easier and simpler for me to create all character fields encoded in UTF8. Is there something against doing this? I asked some days ago about index sizes in this post (http://tech.groups.yahoo.com/group/firebird-support/message/119234), and it seems UTF8 can generate

Re: [firebird-support] Firebird Foreign Key + Unique Constraint ( One/Zero-To-One)

2012-09-18 Thread Thomas Steinmaurer
Carlos, Is it possible to combine a Foreign Key + a Unique Constraint to avoid duplicate index ? ALTER TABLE SVCs_BatchADD CONSTRAINT RF_SVCs_Batch2XDRs_Batch FOREIGN KEY (Id_XDRs_Batch) REFERENCES XDRs_Batch(Id_XDRs_Batch) using *UNIQUE* index FK_SVCs_Batch_XDRs_BATCH; this is not