Thursday, December 28, 2017

[google-cloud-sql-discuss] Re: "could not complete the operation" error while requesting an IPv4 address

Hello Guoliang, 

It looks like the instance in the log you have provided is deleted, and we can't find any logs from the backend that are relevant. However, we have an ongoing bug that looks related to this and our internal team is working on the fix. You can track Public Issue Tracker for any updates we have. 


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/dfab5e07-9b8c-4d36-a99d-43721143af60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wednesday, December 27, 2017

[google-cloud-sql-discuss] Re: "could not complete the operation" error while requesting an IPv4 address

Hello Guoliang, 

I have created an Public Issue Tracker for you to check on the updates and resolution. We are experiencing a higher-than-normal volume in the Issue Tracker at the moment, and so our response time was slightly delayed. Thank you for your patience as we get to each issue.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/ee088552-459d-4187-a8e5-9d0252bacd7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: Cloud SQL Failover Replica Unavailable

Hello Arcadie, if you are able to delete the failed replica and create a new one, that would be a good way to resolve your immediate issue. If you are unable to do so or are still experiencing issues with your Cloud SQL instances that require access you do not have, you should create a private issue on our Issue Tracker and provide the relevant project number and instance names along with the description of your issue.

On Wednesday, December 27, 2017 at 12:23:53 PM UTC-5, Arcadie Condrat wrote:
Hello,

We have a master + failover replica cluster which worked fine until the failover suddenly rendered unavailable. There is the following trace in the logs:

2017-12-27T15:40:12.603534Z 2 [ERROR] Error reading packet from server for channel '': Lost connection to MySQL server during query (server_errno=2013)
2017-12-27T15:40:12.603580Z 2 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.006549' at position 29800383 for channel ''
2017-12-27T15:40:14.003316Z 1 [ERROR] Slave SQL for channel '': Could not execute Update_rows event on table carts; Can't find record in 'carts', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin.006505, end_log_pos 22807607, Error_code: 1032
2017-12-27T15:40:14.003350Z 1 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.006505' position 22806296


We can't stop/start slave as this requires super privilege. Did anyone see something like this before? What are the options for trying to restore a failed replication in Cloud SQL?

Is it safe to delete the existing failover instance and create a new one?

Your help is appreciated!

Thanks,
Arcadie Condrat

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/13b86163-a16a-4bde-bcc8-9550cd0943da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Cloud SQL Failover Replica Unavailable

Hello,

We are running a master + failover replica cluster. Our failover instance rendered unavailable with the following log trace:

2017-12-27T15:40:12.603534Z 2 [ERROR] Error reading packet from server for channel '': Lost connection to MySQL server during query (server_errno=2013)
2017-12-27T15:40:12.603580Z 2 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.006549' at position 29800383 for channel ''
2017-12-27T15:40:14.003316Z 1 [ERROR] Slave SQL for channel '': Could not execute Update_rows event on table carts; Can't find record in 'carts', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin.006505, end_log_pos 22807607, Error_code: 1032
2017-12-27T15:40:14.003350Z 1 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.006505' position 22806296

It's in a state where we can not restart or delete it (and can't create another failover replica), as per attached screenshot. What are the options for restoring the failed replication?

Any help is appreciated!

Thanks,
Arcadie Condrat

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/95f52bb3-9a30-43b1-80fe-3349bcc6bbf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Cloud SQL Failover Replica Unavailable

Hello,

We have a master + failover replica cluster which worked fine until the failover suddenly rendered unavailable. There is the following trace in the logs:

2017-12-27T15:40:12.603534Z 2 [ERROR] Error reading packet from server for channel '': Lost connection to MySQL server during query (server_errno=2013)
2017-12-27T15:40:12.603580Z 2 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.006549' at position 29800383 for channel ''
2017-12-27T15:40:14.003316Z 1 [ERROR] Slave SQL for channel '': Could not execute Update_rows event on table carts; Can't find record in 'carts', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin.006505, end_log_pos 22807607, Error_code: 1032
2017-12-27T15:40:14.003350Z 1 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.006505' position 22806296


We can't stop/start slave as this requires super privilege. Did anyone see something like this before? What are the options for trying to restore a failed replication in Cloud SQL?

Is it safe to delete the existing failover instance and create a new one?

Your help is appreciated!

