473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Performance Issue with Alphanumeric Column

308 256MB
Hi All,

One of the table in my project Database contains Alphanumeric column.I converted all data in that column to upper case using To_UPPER() function.

I found that the query using that Table get slowed..?

Is making the content to upper case might be the performance issue ..?

Please help me.

Thanks!
Jun 11 '09 #1
5 2627
rski
700 Expert 512MB
@madankarmukta
Can you show the execution plan of both queries?
Jun 28 '09 #2
amitpatel66
2,367 Expert 2GB
There can be many reasons to why the query is taking long time to execute. Firstly, we would like to:

1. have a look at your query?
2. Amount of data in the table that you are using in yur query?
3. any indexes already created on the table?
4. DML operations frequently performed on those tables?

It would be great if you can let know on the above points for our experts to help.
Jun 29 '09 #3
madankarmukta
308 256MB
@amitpatel66
HI Amit ,

Thanks for the reply. The table which I am querying , have 10,000 records,Moreover it have the clustered index defined on the column which I am not using in the TO_Upper() funstion.

Regarding the DML operation being performed on the table in a day is quite frequent.. It may be 20 times in a day.

My curiosity lies in the fact that mere usage of To_UPPER function on alfanumeric column can make the query slow..?

In addition to this what if we have

1)Less frequent DML operation on the table...
2)we have non clustered index defined on the alphanumeric column .. the column i am using in To_UPPER()
3)we have clustered index defined on the alphanumeric column .. the column i am using in To_UPPER()

will any of these going to improve the performance and if yes .. how it will ..?

Thanks!
Jul 4 '09 #4
amitpatel66
2,367 Expert 2GB
As you said that the DML Operation is frequently performed on the table. Does the INDEX Rebuild frequently?
Jul 8 '09 #5
madankarmukta
308 256MB
@amitpatel66
Hi,
Thanks for the reply.

Yes .. we are using with recompile option every time..

Thanks!
Jul 9 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Daniel Tonks | last post by:
OK, here's possibly a weird one. Is there any way to do string comparisons and ignore all non-alphanumeric characters? For instance, check "foobar" and have it match an existing record of "f$#!oo...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
3
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and...
5
by: twkelsey | last post by:
Hi, My company has a scenario where we would like to change the data type of an existing primary key from an integer to a char, but we are concerned about the performance implications of doing...
1
by: Johann Uhrmann | last post by:
Hello, are there any experiences about the performance of indices with different data types. How do the performance of an index that consists of - an integer field - a varchar() field - a...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
4
by: Bonzol | last post by:
vb.net 2003 1.1 web application Hi there. Atm I am using this SQL string SQL = "SELECT Addresses." + tab2LookupCol + " FROM Addresses INNER JOIN Clients ON Addresses.ID=Clients.AddID WHERE...
10
by: shsandeep | last post by:
The ETL application loaded around 3000 rows in 14 seconds in a Development database while it took 2 hours to load in a UAT database. UAT db is partitioned. Dev db is not partitioned. the...
5
by: empiresolutions | last post by:
Hello Fellow Developers, I am using the awesome drag and drop script found at http://script.aculo.us/. I have also added a modification that interacts to a db for reordering upon release of a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.