473,387 Members | 1,464 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,387 software developers and data experts.

Handling of table with large data

Hi, we are facing performance problem with table which contains the data of around 9 giga, due to the large data we are unable to retrive the easily which needs to be done in our application frequently...can any one give suggessions how can i handle this table....
Sep 10 '07 #1
5 2031
debasisdas
8,127 Expert 4TB
1.Try to create indexes on the frequently accessed columns of the table.
2.If indexes are already there ,re-build them requently.
3.Tune the sql queries for better performance.
4.Pass hints if required.
Sep 10 '07 #2
amitpatel66
2,367 Expert 2GB
1.Try to create indexes on the frequently accessed columns of the table.
2.If indexes are already there ,re-build them requently.
3.Tune the sql queries for better performance.
4.Pass hints if required.
Adding on to this:

1. Reduce the usage of LIKE in the query
2. Make use of JOINS instead of subqueries
3. Use EXISTS instead of IN
4. Dont use functions in the WHERE clause which will make CBO not to use the INDEX.
5. If using any function, then create FUNCTION INDEX for the same to make the performance faster.
6. Also confirm that your query is making use of correct INDEX. You can do this by passing HINT to the query as mentioned in above POST.
Sep 11 '07 #3
Thanks for providing these solutions, we have already incorporated the hints as you mensioned...currently we are having around 15 years data which are used very rarely....and currently posting data needs to fetch very frequently...so we are planning to partition the table or to create archieve table based on data posted date...still iam searching for any other alternative..go better......
Sep 11 '07 #4
amitpatel66
2,367 Expert 2GB
Thanks for providing these solutions, we have already incorporated the hints as you mensioned...currently we are having around 15 years data which are used very rarely....and currently posting data needs to fetch very frequently...so we are planning to partition the table or to create archieve table based on data posted date...still iam searching for any other alternative..go better......
YOU cannot PARTITION the existinf UNPARTITIONED table.
Probably You need to create a New Table IF you want THE PARTITIONS to be included
Sep 11 '07 #5
Saii
145 Expert 100+
you can use DBMS_REDEFINITION package for partitioning an existing table. you might have to reaserch the details though.
Sep 17 '07 #6

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

Similar topics

2
by: xAvailx | last post by:
I have a requirement that requires detection of rows deleted/updated by other processes. My business objects call stored procedures to create, read, update, delete data in a SQL Server 2000 data...
1
by: Good Man | last post by:
Hi there I'm developing a large web application. Part of this web application will be storing numerical chart data in a MySQL table - these numbers will be already calculated, and are just being...
3
by: James Foreman | last post by:
I've got a set of emails in a table, where sometimes they've failed to input the @ properly. Eg james.foreman'abcmail.co.uk How do I write a replace to deal with that? Also, I've got a set...
21
by: Anthony England | last post by:
Everyone knows that global variables get re-set in an mdb when an un-handled error is encountered, but it seems that this also happens when the variable is defined as private at form-level. So...
14
by: Al Smith | last post by:
I need help in implementing proper error handling. I am trying to upload a file based on the sample code below. The code works well except if the file selected is too big. I do know about the...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
4
by: Rob | last post by:
Hey all, So.. a simple FormView/SqlDataSource to handle inserting records into a table. The table has a primary key that the user enters (eg DiscountCode). If the user enters a duplicate the...
9
by: pargat.singh | last post by:
Hi Everyone: I have a C# program which loop through No. of files. In UAT i had medium size files and every thing goes ok but in Production files are big and i notice that my program is very...
35
by: eliben | last post by:
Python provides a quite good and feature-complete exception handling mechanism for its programmers. This is good. But exceptions, like any complex construct, are difficult to use correctly,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.