From: | Engard Ferenc <fery(at)pons(dot)sote(dot)hu> |
---|---|
To: | PostgreSQL list <pgsql-sql(at)postgreSQL(dot)org> |
Subject: | offtopic: db-processing speedup in C |
Date: | 1999-05-16 20:42:16 |
Message-ID: | Pine.LNX.4.02.9905162232210.1642-100000@domesticus.sote.hu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi all,
If I want to speedup a simple query (simple enough to implement
effectively (and easily ;) in C), one way is to fetch the whole table
into memory, and work from there directly. Now, if the table is
fairly big, then I need to use index(es). Is there a C lib with
appropriate funcs to use if I want to reach better speed than the
sql-server?
I just want to use simple queries like this:
SELECT a.* b.value1 b.value2 FROM a,b WHERE a.b=b.key;
>From what number of records in 'b' is suggested to use an index on
b.key?
Thx:
Circum
__ @
/ \ _ _ Engard Ferenc
l | ( \ / | | (\/) mailto:s-fery(at)kkt(dot)sote(dot)hu
\__/ | | \_ \_/ I I http://pons.sote.hu/~s-fery
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-05-17 02:30:45 | DROP TABLE does not drop a table completely |
Previous Message | Tom Lane | 1999-05-14 21:39:07 | Re: [SQL] Re: pgsql-sql-digest V1 #225 |