Thanks,
Arcadie Condrat

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/b1a144a8-a365-4903-8002-3a7a44d24171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: Cloud SQL PostgreSQL instance not possible to edit

Paavalan, 

The issue with your instance's operation should be resolved now. Please check and let me know. 


On Monday, December 25, 2017 at 12:04:33 PM UTC-5, Fady (Google Cloud Platform) wrote:

Hello Paavalan,


If your CloudSQL instance is still under maintenance, please privately send me your project ID for further inspection.



On Sunday, December 24, 2017 at 2:08:28 PM UTC-5, Paavalan Babu wrote:

I was just trying to edit my Google Cloud SQL instances from cloud console. But all the options are disabled. datebase under maintenance mode from 21st of this month

And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.restart) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.

please help me to solve this issue

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/e52231de-bebf-4675-a02a-1508e19f2dfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: "could not complete the operation" error while requesting an IPv4 address

Hi,

It's been two weeks without any resolution.  I can't afford to keep paying for the instance and not being able to conduct and any work.  I have cloned a new instance, which works properly.  

Can you please let me know what option I have to get a more prompt update in the future?

Thanks,

Bill

On Wednesday, December 20, 2017 at 7:12:41 AM UTC-8, nau...@google.com wrote:
Hello Bill 

I have followed up with the engineering team and will post an update once have any information. 

Thank you for the patience. 

On Wednesday, December 20, 2017 at 6:47:16 AM UTC-5, Guoliang Qian wrote:
Hi Karthick,

Wonder if there is any update on this issue.  I am still not able to assign an IP to the instance.

Thanks,

Bill

On Friday, December 15, 2017 at 3:13:29 PM UTC-5, Guoliang Qian wrote:
information has been sent privately.

On Friday, December 15, 2017 at 2:48:51 PM UTC-5, Karthick (Cloud Platform Support) wrote:
Hello,

Can you please share your project number and the affected instance name along with the output of "gcloud --verbosity=debug sql instances patch INSTANCE NAME --assign-ip" , in a private message ?

This way I can take it to engineering team and troubleshoot further.


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/ae576d8c-fa37-46d5-a5bd-16b8e8b6dda6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Monday, December 25, 2017

[google-cloud-sql-discuss] Re: PostgreSQL, Postgis, ST_GeomFromGeoJSON and JSON-C

Same issue, I am under migration :(

Le vendredi 19 mai 2017 19:33:20 UTC+2, Samuel ROZE a écrit :
I've being trying to use Google Cloud SQL PostgreSQL with Postgis. After experiencing the "missing uuid-ossp extension issue", I've been trying to use the "ST_GeomFromGeoJSON" function:

```
INSERT INTO "locations" ("id","datetime","travelIdentifier","point","accuracy","altitude","altitudeAccuracy","heading","speed","segment") VALUES (DEFAULT,'2017-05-19 17:17:33.022 +00:00','93d4bc6e-ea3e-46db-95e4-4f5ee450070a',ST_GeomFromGeoJSON('{"type":"Point","coordinates":[-122.31259857,37.49677685]}'),5,0,-1,297.42,32.73,7) RETURNING *;

ERROR:  You need JSON-C for ST_GeomFromGeoJSON
```

Based on Postgis' documentation, JSON-C is a required dependency and I understood from various Search queries that it is why I would have this issue. Any idea how, if possible, can we get Postgres with JSON-C ?

Thank you very much,
Samuel.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/085e9ca8-c60c-4d0c-8270-fd5ab6326926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: Google Cloud SQL PostgreSQL instances not possible to edit


I am monitoring the other thread for the same question. We may continue the discussion there.

On Sunday, December 24, 2017 at 2:08:28 PM UTC-5, Paavalan Babu wrote:
I was just trying to edit my Google Cloud SQL instances from cloud console. But all the options are disabled. datebase under maintenance mode from 21st of this month
And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.restart) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.
please help me to solve this issue

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/f65e0f40-9a03-41e3-8410-20b2ab94c4ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: Cloud SQL PostgreSQL instance not possible to edit

Hello Pavalan,


If your CloudSQL instance is still under maintenance, please privately send me your project ID for further inspection.



On Sunday, December 24, 2017 at 2:08:28 PM UTC-5, Paavalan Babu wrote:

I was just trying to edit my Google Cloud SQL instances from cloud console. But all the options are disabled. datebase under maintenance mode from 21st of this month

And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.restart) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.

please help me to solve this issue

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/b6924dc4-20f6-4ce0-9127-186ec59a03df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sunday, December 24, 2017

[google-cloud-sql-discuss] Google Cloud SQL PostgreSQL instances not possible to edit

I was just trying to edit my Google Cloud SQL instances from cloud console. But all the options are disabled. datebase under maintenance mode from 21st of this month
And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.restart) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.
please help me to solve this issue

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/884f5372-9521-4769-bfe7-88956515b14c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Cloud SQL PostgreSQL instance not possible to edit

I was just trying to edit my Google Cloud SQL instances from cloud console. But all the options are disabled. datebase under maintenance mode from 21st of this month

And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.restart) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.

please help me to solve this issue

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/5ca0a8fa-06ad-429d-b3e6-2d483f1de8d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thursday, December 21, 2017

[google-cloud-sql-discuss] Re: Cloud SQL instances are not starting or restarting. It's stuck

@Adam
Facing the same issue instance got stuck while updating.Since last 7 days its being updated and still not able to do any operations like edit,restart or delete.

Thanks in advance.

On Friday, 10 March 2017 22:04:21 UTC+5:30, Shaharia Azam wrote:

I was just trying to restart my Google Cloud SQL instances from command line. But it got stuck since 2 hours. I don't know why.

And from gcloud console I can't do any operation for my Cloud SQL instances. It's saying ERROR: (gcloud.sql.instances.patch) HTTPError 409: The instance or operation is not in an appropriate state to handle the request.

So is there anything I can perform a fresh restart? Even I couldn't get in touch with any technical support channel rather than here.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/c49eacd1-f70d-4c31-9c04-9fc4d587ddb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wednesday, December 20, 2017

Re: [google-cloud-sql-discuss] Re: CloudSQL size

Thanks Emil, I appreciate the feedback.

On Tuesday, December 19, 2017 at 1:24:11 PM UTC-5, Emil Gustafsson wrote:
Also to clarify; I'm not even sure there is a problem. As part of monitoring the instance there are a number of logs that are generated that will consume some disk space even if you do not use your instance. Since this is a new instance (it looks like from the screen shot), the disk usage would increase for the first week and then stabilize as logs are rotated.
/E

On Tuesday, December 19, 2017 at 9:22:48 AM UTC-8, Emil Gustafsson wrote:
I believe that your problem might be different but I would need some more information to be sure. And the drop in storage usage is most likely (as you suspect) because logs got rotated. I'll contact you separately to get the additional data.
/E

On Monday, December 18, 2017 at 7:22:13 AM UTC-8, Mpp Loop wrote:
Emil,

I'm having a similar issue where I have a brand new CloudSQL database instance with 150GB SSD storage + failover replica. Spun it up about 2 weeks ago and have been delayed on working on it after some initial testing. But there has been no active applications writing to the database so it's effectively empty.

Yet the current storage usage is 1.382 GB. Auto storage increase is enabled, as is the "highly available" configuration. One thing I did notice is the storage was higher than that but dropped back down. Would this be logs turnover in action? Am I likely experiencing a similar issue to Giuliano?

If you (or anyone) could point me in the right direction I'd truly appreciate it. Want to make sure my settings aren't going to unnecessarily have my storage explode over time during actual usage.

Thank you,

-Mike







On Thursday, September 7, 2017 at 5:18:10 PM UTC-4, Emil Gustafsson wrote:
I've helped Giuliano separately in a private thread. The trigger was enabling the general query log and when that setting was later turned off the log collector picked up on this change and stopped monitoring the file also causing log rotation stop. Meanwhile the database did not pick up on this change until restarted and meanwhile filled the log file ultimately causing a lot of extra disk space being used. We are working on fixing this.
/E

On Wednesday, September 6, 2017 at 12:05:18 PM UTC-7, Shivam(Google Cloud Support) wrote:
This could be related to innodb_file_per_table flag set to off. InnoDB never shrinks its default tablespace. Based on this doc, the only way is to create a new instance from the smaller database, or change the value of the innodb_file_per_table flag to ON. For information about changing Cloud SQL flags, see Configuring Cloud SQL Flags.


On Tuesday, September 5, 2017 at 2:57:44 PM UTC-4, Giuliano Ribeiro wrote:
Yes, for sure.
I'm talking about Storage Usage:


And here you can see the estimate size of my 2 schemas:


