Results 1 to 10 of 10

Thread: Fast retrival of SQL

  1. #1
    Join Date
    Nov 2002
    Posts
    19

    Fast retrival of SQL

    Hi!

    Q1. Can table and index for it kept in the same table space improve the speed of SQL retrival?

    Q2. What are the factors besides indexing of a table, that speed up SQL retrival?


    Thanks in advance
    Ashish

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    1. If you can, it's better to put tables and indexes in separate tablespaces (in separate disks)

    2. It's a wide open question,
    - Create selective indexes
    - Analyze indexes regularly
    - If data changes frequently, rebuild indexes frequently
    - Allocate as much RAM as possible to DB_BUFFERS
    - Use faster and more no of CPU
    - Schedule batch jobs at off hours
    - and the list goes on

  3. #3
    Join Date
    Nov 2002
    Posts
    19
    Thanx buddy,

    What does "scheduling of batch job at off hours" mean by?

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    If you have large jobs like batch printing, reports summarizing data, loading data, then you should schedule them to run at night.

  5. #5
    Join Date
    Nov 2002
    Posts
    19
    Thanx dear,

    I do the same thing....shall appreciate anyother precious advise given.

    I take further opportunity to ask you one more querry as:

    Q2. Optimising database/SQL statement is the same as retriving faster SQL result?

    Q2.If SQL statement is fired from the client machine, does it process at client end OR Server end ? and what do we call firing of an SQL as Client process / Server process?

    Thanx once again.

  6. #6
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    1. Optimizing database should eventually lead to faster query but it is not limited to do that. You may tune database for fault tolerance, faster backup/restore, ability to handle more concurrent connections etc.

    2. The SQL statement always executes at the server, but client process has to handle the result set returned. You can process all your sql statement in the server and only return the final result to client, or you may fetch intermediate results in client and do further processing in client to get the final result. The first one is the preferred method.

  7. #7
    Join Date
    Nov 2002
    Posts
    19
    Thank you very much for sparing your valuable time and replying my queris.

    I've added you as My Buddy!

    Thank you once again.

    Best Regards.

  8. #8
    Join Date
    Nov 2002
    Posts
    19
    I am tempted to ask you furthre query as follows, hope you would not mind replying my querry.


    Datawarehousing

    Apart from my regular activities of management of co.'s I.T. and I.T. related infrastructure, I am currently deputed as project Incharge for my co.'s ERP modification/enhancement, which is being developed under Oracle 8x/Power Builder 7.

    This proejct is under Oracle 8x/Power Builder 7 set up.

    My prime roles and responsibilities include as follows:

    1) To understand the end user's requirement.
    2) Preparation of SRS documentation
    3) Preparation of Design documentation
    4) Liasoning with S/W. developers
    5) Testing/Implementation of the work assigned to the developers.
    6) Training of end users on the customized S/W.

    Does the above 1 to 6 points listed above can be termed as "DataWarehousing activities".

    Thanks in advance

  9. #9
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    They are activities in any application development, so it could be used in data wareshousing too. But this list does not have activities like extracting data, scrubbing/cleansing data, loading data, backup/recovery planning for datawarehouse, maintaining meta data, design of cubes, etc.

  10. #10
    Join Date
    Nov 2002
    Posts
    19
    Thanx for everything !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •