MySQL to PostgreSQL conversion and data synchronisation [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a relatively large MySQL database (over 300 tables) which I desperately need to convert to PostgreSQL and synchronise data between the two databases if not real time then something close to it. Ideally I need a bi-directional data sync, or at least one directional - MySQL to Postgres sync.
I have managed to convert the database and import the data, but synchronisation seems to be a real problem.
This solution from DBConvert should supposedly do exactly that. After many days of trying to make it work I gave up. They don't even have a linux client which is strange considering that absolute majority of MySQL and Postgres database would run on linux servers.
Is there an alternative to DBConvert's solution that would do the same?

Check out Pentaho ETL tools Kettle and its client interface, Spoon. http://kettle.pentaho.com

boy, you have a job ahead of you in terms of bidirectional synchronization. This is hard on the best of days, and it poses a lot of problems.
The tool I would look at first, actually, would be RubyRep. This gives you a basic framework for replication between your databases, and it supports a number of RDBMS's.
The second thing you have to think about is what you are actually doing and why this is a really bad idea. Your biggest issue is conflict resolution and managing what happens if two different people update the same record on the different db's. This is not a trivial problem and it requires thinking through the actual workflows and scenarios carefully.

Related

Which database to store big metric data on Raspberry Pi? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to use Raspberry Pi as an independent sensor, which will measure some value each second and store this metric data into a local database. Then I would like to query the database based on the date range. Which database should I use, taking into account the limited resources of RPi and that there will be ca. 30758400 records/year? Are there any RPi-specific lightweight database engines especially for this purpose?
I think SQLite will perform well in this role. You might need to tune the pragma settings a bit for the rPi (e.g. set journal_mode=WAL), but SQLite can easily handle multi-gigabyte databases. (SQLite's main weakness is concurrent access, but that won't be a problem for your application.)
If you only need to store timestamp/value data, and only query on timestamp ranges, you might opt to use a key/value store such as LevelDB. You lose the flexibility of a SQL engine, but you gain performance.
What storage medium are you planning to use? An ACID database will write to the disk for every transaction. Continuous I/O like that can quickly kill an SD-card.

Which Database is Best for Magento [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Which database is best for more performance with Magento?
My Magento store using more than 80k products with 2k category.
My Question is :
1) Is Mysql database will enough to manage my product / category ranges ?
2) Or Shall i use any other database with Magento to keep the site loading fast ?
Any suggestion much appriciation.
You might also want to give Percona Percona a call. Other MySQL forks are available. I haven't used Percona but they know a lot about tuning InnoDB. Performance improvements over MySQL are moot but read all the answers to this question for some background.
Whatever you do, caching is certainly your friend.
Your product set is large but traffic volume and traffic spikes have a big impact on tuning and hardware choice.
With that many products and categories your shop surely won't perform very fast. But this also depends on your hardware and the amount of Magento StoreViews you will be using.
So the question you should ask is: what is the best caching mechanism to keep your frontend fast?
There are different approaches like using a combination of Varnish, Redis and nginx.

MySQL Query Browser alternatives [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I usually use MySQL Query Browser for my queries, but I always run into issues with the connections timing out and the Query Browser locking up, so I'm looking into alternatives. The new MySQL Workbench is much too slow and heavyweight, I prefer that the Administrative tools and the Query tools are separate (although it wouldn't be as much of a problem if the application wasn't so slow). I run on Ubuntu 10.04 x64. I'd like to avoid Windows/Wine-based solutions as much as possible. I also have had bad experiences (slow, buggy) with JVM-based MySQL applications, although perhaps other people know more lightweight ones.
I want something lightweight that can show me the schemas, tables, and column tree, and present a decent UI for editing tables.
Any suggestions would be appreciated.
I realize you want to avoid wine, but this might be a good suggestion for you as a free tool.
http://www.heidisql.com/
Although it does run on Java and may not be the prettiest thing ever, I pretty much always use Squirrel SQL client. If you haven't tried it, I recommend looking at it.
Squirrel SQL Client
+1 for HeidiSQL. On Arch Linux very easy to install. Get tarball from AUR;
Extract tarball to a directory.
In that directory: makepkg -s
After building package, install it with: pacman -U packagename
It works perfectly with wine. After trying some sql editors (Oracle SQL Developer, DBVisualizer, MySql Workbench) this was the best choice for me. Lightweigth & fast.

Bad Situation importing/exporting img files - mysql database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I inherited a poorly created mysql database and now I need to migrate data to a new server.
Long story short, I need to keep it stored this way and I use phpmyadmin. Know of any tools to help the migration of this 1.2GB mysql table?
Hope I don't get slaughtered for this post...
MySQL Workbench (free as in beer, free as in speech) has dump and restore features.
http://dev.mysql.com/doc/workbench/en/wb-manage-server-data-dump-tab.html
Phpmyadmin and other admin tools also have those features, but web-based tools may not handle such a large table properly.
Dump your big table from your old server to a file on your desktop machine. Restore it to the new server. It may take overnight. So what? You only have to do it once (unless you mess it up the first time). Side benefit: you'll have a backup of your old table that you can put onto a DVD-RW and throw in your desk drawer.
You might have to segment the dump process by selecting rows a few million at a time. That's probably a good idea, because then you can restart the process if it crashes.
There are some tools (sqlyog) that can copy data from one server to another directly, as well.
Happy data wrangling.

Visual Query Builder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
If been using "dbForge Query Builder" lately and I'm gotten used to the ease of building and testing a query, specially for those complex ones with inner joins, aliases and multiple conditionals.
The expiry date of the trial is about to come, and while wanting to remain on the legal side for this I'd rather not pay the 50USD it costs (although I must say it's pretty cheap for what it does).
So my question would be: Are there any free alternatives to replace this visual query builder? I've failed to find any and fear that my only two options are paying for it, or going to the dark side.
You may try FlySpeed SQL Query. It has the same powerful visual query builder and it's free if you don't need data export and printing.
You should try SQLyog, it has powerful visual query builder. It is very easy and intuitive to use.
I have found SQLeo, which I will use to show my colleagues how to build SQL queries. It is Java-based, so it will run on virtually any platform.
You will also need to install MySQL's Java Connector for SQLeo to be able to connect.
Think of it in terms of how much money/time it will help you make/save in the long run. Consider it a business expense. Yes, there are other free query builders out there, but they all take time to learn/get used to. If your happy with this one I'd say go for it.
That aside there generally are several ways you can reinstall the program and get one more month out of your free-trial if your still not quite sure its worth it.
Try EasyQueryBuilder.
It requires some configuration for your database at start but after that it's very easy to build queries with this tool - even for non-experienced users.
dbForge has an express version for MySQL that is free. I use the express version for MSSQL all the time.
EASY QUERY BUILDER is anything but easy if you're using MYSQL. Building a connection is impossible and their documentation is nonexistent. Don't waste your time.