It is so weird, because is just a few tables, and today in the morning I have turned off the backups(and deleted the old ones), restarted the DB and nothing happens about the size. 
As you can see in the graph I had only a few gigas down, because I truncate a temporary table with 4gb of size.

Thank you,



On Tuesday, September 5, 2017 at 7:45:43 PM UTC+1, Vadim Berezniker wrote:
Can you post a screenshot of which property of the instance you are referring to? 
Are you referring to the data size as shown by the storage chart or the instance disk size?
The first should reflect the size of the actual data on disk whereas the second could be larger since it is the maximum capacity.

One common source of unexpected disk growth is from MySQL temporary tables, though if this is the case the actual storage should go down after the query is done (though the total disk will not go down since it can only grow).

On Tue, Sep 5, 2017 at 11:38 AM, Giuliano Ribeiro <giuliano...@ilegra.com> wrote:
I've been doing this manually, as the DB is gain size it's stopping to work, so I need to increase the size manually.


On Tuesday, September 5, 2017 at 6:35:12 PM UTC+1, Giuliano Ribeiro wrote:
No, the "Automatic storage increase" is not enable.

On Tuesday, September 5, 2017 at 6:30:18 PM UTC+1, Shivam(Google Cloud Support) wrote:

So "Automatic storage increase" was enabled? As discussed, size of Cloud SQL 2nd gen instance cannot be decreased. Even if you are cleaning up your DB everyday, size increased once cannot be decreased.



On Tuesday, September 5, 2017 at 8:02:15 AM UTC-4, Giuliano Ribeiro wrote:
Hi Shivam, I even delete all my backup and turned off this feature.
The DB right now have 31mb in one schema and 890mb in another, but CloudSQL dashboard is showing me up 146GB.
Do you have any idea about it?

Thank you,


On Monday, September 4, 2017 at 6:26:43 PM UTC+1, Shivam(Google Cloud Support) wrote:

Do you have 'Automatic storage increase' option enable for your Cloud SQL instance? This setting calculates a threshold based on the current instance size and adds additional storage capacity automatically to the instance. This makes sure that your instance continues to serve as your database is growing.


Do you know if your database size ever reached a value closer to 146 GB? In this case, Automatic storage increase' option has added this additional capacity to the instance. There is currently a feature request in place to allow decreasing the size of Cloud SQL 2nd gen instance as it cannot be decreased currently. I recommend to star the feature request to receive any future updates.


On Monday, September 4, 2017 at 8:06:11 AM UTC-4, Giuliano Ribeiro wrote:
Hello all, 
I have a database on the 2nd gen which is only a temporary db, I continuously receive data, process them with procedures and then clean up all data. 
In the end of the day, my DB have no more then 30Mb.
But the weird is the DB grown up in size, right now it is 146Gb, but if I do a export or get the table sizes, it takes only 30mb.
I tried to delete the backups and restart the DB, but no size reduce. The binary option is disabled as well.
Do you know how CloudSQL count the DB size?

Thank you.,

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/404205dc-f4d6-4336-81f3-5a3567d0a3af%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/52ea18ba-cb74-4b96-8390-8674070592be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: "could not complete the operation" error while requesting an IPv4 address

Hello Bill 

I have followed up with the engineering team and will post an update once have any information. 

Thank you for the patience. 

On Wednesday, December 20, 2017 at 6:47:16 AM UTC-5, Guoliang Qian wrote:
Hi Karthick,

Wonder if there is any update on this issue.  I am still not able to assign an IP to the instance.

Thanks,

Bill

On Friday, December 15, 2017 at 3:13:29 PM UTC-5, Guoliang Qian wrote:
information has been sent privately.

On Friday, December 15, 2017 at 2:48:51 PM UTC-5, Karthick (Cloud Platform Support) wrote:
Hello,

Can you please share your project number and the affected instance name along with the output of "gcloud --verbosity=debug sql instances patch INSTANCE NAME --assign-ip" , in a private message ?

This way I can take it to engineering team and troubleshoot further.


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/32393074-c72e-43fb-9e21-130f65c56bcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: "could not complete the operation" error while requesting an IPv4 address

Hi Karthick,

Wonder if there is any update on this issue.  I am still not able to assign an IP to the instance.

Thanks,

Bill

On Friday, December 15, 2017 at 3:13:29 PM UTC-5, Guoliang Qian wrote:
information has been sent privately.

