Jd/Ops table-table

From J Wiki
Jump to navigation Jump to search
Jd | Overview | General | Docs | Ops | Admin | Server | Replicate | Guide | Technical | Release | License | Support

Table operations

See tutorial table_table

tablecopy

tablecopy snktable srctable srcdan - implicit jdaccess'srcdan'

copies a table from srcdan to the current db
uses host file copy and runs as fast as hardware allows

tableinsert

tableinsert snktable srctable srcdan - implicit jdaccess'srcdan'

implemented as an efficient loop over cols with an append of new data

affected ref cols are marked dirty

tablemove

tablemove snktable srctable srcdan - implicit jdaccess'srcdan'

moves a table from srcdan to the current db
uses host file move and runs fast as it just updates pointers

srcdan must be on the same file hardware for move to work