Skip to main content
Question

Has anyone tried to write to an In-Memory table such as a PostGIS temporary table?

  • October 18, 2019
  • 2 replies
  • 108 views

Has anyone tried to write to an In-Memory table such as a PostGIS temporary table?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+55
  • Safer
  • October 18, 2019

For what it's worth, I've tried this in a SQLExecutor transformer before, like...

1FME_SQL_DELIMITER ;
2DROP TABLE imark_temp_table;
3CREATE TEMPORARY TABLE imark_temp_table (a varchar(100),b varchar(100));
4INSERT INTO imark_temp_table (a,b) values ('xxxx','yyyy');
5SELECT COUNT(*) AS FeatureCount FROM imark_temp_table;

But it only exists during that SQLExecutor. If I tack another SQLExecutor on afterwards and repeat the SELECT COUNT(*) command, it tells me imark_temp_table doesn't exist.

So I guess it works, but I'd say the uses are fairly limited.


  • Author
  • October 28, 2019

I gathered that postgresql temporary tables are created in the buffer. So, I wonder whether the use of temporary tables can help speed up the process.

 

Any clue?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings