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 4098156
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:15:56+00:00 2026-05-20T20:15:56+00:00

Odd question for an odd situation i am in. Is there any noticable performance

  • 0

Odd question for an odd situation i am in.

Is there any noticable performance difference when selecting all the columns of a table which has 29 varchar(255) columns?

Would performance improve if they were varchar(50) instead?

Most data in the columns are infact less than 30 chars if that matters.

  • 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-20T20:15:57+00:00Added an answer on May 20, 2026 at 8:15 pm

    It depends.

    If you are simply querying the data in a PL/SQL block where there is no network traffic, it shouldn’t matter assuming the data is actually the same size in both cases. You may use marginally more PGA memory if you fetch the data into PL/SQL variables but it’s very unlikely that would make any appreciable difference in performance.

    If you are fetching the data across the network, however, it could well make a difference. Many drivers would end up allocating space based on the potential size of the result set (i.e. 255 bytes or 255 characters depending on the character set, NLS_LENGTH_SEMANTICS, and other bits of globalization fun) which could mean that you’d be allocating 5 times more RAM on the client machine than necessary (where “client machine” here may refer to the middle tier of a three-tier application). That could, in turn, end up impacting performance.

    Based on your username, I would tend to suspect that you’re using Java and JDBC. If you are using a Type 4 JDBC driver, I’d tend to wager that you’d only be allocating space based on how big the data actually is. If you’re using a JDBC-ODBC bridge, on the other hand, I’d tend to wager that the ODBC driver is allocating space based on the maximum size of the column. This would obviously depend on the driver you’re using– this is my personal educated guess not based on actually profiling the memory use of various drivers.

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

Sidebar

Related Questions

Bit of an odd question but is there a way of seeing what objects
This might be an odd question, but how does one nicely loop over ALL
This might be an odd question, but it has actually caused me some headache.
This is sort of an odd question. I know that SAS has a PROC
We've run across a slightly odd situation. Basically there are two tables in one
This might be an odd question. I'm basically wondering if there's a way to
I have a bit of an odd question. My situation is as following: I
Odd question, but you have to know first that Facebook API defines all the
This is an odd question. But here goes. I have object X, which gets
Here's a sort of odd question. I'm in the process of writing a book

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.