Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-11 Thread Alex Peshkoff
On 04/10/2013 07:08 PM, Dmitry Yemanov wrote:
 10.04.2013 17:07, Stefan Heymann wrote:


 What about backups? Will GBAK backup and restore these settings so
 they don't get lost?
 No, these things are unrelated. They won't be lost if you backup/restore
 on the same host but you have to copy them manually if you migrate to a
 different host.

Or may be change them or even use default for that server - 
configuration depends upon not only database, but also environment around.


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-11 Thread Stefan Heymann
 It's up to you to decide. You may move local settings to mydb.conf and
 then #include it into databases.conf. But databases.conf is still 
 necessary to make the server aware of pre-configured databases.

Can you give me/us an idea of what the things are that can be
configured in these files?

Regards

Stefan



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-11 Thread Alex Peshkoff
On 04/11/2013 04:59 PM, Stefan Heymann wrote:
 It's up to you to decide. You may move local settings to mydb.conf and
 then #include it into databases.conf. But databases.conf is still
 necessary to make the server aware of pre-configured databases.
 Can you give me/us an idea of what the things are that can be
 configured in these files?


In firebird.conf in comments a number of parameters are marked as 
per-database configurable.


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-10 Thread Stefan Heymann
 What’s the point of the rename? It seems to only break existing code
 and documentation.

 aliases.conf name does not reflect what for this file can be used in 
 fb3. In addition to defining aliases for databases it now supports 
 per-database configuration parameters. We (I and Dmitry) failed to 
 invite better name than databases.conf. If you have ideas, you are welcome.

I'm not sure if it is a good idea to have those per-database
configurations in one central place. So when you move a database to
another server you have to copy-and-paste those things to the other
server.

What about having a pair of files:
   mydb.fdb
   mydb.conf
Where mydb.conf contains the per-database configuration? In this case,
all you need to do is copy or move both files together.

What about backups? Will GBAK backup and restore these settings so
they don't get lost?

Regards

Stefan



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-10 Thread Dmitry Yemanov
10.04.2013 17:07, Stefan Heymann wrote:

 I'm not sure if it is a good idea to have those per-database
 configurations in one central place. So when you move a database to
 another server you have to copy-and-paste those things to the other
 server.

 What about having a pair of files:
 mydb.fdb
 mydb.conf
 Where mydb.conf contains the per-database configuration? In this case,
 all you need to do is copy or move both files together.

It's up to you to decide. You may move local settings to mydb.conf and 
then #include it into databases.conf. But databases.conf is still 
necessary to make the server aware of pre-configured databases.

 What about backups? Will GBAK backup and restore these settings so
 they don't get lost?

No, these things are unrelated. They won't be lost if you backup/restore 
on the same host but you have to copy them manually if you migrate to a 
different host.


Dmitry



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] aliases.conf - databases.conf rename

2013-04-09 Thread Alex Peshkoff
On 04/09/13 10:38, marius adrian popa wrote:
 Question from twitter https://twitter.com/shtue/status/321510432458289152

 What’s the point of the rename? It seems to only break existing code
 and documentation.

aliases.conf name does not reflect what for this file can be used in 
fb3. In addition to defining aliases for databases it now supports 
per-database configuration parameters. We (I and Dmitry) failed to 
invite better name than databases.conf. If you have ideas, you are welcome.


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel