In my query im using for loop. Each and every time when for loop is executed, at the end some values has to be inserted into table. This is time consuming because for loop has m
If you show how the variables are calculated it could be possible to build something like this:
insert into datas.tb select calculate_j_here, calculate_predicted_node_here from generate_series(1, 10000)