On Friday, December 15, 2017 at 2:48:51 PM UTC-5, Karthick (Cloud Platform Support) wrote:
Hello,

Can you please share your project number and the affected instance name along with the output of "gcloud --verbosity=debug sql instances patch INSTANCE NAME --assign-ip" , in a private message ?

This way I can take it to engineering team and troubleshoot further.


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/7fc37c84-e69c-4981-928d-319efde54fa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tuesday, December 19, 2017

Re: [google-cloud-sql-discuss] Re: CloudSQL size

Also to clarify; I'm not even sure there is a problem. As part of monitoring the instance there are a number of logs that are generated that will consume some disk space even if you do not use your instance. Since this is a new instance (it looks like from the screen shot), the disk usage would increase for the first week and then stabilize as logs are rotated.
/E

On Tuesday, December 19, 2017 at 9:22:48 AM UTC-8, Emil Gustafsson wrote:
I believe that your problem might be different but I would need some more information to be sure. And the drop in storage usage is most likely (as you suspect) because logs got rotated. I'll contact you separately to get the additional data.
/E

On Monday, December 18, 2017 at 7:22:13 AM UTC-8, Mpp Loop wrote:
Emil,

I'm having a similar issue where I have a brand new CloudSQL database instance with 150GB SSD storage + failover replica. Spun it up about 2 weeks ago and have been delayed on working on it after some initial testing. But there has been no active applications writing to the database so it's effectively empty.

Yet the current storage usage is 1.382 GB. Auto storage increase is enabled, as is the "highly available" configuration. One thing I did notice is the storage was higher than that but dropped back down. Would this be logs turnover in action? Am I likely experiencing a similar issue to Giuliano?

If you (or anyone) could point me in the right direction I'd truly appreciate it. Want to make sure my settings aren't going to unnecessarily have my storage explode over time during actual usage.

Thank you,

-Mike







On Thursday, September 7, 2017 at 5:18:10 PM UTC-4, Emil Gustafsson wrote:
I've helped Giuliano separately in a private thread. The trigger was enabling the general query log and when that setting was later turned off the log collector picked up on this change and stopped monitoring the file also causing log rotation stop. Meanwhile the database did not pick up on this change until restarted and meanwhile filled the log file ultimately causing a lot of extra disk space being used. We are working on fixing this.
/E

On Wednesday, September 6, 2017 at 12:05:18 PM UTC-7, Shivam(Google Cloud Support) wrote:
This could be related to innodb_file_per_table flag set to off. InnoDB never shrinks its default tablespace. Based on this doc, the only way is to create a new instance from the smaller database, or change the value of the innodb_file_per_table flag to ON. For information about changing Cloud SQL flags, see Configuring Cloud SQL Flags.


On Tuesday, September 5, 2017 at 2:57:44 PM UTC-4, Giuliano Ribeiro wrote:
Yes, for sure.
I'm talking about Storage Usage:


And here you can see the estimate size of my 2 schemas:


It is so weird, because is just a few tables, and today in the morning I have turned off the backups(and deleted the old ones), restarted the DB and nothing happens about the size. 
As you can see in the graph I had only a few gigas down, because I truncate a temporary table with 4gb of size.

Thank you,



On Tuesday, September 5, 2017 at 7:45:43 PM UTC+1, Vadim Berezniker wrote:
Can you post a screenshot of which property of the instance you are referring to? 
Are you referring to the data size as shown by the storage chart or the instance disk size?
The first should reflect the size of the actual data on disk whereas the second could be larger since it is the maximum capacity.

One common source of unexpected disk growth is from MySQL temporary tables, though if this is the case the actual storage should go down after the query is done (though the total disk will not go down since it can only grow).

On Tue, Sep 5, 2017 at 11:38 AM, Giuliano Ribeiro <giuliano...@ilegra.com> wrote:
I've been doing this manually, as the DB is gain size it's stopping to work, so I need to increase the size manually.


On Tuesday, September 5, 2017 at 6:35:12 PM UTC+1, Giuliano Ribeiro wrote:
No, the "Automatic storage increase" is not enable.

On Tuesday, September 5, 2017 at 6:30:18 PM UTC+1, Shivam(Google Cloud Support) wrote:

So "Automatic storage increase" was enabled? As discussed, size of Cloud SQL 2nd gen instance cannot be decreased. Even if you are cleaning up your DB everyday, size increased once cannot be decreased.



