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

Ask A Question

Stats

  • Questions 307k
  • Answers 307k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I would recommend following approach which I feel is simple… May 13, 2026 at 9:33 pm
  • Editorial Team
    Editorial Team added an answer Instead of doing that you can use the framwework System.Drawing.Text.InstalledFontCollection… May 13, 2026 at 9:33 pm
  • Editorial Team
    Editorial Team added an answer The dialogs use the same css styles as the other… May 13, 2026 at 9:33 pm

Related Questions

I've just wasted the past two hours of my life trying to create a
Scenario: I load some data into a local MySQL database each day, about 2
I've really been struggling to make SQL Server into something that, quite frankly, it
Ok, I've asked a few related questions here and only ended up with more
Here's the basics of the system we have in place today. We have a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.