Optimizing bulk inserts in MySQL
Link Here
WORM stands for Write Once, Read Many - it’s usually used for archival storage systems, and it’s actually sometimes a legal requirement (typically in SOX).
At least three solutions can be commonly found on the market:
But there is no Open Source filesystem doing this yet AFAIK…
aka how to translate commands between MySQL and PostgreSQL
| MySQL | PostgreSQL |
|---|---|
| show databases; | \dn |
| show tables; | \dt |
| show columns from t1; | \d t1 |
| show indexes fom t1; | \di |
| MySQL | PostgreSQL |
|---|---|
| UNIX_TIMESTAMP() | SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '2001-02-16 20:38:40-08'); |
| FROM_UNIXTIME() | select 1063147331.843::int4::abstime; |
| NOW() | NOW() |
Powered by WordPress