On Tuesday, September 5, 2017 at 8:02:15 AM UTC-4, Giuliano Ribeiro wrote:
Hi Shivam, I even delete all my backup and turned off this feature.
The DB right now have 31mb in one schema and 890mb in another, but CloudSQL dashboard is showing me up 146GB.
Do you have any idea about it?

Thank you,


On Monday, September 4, 2017 at 6:26:43 PM UTC+1, Shivam(Google Cloud Support) wrote:

Do you have 'Automatic storage increase' option enable for your Cloud SQL instance? This setting calculates a threshold based on the current instance size and adds additional storage capacity automatically to the instance. This makes sure that your instance continues to serve as your database is growing.


Do you know if your database size ever reached a value closer to 146 GB? In this case, Automatic storage increase' option has added this additional capacity to the instance. There is currently a feature request in place to allow decreasing the size of Cloud SQL 2nd gen instance as it cannot be decreased currently. I recommend to star the feature request to receive any future updates.


On Monday, September 4, 2017 at 8:06:11 AM UTC-4, Giuliano Ribeiro wrote:
Hello all, 
I have a database on the 2nd gen which is only a temporary db, I continuously receive data, process them with procedures and then clean up all data. 
In the end of the day, my DB have no more then 30Mb.
But the weird is the DB grown up in size, right now it is 146Gb, but if I do a export or get the table sizes, it takes only 30mb.
I tried to delete the backups and restart the DB, but no size reduce. The binary option is disabled as well.
Do you know how CloudSQL count the DB size?

Thank you.,

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/404205dc-f4d6-4336-81f3-5a3567d0a3af%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/edd7aa69-4703-4078-972d-967a1a6b1db4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: [google-cloud-sql-discuss] Re: CloudSQL size

I believe that your problem might be different but I would need some more information to be sure. And the drop in storage usage is most likely (as you suspect) because logs got rotated. I'll contact you separately to get the additional data.
/E

On Monday, December 18, 2017 at 7:22:13 AM UTC-8, Mpp Loop wrote:
Emil,

I'm having a similar issue where I have a brand new CloudSQL database instance with 150GB SSD storage + failover replica. Spun it up about 2 weeks ago and have been delayed on working on it after some initial testing. But there has been no active applications writing to the database so it's effectively empty.

Yet the current storage usage is 1.382 GB. Auto storage increase is enabled, as is the "highly available" configuration. One thing I did notice is the storage was higher than that but dropped back down. Would this be logs turnover in action? Am I likely experiencing a similar issue to Giuliano?

If you (or anyone) could point me in the right direction I'd truly appreciate it. Want to make sure my settings aren't going to unnecessarily have my storage explode over time during actual usage.

Thank you,

-Mike







On Thursday, September 7, 2017 at 5:18:10 PM UTC-4, Emil Gustafsson wrote:
I've helped Giuliano separately in a private thread. The trigger was enabling the general query log and when that setting was later turned off the log collector picked up on this change and stopped monitoring the file also causing log rotation stop. Meanwhile the database did not pick up on this change until restarted and meanwhile filled the log file ultimately causing a lot of extra disk space being used. We are working on fixing this.
/E

On Wednesday, September 6, 2017 at 12:05:18 PM UTC-7, Shivam(Google Cloud Support) wrote:
This could be related to innodb_file_per_table flag set to off. InnoDB never shrinks its default tablespace. Based on this doc, the only way is to create a new instance from the smaller database, or change the value of the innodb_file_per_table flag to ON. For information about changing Cloud SQL flags, see Configuring Cloud SQL Flags.


On Tuesday, September 5, 2017 at 2:57:44 PM UTC-4, Giuliano Ribeiro wrote:
Yes, for sure.
I'm talking about Storage Usage:


And here you can see the estimate size of my 2 schemas:


It is so weird, because is just a few tables, and today in the morning I have turned off the backups(and deleted the old ones), restarted the DB and nothing happens about the size. 
As you can see in the graph I had only a few gigas down, because I truncate a temporary table with 4gb of size.

Thank you,



On Tuesday, September 5, 2017 at 7:45:43 PM UTC+1, Vadim Berezniker wrote:
Can you post a screenshot of which property of the instance you are referring to? 
Are you referring to the data size as shown by the storage chart or the instance disk size?
The first should reflect the size of the actual data on disk whereas the second could be larger since it is the maximum capacity.

