I have been asked to develop my new application with Postgres 10.0. Before this, I have been developing applications with MsSql and was quite easy even. I searched for the Version 10.0 but didn't find any downloadable link. The latest version that i came across was Postgres 9.2 and 9.3 beta
Can anyone help me to find the right version. I had read few posts on Stackoverflow such as this one Postgres 10.0 -Arcgis but don't know Arcgis is postgres database or is it the other DB engine same as Postgres and SQL Server.
What i want is to know whether Postgres version 10.0 ( free or paid) is available or not?
There is no PostGre - there is PostgreSQL which is also sometimes called Postgres.
There is no version 10. The current version is 9.2.4 with 9.3 being the next version planned (due some time in 2013).
ArcSDE/Arcgis seems to be a GIS system that can work on top of PostgreSQL.
Related
I want to update MariaDB 10.3.n to 10.5.5.
In my investigation, I have found that I have to upgrade its version by version. for example version 1 to 2, 2 to 3, and so on.
Can I upgrade it directly from 10.3.n to 10.5.5 in windows and Linux?
Documentation says
You should be able to trivially upgrade from ANY earlier MariaDB version to the latest one (for example MariaDB 5.5.x to MariaDB 10.5.x), usually in a few seconds. (...)
Upgrades are normally easy because:
All MariaDB table data files are backward compatible
The MariaDB connection protocol is backward compatible. You don't normally need to upgrade any of your old clients to be able to connect to a newer MariaDB version.
The MariaDB slave can be of any newer version than the master.
So, I'd say that your investigation kind of failed.
Read the documentation
Backup first!
Then upgrade
I upgraded MariaDB old version 10.3.n to new version 10.5.5. It is working fine, without any problem, error or crash.
I am trying to write a script to connect to all version's of oracle database starting from the latest to the oldest version of database.
I tried myself with cx_oracle library found like it needs a client library in the local to connect to remote database like if I download the latest version then it will work up to latest few versions not all.
Also tried with Sqlalchemy connection which is also using cx_oracle libraries.
Please do guide me if am doing anything wrong? I would also like to hear if there are any other ways to connect to the database using PYTHON
cx_Oracle 6 and higher already support connecting to any Oracle database from 9i all the way up to 18c depending on the client that you are using. cx_Oracle requires Oracle Client libraries at least at 11.2. You can see the interoperability notes here. Since anything earlier than 11.2 is no longer supported anyway, that should be adequate in almost all circumstances.
You can also use ODBC to connect to the database but that won't perform as well as cx_Oracle does.
I have an 11.2 Oracle database client on my corporate Windows 7 laptop and use cx_Oracle to connect to databases from version 9.2 to 12.2 without any difficulty.
The other way I connect to databases of all versions is to wrap Python around the Linux version of Oracle's sqlplus utility. This way I do not need to install cx_Oracle and can run with an older Oracle client and the version of Python that comes with the Linux distribution. In my case I am running on Redhat 6 which comes with Python 2.6. I connect to databases from version 8.1 to 12.2 in this way.
I have a blog post about how I run sqlplus from Python on Linux: https://www.bobbydurrettdba.com/2016/11/04/running-sqlplus-from-a-python-script/
Bobby
Im unable to get any connectivity to Oracle 7.3 using the current SSMA from Microsoft. There is no legacy download anymore and i think i need an older version, 6.0. I keep getting two-task connection potocol errors when I use the tnsnames method to define a service. This works with the schema manager in the legacy oracle tools but no matter what i try Im unable to get a connection in the new SSMA without seeing that error. I should say im on a windows 7 vm for legacy reasons.
I have tried using a linked server in sql 2008 and 2012 which would allow me to make views. I could then bring it into Entity Framework, which is the ultimate goal, but same result as above.
Anyone had a similar issue and happen to have an older SSMA?
Client/Server Interoperability Support [ID 207303.1]
For Oracle Server 7.3 you need oracle client 7.3 or 8.0.5-8.1.7 or 9.0
Oracle8 i 8.1.7 Documentation
To configure oracle client SQL*Net V1, V2 ,tnsnames.ora read SQL*Net FAQ
I installed Oracle 7.3 very long ago in 1996 :).
Update
You can migrate to the free version of the Oracle 11 XE version or use an RDS instance of Oracle in the Amazon cloud with free 1-year service .
Use the utility exp and imp. These utilities are no longer being developed and are not supported, but are necessary for migration from very old versions.
Migration plan:
Define the necessary schemes and users for migration in the source
database, table spaces.
Install the free version of Oracle 11 or create an RDS instance of Oracle in the Amazon cloud with free 1-year service.
Create the required tablespaces.
Create profiles, users and roles.
Import the dump file.
Make the migration in mssql.
I am using postgres 9.5. Suppose my system postgres got downgraded into 9.2. Will my old database works with newly installed postgres as it is?(backword compatibility) Or do I have to do some manual operations?
In other words, say I have a postgres database works with the latest version. Can I use the same database in other systems which run other supported versions of postgres (but not the latest)?
There is no supported way to downgrade PostgreSQL to a lower major release.
You will have to pg_dumpall with 9.5 and then try to install the dump in 9.2.
There will be error messages if the 9.5 dump uses features that were not present in 9.2 yet. In that case, edit the dump and fix it for 9.2.
Between major releases of postgresql, you will have to export your tables and database structure to older postgres version via pg_dump and pg_dumpall utilities. Then use the older version. This is the safest way.
If downgrading is done between minor releases, then just replacing the executables when the server is down and restarting the server will be sufficient, as the data directory remains unchanged between minor releases.
It appears out of the box the v1 of Microsoft Sync Framework would only support synching with a CE db, using the SqlCeClientSyncProvider. I can't find anywhere in the documentation about v2 if we can now sync between two SQL Server databases. Anyone know of hand if this is now possible (without writing my own client provider)?
The following provider is the one that you should be using to sync with a SQL Server database.
Microsoft.Synchronization.Data.Server.DbServerSyncProvider
The Local Database Cache tool could get you up and running fairly quickly without having to worry about these details - you would however be sacrificing some flexibility.
You don't necessarily need Sync Framework 2.0 if you do decide that you want to get a little closer to the metal but it has now been released and is probably your best bet. Just be careful with the DLL versions that you swap into your solution after installing the SDK. Note below that the database DLLs are not versioned consistently with the rest of the framework and that the version of the Microsoft.Synchronization.Data.SqlServerCe DLL actually decreases from 3.5 to 3.0.
Installing Sync Framework - MSDN
All database provider DLLs have a
version number of 3.0 rather than 2.0
because some of the providers were
originally released before Sync
Framework 1.0.
Microsoft.Synchronization.Data.SqlServerCe.dll
was originally released as part of SQL
Server Compact and previously had a
version number of 3.5 to match the SQL
Server Compact version. The version of
this DLL is now 3.0 to match the other
database providers.