It seems that database design problems are very common and do not depend on used database platform - every new generation of developers each 4-5 years repeats the same mistakes...
The presentation below is recommended for every database developer, regardless of the database being used.
My favourite slide is about "How many tables do you really need? - Four at most!" :-))
Oracle Database Worst Practices
9/07/2010
9/06/2010
The need for backups
I've read the post at http://successfulsoftware.net about 10 things which non-technical users do not understand. During our work with Firebird database recoveries we interact mostly with people considered as IT professionals - developers and system administrators, but we can confirm the absolute truth of the following words regarding backups:
8. The need for backups
Every few days I get an email from someone who has lost all their data because they had a major hardware problem and no backups on a separate device. Sometimes this is because they don’t even realize the data is stored on their computer. You can mention the need for back-ups in your documentation and/or in the software, but it is unlikely to make much difference. History shows that this is a lesson most people have to learn the hard way (techies included). Mentioning it doesn’t hurt though and it might help to defuse an angry users if you point it out to them after the event.
Consider this post as a small reminder that your Firebird database should have backups, and they should be done in the right way.
9/01/2010
How to increase Firebird backup and restore speed (up to 30%)
It seems that many Firebird developers and administrators are not aware about switch -se[rvice] for gbak.exe
The origin of this switch is in the fact that code for backup and restore can be invoked in Firebird twice - first as explicit external application (i.e., through gbak.exe) and, second, as a Services API call.
Backup/restore through Services is faster than usual approach - due to the bypassing of interprocess communication and, probably, due to some IO optimizations.
To use Services instead of regular gbak.exe you need to add switch -se to the gbak command:
gbak -se service_mgr -b -g ...
Try to run backup with your database with and without switch -se[rvice] and compare results. In our experience switch -se can increase backup and restore speed up to 30%.
Btw, our FBdataGuard uses Services API to run backup and restore, and many users find it faster than general gbak.exe. Now you know that it's not the magic - just good knowledge of Firebird and its internals.
The origin of this switch is in the fact that code for backup and restore can be invoked in Firebird twice - first as explicit external application (i.e., through gbak.exe) and, second, as a Services API call.
Backup/restore through Services is faster than usual approach - due to the bypassing of interprocess communication and, probably, due to some IO optimizations.
To use Services instead of regular gbak.exe you need to add switch -se to the gbak command:
gbak -se service_mgr -b -g ...
Try to run backup with your database with and without switch -se[rvice] and compare results. In our experience switch -se can increase backup and restore speed up to 30%.
Btw, our FBdataGuard uses Services API to run backup and restore, and many users find it faster than general gbak.exe. Now you know that it's not the magic - just good knowledge of Firebird and its internals.
8/30/2010
InterBase 2009 installer - say hello to Windows 3.1 again
It seems that InterBase development suffers from the lack of resources. Recently I downloaded InterBase 2009 Developer Edition in order to install it at new workstation, with intention to look at corrupted database from customer, started to install it and saw this dialog:
Someone new it IT could not not even recognize where is this dialog from... it's from Windows 3.1. Installation is the first experience that new users have from InterBase and what they see? Old-styled dialogs indicate the level of attention from company to its product.
On other hand, localized and fast (and much smaller) Firebird installer at Windows looks much better and give very positive user experience, because opens source developers create products for own use too, not for the abstract customers.
Also, CodeGear in the installation location - IB2009 was published in August 2008, when Embarcadero already bought virtual CodeGear division from Borland, and there were at least 3 service packs and 1 hotfix after that.
It seems that there is nobody in Embarcadero who is responsible for the renovation of InterBase installer.
Update
After this blog-post Sriram Balasubramanian from Embarcadero contacted us and commented on branding issue:
Thank you for the report. InterBase 2009 branding and name specifications were set before the Embarcadero purchase timeline for CodeGear. Thus the name still reflects C:/CodeGear/interbase/
Since the installer does not get branding/naming changes in Service Pack releases, it still (unfortunately) reflects no change.
We have already made the branding changes in an upcoming release of InterBase, http://channel-e.embarcadero.com/index.php?option=com_jvideodirect&v=2BIc9syaWrknH&x=1
If there are other installer specific input that you'd like to suggest, please post your comments to http://forums.embarcadero.com and/or log a case in Quality Central for InterBase (at http://qc.embarcadero.com).
Thanks!
Best wishes,
Sriram Balasubramanian
InterBase,
Embarcadero Technologies
8/08/2010
3d Russian Firebird Conference
3d Russian Firebird Conference will take place in Moscow, September
29, 2010. The conference will be devoted to the Firebird new versions
and to best practices in maintenance and development, with special
focus on big Firebird databases.
Special speakers at conference: Phillipe Makowski, President of
Firebird Foundation, Firebird developers team: Dmitry Yemanov, Vlad
Khorsun and Alex Peshkoff.
Registration (in Russian): http://ibase.ru/conf2010/
29, 2010. The conference will be devoted to the Firebird new versions
and to best practices in maintenance and development, with special
focus on big Firebird databases.
Special speakers at conference: Phillipe Makowski, President of
Firebird Foundation, Firebird developers team: Dmitry Yemanov, Vlad
Khorsun and Alex Peshkoff.
Registration (in Russian): http://ibase.ru/conf2010/
7/25/2010
Free FBDataGuard for Firebird Developer Day participants
At FDD'2010 Dmitry Kuzmenko has presented 2 presentations - the is one about approach to maintain big databases (50-400Gb) in the right way and the second is about restore speed tests.
Among other thing Dmitry said that any participant who will send email request to dataguard at ib-aid.com till 20-JUL-2010, will get this tool's 1 year license for free.
We just finished to process 108 requests and sent them all (check antispam folder if you did not get it).
So, it is interesting to see that approximately 20% of attendees can think about right database maintenance and how to avoid corruption. Other 80% are welcome to our recovery service.
Among other thing Dmitry said that any participant who will send email request to dataguard at ib-aid.com till 20-JUL-2010, will get this tool's 1 year license for free.
We just finished to process 108 requests and sent them all (check antispam folder if you did not get it).
So, it is interesting to see that approximately 20% of attendees can think about right database maintenance and how to avoid corruption. Other 80% are welcome to our recovery service.
7/12/2010
7th Firebird Developers Days: Visit IBSurgeon's presentations
17th of July, Piracicaba, Brazil: The 7th Firebird Developers Day will take place in the UNIMEP university theatre. This is undoubtedly the biggest worlwide event devoted to Firebird - more that 600 people, dozen of speakers and lot of interest.
As you may knows, Brazil is the N1 country in terms of number of Firebird users (following with Germany, Russia and USA), and Firebird is the number 1 database in Brazil too.
This will be 4th time IBSurgeon sponsors and presents at FDD. This year Dmitry Kuzmenko will speak about big Firebird databases (you may remember that recently we did test with 1Terabyte Firebird database) and about speed of test restores.
Also at this event IBSurgeon will announce some serious changes in licensing policy, intended to encourage people to treat Firebird databases in more careful way.
We will follow the results of conference and post updates here.
As you may knows, Brazil is the N1 country in terms of number of Firebird users (following with Germany, Russia and USA), and Firebird is the number 1 database in Brazil too.
This will be 4th time IBSurgeon sponsors and presents at FDD. This year Dmitry Kuzmenko will speak about big Firebird databases (you may remember that recently we did test with 1Terabyte Firebird database) and about speed of test restores.
Also at this event IBSurgeon will announce some serious changes in licensing policy, intended to encourage people to treat Firebird databases in more careful way.
We will follow the results of conference and post updates here.
4/26/2010
The 1st Firebird Conference in Ukraine
At April 23, 2010, the first Firebird Conference in Ukraine took place. There were 90 people live and (average) 40 people online at this conference.
This is the first conference from the series of 10 events devoted to the 10th anniversary, it was organized by Grossbe (Ukrainian vendor of Firebird-based open-source ERP).
IBSurgeon was the sponsor of this conference, our CEO Dmitry Kuzmenko has presented MindTheBird! to the audience and also spoke about protection against database corruptions and overall approach for the right maintenance of important Firebird databases using general techniques and new version of IBSurgeon's Firebird DataGuard product.
Firebird Core Developers Dmitry Yemanov, Vlad Khorsun and Alex Peshkoff presented the new features of Firebird, deep dive presentations devoted to the SQL enhancements, security improvements and other hot topics.
Definitely it was a great success for Firebird which confirmed the strong position of this true open source DBMS in Ukraine. We are sure that next year we'll meet again with Ukrainian Firebird developers and continue our success evolution with Firebird.
Below you can see several pictures from the Firebird Conference in Ukraine.
This is the first conference from the series of 10 events devoted to the 10th anniversary, it was organized by Grossbe (Ukrainian vendor of Firebird-based open-source ERP).
IBSurgeon was the sponsor of this conference, our CEO Dmitry Kuzmenko has presented MindTheBird! to the audience and also spoke about protection against database corruptions and overall approach for the right maintenance of important Firebird databases using general techniques and new version of IBSurgeon's Firebird DataGuard product.
Firebird Core Developers Dmitry Yemanov, Vlad Khorsun and Alex Peshkoff presented the new features of Firebird, deep dive presentations devoted to the SQL enhancements, security improvements and other hot topics.
Definitely it was a great success for Firebird which confirmed the strong position of this true open source DBMS in Ukraine. We are sure that next year we'll meet again with Ukrainian Firebird developers and continue our success evolution with Firebird.
Below you can see several pictures from the Firebird Conference in Ukraine.
3/08/2010
Why IBSurgeon supports Firebird?
Recently we have joined MindTheBird Campaign, and it's a good time to explain our attitude to Firebird.
As you know, currently there are lot of big and small companies involved in open source support and development. Some big companies (like IBM or Oracle) use open-source as mass destruction weapon against competitors, and also split development and/or testing and (definitely!) marketing costs with open-source community.
Some companies (like majority of Firebird Foundation members) support open source because they rely on them as part of their business - as platform or in other way.
And I doubt that there is company that supports open source project as complete charity, without intention to use its code in this or that way. If you know such company - please refer to it, I'm interested to know.
For IBSurgeon the answer for the question "why you support Firebird" is pretty obvious. Our main business is related with database recovery. Our statistics for last 8 years shows that there is a pretty stable ratio between overall Firebird users and databases crashes. There were some peaks related with pre-release bugs but the baseline is rather stable and has slow growth tendency.
If we will exclude peaks we can see for sure that corruptions are mostly caused by lack of administration and hardware failures. This is the part of nature - people make mistakes, hardware is being broken. So ratio is pretty predictable and will be predictable as human nature and hardware will be at the current level.
So we can consider the whole Firebird user base as potential customers which will be converted to recovery solution consumers and, for serious enterprises, to consumers of our protection tools and services.
Last years we saw amazing growth of Firebird, both in terms of users and in terms of installations (official Firebird installer for Windows has optional URL to notify Google Analytics about fresh install, and it shows more than 2000 Firebird installations every day and it grows over time!).
So we see the great potential of Firebird growth, because proprietary databases have serious issues due to the increasing open-source adoption and, of course, due to tough economics.
As you know, currently there are lot of big and small companies involved in open source support and development. Some big companies (like IBM or Oracle) use open-source as mass destruction weapon against competitors, and also split development and/or testing and (definitely!) marketing costs with open-source community.
Some companies (like majority of Firebird Foundation members) support open source because they rely on them as part of their business - as platform or in other way.
And I doubt that there is company that supports open source project as complete charity, without intention to use its code in this or that way. If you know such company - please refer to it, I'm interested to know.
For IBSurgeon the answer for the question "why you support Firebird" is pretty obvious. Our main business is related with database recovery. Our statistics for last 8 years shows that there is a pretty stable ratio between overall Firebird users and databases crashes. There were some peaks related with pre-release bugs but the baseline is rather stable and has slow growth tendency.
If we will exclude peaks we can see for sure that corruptions are mostly caused by lack of administration and hardware failures. This is the part of nature - people make mistakes, hardware is being broken. So ratio is pretty predictable and will be predictable as human nature and hardware will be at the current level.
So we can consider the whole Firebird user base as potential customers which will be converted to recovery solution consumers and, for serious enterprises, to consumers of our protection tools and services.
Last years we saw amazing growth of Firebird, both in terms of users and in terms of installations (official Firebird installer for Windows has optional URL to notify Google Analytics about fresh install, and it shows more than 2000 Firebird installations every day and it grows over time!).
So we see the great potential of Firebird growth, because proprietary databases have serious issues due to the increasing open-source adoption and, of course, due to tough economics.
Subscribe to:
Posts (Atom)