One common source of unexpected disk growth is from MySQL temporary tables, though if this is the case the actual storage should go down after the query is done (though the total disk will not go down since it can only grow).

On Tue, Sep 5, 2017 at 11:38 AM, Giuliano Ribeiro <giuliano...@ilegra.com> wrote:
I've been doing this manually, as the DB is gain size it's stopping to work, so I need to increase the size manually.


On Tuesday, September 5, 2017 at 6:35:12 PM UTC+1, Giuliano Ribeiro wrote:
No, the "Automatic storage increase" is not enable.

On Tuesday, September 5, 2017 at 6:30:18 PM UTC+1, Shivam(Google Cloud Support) wrote:

So "Automatic storage increase" was enabled? As discussed, size of Cloud SQL 2nd gen instance cannot be decreased. Even if you are cleaning up your DB everyday, size increased once cannot be decreased.



On Tuesday, September 5, 2017 at 8:02:15 AM UTC-4, Giuliano Ribeiro wrote:
Hi Shivam, I even delete all my backup and turned off this feature.
The DB right now have 31mb in one schema and 890mb in another, but CloudSQL dashboard is showing me up 146GB.
Do you have any idea about it?

Thank you,


On Monday, September 4, 2017 at 6:26:43 PM UTC+1, Shivam(Google Cloud Support) wrote:

Do you have 'Automatic storage increase' option enable for your Cloud SQL instance? This setting calculates a threshold based on the current instance size and adds additional storage capacity automatically to the instance. This makes sure that your instance continues to serve as your database is growing.


Do you know if your database size ever reached a value closer to 146 GB? In this case, Automatic storage increase' option has added this additional capacity to the instance. There is currently a feature request in place to allow decreasing the size of Cloud SQL 2nd gen instance as it cannot be decreased currently. I recommend to star the feature request to receive any future updates.


On Monday, September 4, 2017 at 8:06:11 AM UTC-4, Giuliano Ribeiro wrote:
Hello all, 
I have a database on the 2nd gen which is only a temporary db, I continuously receive data, process them with procedures and then clean up all data. 
In the end of the day, my DB have no more then 30Mb.
But the weird is the DB grown up in size, right now it is 146Gb, but if I do a export or get the table sizes, it takes only 30mb.
I tried to delete the backups and restart the DB, but no size reduce. The binary option is disabled as well.
Do you know how CloudSQL count the DB size?

Thank you.,

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/404205dc-f4d6-4336-81f3-5a3567d0a3af%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/0930e853-8c3a-4020-a862-e2c14156e89f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Monday, December 18, 2017

[google-cloud-sql-discuss] Re: Unable to connect to postgres Cloud SQL instance from app engine

Connections to your Cloud SQL instance from your App Engine application could be timing out due to a number of reasons. It is recommended to ensure that your App Engine application is properly authenticated, and that you are not running into any of the connection limits

You are allowed a maximum of 100 concurrent connections to your PostgreSQL instance, and 12 concurrent connections from each App Engine instance. If your instance has hit its limit, App Engine will timeout if it attempts to make a new connection. It is recommended to reuse your open connections with a connection pool, and share them between App Engine requests. 

- Note that Google Groups is for general product discussions and is not for technical support. If you require further support connecting to your Cloud SQL instance it is recommended to ask your full detailed questions on Stack Overflow using the supported Cloud tags. 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/4916b92a-dba2-4559-9a3a-422d911f0196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[google-cloud-sql-discuss] Re: not able to Cloud SQL for postgres through app engine

I see you have created a duplicate discussion. All further communications will occur in your duplicate discussion

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/0d47ec64-2688-4bc3-a6de-9c45d6424a8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sunday, December 17, 2017

Re: [google-cloud-sql-discuss] Re: CloudSQL size

Emil,

I'm having a similar issue where I have a brand new CloudSQL database instance with 150GB SSD storage + failover replica. Spun it up about 2 weeks ago and have been delayed on working on it after some initial testing. But there has been no active applications writing to the database so it's effectively empty.

Yet the current storage usage is 1.382 GB. Auto storage increase is enabled, as is the "highly available" configuration. One thing I did notice is the storage was higher than that but dropped back down. Would this be logs turnover in action? Am I likely experiencing a similar issue to Giuliano?

