Project

General

Profile

Actions

Task #453

open

cluster vegbien tables periodically

Added by Aaron Marcuse-Kubitza over 11 years ago.

Status:
New
Priority:
Normal
Start date:
07/30/2012
Due date:
% Done:

0%

Estimated time:
Activity type:

Description

Needs cluster() function added to sql.py:

# Tells cluster() to cluster by pkey
use_pkey = object()

def cluster(db, table, index=use_pkey):
    if index is use_pkey: index = <pkey_name>
    run_query(db, 'CLUSTER '+table.to_str(db)+' USING '+index.to_str(db))

No data to display

Actions

Also available in: Atom PDF