Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 588009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:16:21+00:00 2026-05-13T15:16:21+00:00

I have a few questions about using mysql and oracle in a PHP app.

  • 0

I have a few questions about using mysql and oracle in a PHP app.

1)
Is it possible to code my PHP app to easily switch between these 2 databases? (Use MySQL for a year and then easily switch a “DB” file and it will run on Oracle?) I believe some large PHP projects have support for multiple database types.

2)
Does Oracle have something similar to phpMyAdmin?

3)
In general would one expect to see a performance gain in switching from mysql to oracle in a high traffic environment?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:16:22+00:00Added an answer on May 13, 2026 at 3:16 pm

    Yes, but it’s incredibly difficult to do properly.

    Swapping out database drivers is a piece of cake. If you use PDO, you can connect to different database drivers by passing a different DSN. PDO has drivers for SQLite, MySQL, PostgreSQL, Firebird, DB2, Microsoft’s SQL Server, Oracle, ODBC devices, and probably some more that I’m forgetting about. If you use it sensibly, using prepared statements and the like, you don’t even have to worry about the different databases having different escaping rules.

    This isn’t enough.

    MySQL and Oracle don’t speak the same dialect of SQL. They don’t have the same features and capabilities. The features they have in common work differently. They have different performance characteristics. Indexing is different. Collations are different. Even basic things, like how to reference tables, or what kind of field types you can use, can differ drastically between databases.

    Even if you managed to abstract all that away, and come up with some common subset of functionality you could use, chances are your application will be slow on both databases. In order to get decent performance out of any of these things, you need to be familiar with how they work, and you need to use the special features they offer.

    Taking full advantage of each database typically requires changing the data model a bit. Particularly with MySQL and Oracle, which are almost as different as two databases can get.

    The further apart the data models get, the more difficult it becomes to verify that your application actually works properly on both databases. It also becomes more difficult to migrate the data between the databases.

    It’s certainly not impossible, but it’s a lot of work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few questions about data synchronization. The architecture does not seem to
I've been hearing about triggers, and I have a few questions. What are triggers?
I have a few questions related: 1) Is possible to make my program change
I have a few questions about git. I have read a couple of documents
I'm working on a jQuery plugin and I have a few questions about some
I've discovered this folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and have a few questions. What
I'm a newbie to pgsql. I have few questionss on it: 1) I know
Quick question. What do you think, I have a few sites that use a
First of all many thanks for clicking into my question. I have a few
I have few asynchronous tasks running and I need to wait until at least

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.