If you (or anyone) could point me in the right direction I'd truly appreciate it. Want to make sure my settings aren't going to unnecessarily have my storage explode over time during actual usage.

Thank you,

-Mike







On Thursday, September 7, 2017 at 5:18:10 PM UTC-4, Emil Gustafsson wrote:
I've helped Giuliano separately in a private thread. The trigger was enabling the general query log and when that setting was later turned off the log collector picked up on this change and stopped monitoring the file also causing log rotation stop. Meanwhile the database did not pick up on this change until restarted and meanwhile filled the log file ultimately causing a lot of extra disk space being used. We are working on fixing this.
/E

On Wednesday, September 6, 2017 at 12:05:18 PM UTC-7, Shivam(Google Cloud Support) wrote:
This could be related to innodb_file_per_table flag set to off. InnoDB never shrinks its default tablespace. Based on this doc, the only way is to create a new instance from the smaller database, or change the value of the innodb_file_per_table flag to ON. For information about changing Cloud SQL flags, see Configuring Cloud SQL Flags.


On Tuesday, September 5, 2017 at 2:57:44 PM UTC-4, Giuliano Ribeiro wrote:
Yes, for sure.
I'm talking about Storage Usage:


And here you can see the estimate size of my 2 schemas:


It is so weird, because is just a few tables, and today in the morning I have turned off the backups(and deleted the old ones), restarted the DB and nothing happens about the size. 
As you can see in the graph I had only a few gigas down, because I truncate a temporary table with 4gb of size.

Thank you,



On Tuesday, September 5, 2017 at 7:45:43 PM UTC+1, Vadim Berezniker wrote:
Can you post a screenshot of which property of the instance you are referring to? 
Are you referring to the data size as shown by the storage chart or the instance disk size?
The first should reflect the size of the actual data on disk whereas the second could be larger since it is the maximum capacity.

One common source of unexpected disk growth is from MySQL temporary tables, though if this is the case the actual storage should go down after the query is done (though the total disk will not go down since it can only grow).

On Tue, Sep 5, 2017 at 11:38 AM, Giuliano Ribeiro <giuliano...@ilegra.com> wrote:
I've been doing this manually, as the DB is gain size it's stopping to work, so I need to increase the size manually.


On Tuesday, September 5, 2017 at 6:35:12 PM UTC+1, Giuliano Ribeiro wrote:
No, the "Automatic storage increase" is not enable.

On Tuesday, September 5, 2017 at 6:30:18 PM UTC+1, Shivam(Google Cloud Support) wrote:

So "Automatic storage increase" was enabled? As discussed, size of Cloud SQL 2nd gen instance cannot be decreased. Even if you are cleaning up your DB everyday, size increased once cannot be decreased.



On Tuesday, September 5, 2017 at 8:02:15 AM UTC-4, Giuliano Ribeiro wrote:
Hi Shivam, I even delete all my backup and turned off this feature.
The DB right now have 31mb in one schema and 890mb in another, but CloudSQL dashboard is showing me up 146GB.
Do you have any idea about it?

Thank you,


On Monday, September 4, 2017 at 6:26:43 PM UTC+1, Shivam(Google Cloud Support) wrote:

Do you have 'Automatic storage increase' option enable for your Cloud SQL instance? This setting calculates a threshold based on the current instance size and adds additional storage capacity automatically to the instance. This makes sure that your instance continues to serve as your database is growing.


Do you know if your database size ever reached a value closer to 146 GB? In this case, Automatic storage increase' option has added this additional capacity to the instance. There is currently a feature request in place to allow decreasing the size of Cloud SQL 2nd gen instance as it cannot be decreased currently. I recommend to star the feature request to receive any future updates.


On Monday, September 4, 2017 at 8:06:11 AM UTC-4, Giuliano Ribeiro wrote:
Hello all, 
I have a database on the 2nd gen which is only a temporary db, I continuously receive data, process them with procedures and then clean up all data. 
In the end of the day, my DB have no more then 30Mb.
But the weird is the DB grown up in size, right now it is 146Gb, but if I do a export or get the table sizes, it takes only 30mb.
I tried to delete the backups and restart the DB, but no size reduce. The binary option is disabled as well.
Do you know how CloudSQL count the DB size?

Thank you.,

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/404205dc-f4d6-4336-81f3-5a3567d0a3af%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/055fd18b-93da-49db-b13f-20ee2256bad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.