Posted by admin on 2023-01-29 09:56:57 |
Share: Facebook | Twitter | Whatsapp | Linkedin Visits: 663
CLUSTER_SET can get the data in one of the couple steps: It can use a mining type object to the information, or it can mine the data by performing an analytic clause that creates and uses one or more moving mining patterns.
This example enumerates the properties that have the biggest influence on cluster distribution for client ID 1000. The query requests the CLUSTER_DETAILS and CLUSTER_SET functions, which use the clustering model my_sample.
1 2 3 4 5 6 7 8 | SELECT S.cluster_id, prob, CLUSTER_DETAILS(my_sample, S.cluster_id, 7 USING T.*) ksetFROM (SELECT v.*, CLUSTER_SET(my_sample, USING *) nset FROM mining_data WHERE client_id = 1000) T, TABLE(T.nset) QORDER BY 2 DESC; |
A cluster is a group table that distributes the corresponding data blocks i.e. all the tables are actually put together. For example, EMPLOYEE and DEPARTMENT tables are connected to the DNO column. If you cluster them, it will actually store all rows in the same data blocks.