>> struktur tabelnya sbb:
>>�� tabel test
>>����� nomor��� integer� -> primary key
>>����� nama���� char(500)
>>����� alamat�� char(500)
>> 
>>�� jumlah data 110000
>> 
>>�� perintah yang digunakan adalah:
>>����� select count(nomor) from test where nomor>1 and nomor<100000;

tambahan: hasil seleksi diatas adalah 99998 record.

B> Boleh tahu plan yang terbentuk seperti apa ya ...
B> ... plan terbentuk
B> PLAN (TRANSAKSI INDEX (TRANSAKSI_UNIK))
B> Statement processed in 5.318 sec
B> Rows fetched: 1
B> Dengan hasil count sebesar 228.664 records

ini hasil plannya:
     PLAN (TEST INDEX (RDB$PRIMARY1,IDXTEST))

pada tab statistics memperlihatkan hasil sbb:

Statistic                       Value
--------------------------------------------------------------
Execution Time (hh:mm:ss.ssss)  00:00:01:1321
Prepare Time (hh:mm:ss.ssss)    00:00:00:0050
Starting Memory                 9162752
Current Memory                  10940416
Delta Memory                    1777664
Number Of Buffers               2048
Reads                           25632
Writes                          7
Plan                            PLAN(TEST INDEX(RDB$PRIMARY1,IDTEST)


Spesifikasi Komputer:
       PIII   500
       RAM    128MB
       OS     Win98
       
B> Salam
B> Bayu

salam
Arif Rahman



Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Kirim email ke