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

  • Home
  • SEARCH
  • 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 8678427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:43:06+00:00 2026-06-12T20:43:06+00:00

LOB having the features of Long data type as well it has its own

  • 0

LOB having the features of Long data type as well it has its own special features. Since its having features of Long, the additional special features can be given to Long data type itself. So, no need of having one more data type LOB and Long itself can be used all the time. Then why Long has been replaced by LOB?

Even LOB is the replacement for LONG, still Long is made to be available with latest versions of Oracle for backward compatibility. This is additional overhead right?

  • 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-06-12T20:43:07+00:00Added an answer on June 12, 2026 at 8:43 pm

    LOBs are actually four distinct datatypes: CLOB for LONG and BLOB for LONG RAW, plus BFILE and XMLType. Oracle have introduced these types back in the 1990s because LONG (and LONG RAW) are Teh Suck! and terribly hard to work with. There is no reason to use LONG intsead of LOB if the database version is 8.0 or higher.

    So why do we still have LONGs?

    LONG and CLOB are primitive datatypes. So while it is theoretically true that Oracle could have amended LONG to have “the additional special features” of CLOB in practice that would have had a catastrophic impact on upgrading databases to 8.0 (the version which introduced LOBs).

    To say catastrophic is perhaps hyperbolic but the fact is retrofitting CLOB-style features to LONGs means changing datatypes. So the upgrade would have had to include an automatic data conversion. Plus there’s probably all sorts of low level routines whose behaviour would have needed to change. It’s just a massive vector for data corruption. It is much simpler (and hence safer) to introduce a new datatype and let individual sites handle the migration.

    Oracle have deprecated LONG since 8.0 and provided mechanisms for converting LONGs to CLOBs, so in an ideal world everybody would have moved on and Oracle could drop the LONG datatypes from the database. However, in real life many shops are still using LONGs and too much would break.

    So Oracle have to retain them. The scale of the problem can be derived from the fact that Oracle still uses LONG itself in the data dictionary (such as USER_/ALL_/DBA_VIEWS).

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

Sidebar

Related Questions

For my app, i'm storing data in simpleDB, but since SimpleDB has a 1024
I’m making a simple LOB app which loads data from an XML file and
I am having trouble setting the type of a String, it goes like public
I am trying to load an entity with byte data (annotated with @Lob) from
I´m using Oracle 11gR2, can someone tell me why the temporary lob isn´t freed?
I'm developing a LoB application in Java after a long absence from the platform
We have a simple LOB application that: pulls data from EF serves data across
A client has an intranet LOB web app that they deploy to their clients'
I was wondering if anyone here has experience in unit testing LOB applications (typically
I'm rewriting an LOB application whose architecture is like this: Silverlight && Windows Mobile

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.